Linux – setserial command

10
Oct
0

Serial ports on Linux are named ttyS followed by a number corresponding to the actual DOS COM port. For example

ttyS0 –> COM1
ttyS1 –> COM2
ttyS2 –> COM3
ttyS3 –> …you get the idea

The /dev directory holds information essential to operating these ports. setserial lists and configure the serial port configurations. To list all the serial ports, type

ls /dev/ttys*

setserial -g /dev/ttyS* prints out the configuration information for each serial port

Tagged as: ,
No Comments

No Comments

No comments yet.

Sorry, the comment form is closed at this time.