Linux - List Serial Ports

Linux - List Serial Ports

A quick and easy way to list your serial ports is :

HP-8470 > tiago > ~ > dmesg | grep tty
[    0.053907] printk: console [tty0] enabled
[    1.042355] 0000:00:16.3: ttyS4 at I/O 0x4090 (irq = 17, base_baud = 115200) is a 16550A
[96426.870180] usb 3-4: cp210x converter now attached to ttyUSB0

The above output shows that an USB device has been attached and it is on port ttyS4.