Quote:
Originally Posted by bax21
I didn't realize that Kindle had a serial port until I accidentally turned up a reference to it on this forum. I have found pinouts to the port, but no explicit references to it takling to the ouside world. Any links would be greatly appreciated.
|
One good place to stumble on serial port information is here:
https://wiki.mobileread.com/wiki/Hard...ex#Serial_Port
The Kindles run Linux, and a character stream device is just a character stream device.
The hardware's primary serial port (the ones described at above link) begin life during the boot sequence as /dev/console.
During the boot sequence the console device will (usually) be re-assigned.
Do:
cat /proc/cmdline
and you should find a: console= command line option.
That assigned device name is that hardware serial port after the kernel boot up completes.
Just open/read/write/flush/close like any other character device.
Which is why you don't find many references, it is just a bit of "basic" knowledge in how Linux works.