The serial ports in Linux
Despite all the preceding serial ports' names, in a GNU/Linux system, all these devices are seen in the same manner (actually some differences still remain, but they are special cases), that is, they are all represented by the the devices named /dev/ttyXXX, where the XXX string may vary according to the specific serial port implementations. For instance, the historical (and standard) names of PCs' UARTserial ports are /dev/ttyS0, /dev/ttyS1, but (as seen in the previous chapters) the USB-to-serial adapters can be named as /dev/ttyUSB0, /dev/ttyUSB1 or /dev/ttyACM0, /dev/ttyACM1.
As seen earlier, the tty prefix comes from the very old abbreviation of teletypewriter and was originally associated only with the physical connection ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access