| Posted: 01:43pm 13 Dec 2024 |
|
|
|
Jim: it is interesting that ttyS0 showed up as removable, i am guessing this is bacause of running in a VM. did you do anything special to make the COM1: serial visible to the VM?
John: if the machine has no serial present, then there should be no output. although, some machines do seem to have a single serial port present 'on the motherboard', even if it is not accessible to the outside world.
Volhout: i've never tried with a live distro [... 2 hours later] just tried it and got entirely confusing results! you're using an Dell Optiplex 3020? does it have any serial ports on the motherboard and/or is there a DB9 on the back of the machine? is this enabled in the BIOS?
it is the ttySxx ports that i am particularly interested in, which in theory should be fixed (non-USB) serial ports. here is the output from my own computer as an example:
user@user-DH61BE:~/shared/Serial Watcher, console, revised$ ./ports 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) ttyACM0 is a removable device ttyUSB0 is a removable device ttyUSB1 is a removable device
>>> Linux user-DH61BE 6.8.0-50-generic user@user-DH61BE:~/shared/Serial Watcher, console, revised$
cheers, rob :-) |