(revised) test for linux serial ports


Author Message
tgerbic
Senior Member

Joined: 25/07/2019
Location: United States
Posts: 119
Posted: 06:31am 07 Jan 2025      

Thought I would do one other test and attached three USB to serial adapters to my Fedora 40 system and see what it showed.

 ttyUSB1
* ttyS4
* ttyS0
 ttyUSB2
* ttyS5
 ttyUSB0
(3 fixed devices)

What I have is a motherboard with one real serial port (ttyS0), a two serial port PCIE card (ttyS4 and ttyS5) and three USB to serial converters.


I also tried the older ports utility and got this:

test for revised serial port finder method, 13-dec-2024
ttyS0 is type 16550A UART    /sys/bus/serial-base/drivers/port    (/type)
ttyS4 is type 16550A UART    /sys/bus/serial-base/drivers/port    (/type)
ttyS5 is type 16550A UART    /sys/bus/serial-base/drivers/port    (/type)
ttyUSB1 is a removable device
ttyUSB0 is a removable device
ttyUSB2 is a removable device

>>> Linux orac 6.12.7-100.fc40.x86_64

I like the organized layout on the older ports utility better.