O'Reilly logo

GNU/Linux Rapid Embedded Programming by Rodolfo Giometti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required