2024-09-18 08:35 AM
So a bit off-topic, but arose in the context of STM32 Nucleo boards:
"Virtual COM Port" is a Windows-centric term - referring to the COMx: device names that Windows assigns to Async Serial interfaces.
Linux doesn't have COMx: devices - instead, it has /dev/ttyXXX
I know nothing about Mac.
So what do Linux people call a "Virtual COM Port" ?
Do they just say "Virtual COM Port" - ignoring the Windows connotation, and knowing that it really means a /dev/tty device?
Or do they have another recognised name for the concept?
2024-09-18 08:47 AM
/dev/ttyACM, /dev/ttyUSB ... and so on. On Mac OS: /dev/tty.usb... something like this.
On Windows the COMx names are deprecated. Serial port devices are recognized by having specific interface class ID. TL;DR there is API that lists all devices of this class and returns the "file name" to open.
2024-09-18 08:50 AM
I think it's called Virtual Serial Port.
2024-09-18 09:04 AM
Yes, but when speaking about it, what word(s) do they use?
The ST documentation uses "Virtual COM Port" pretty much exclusively, I think - so Windows-centric:
But what would a die-hard Linux person write there?
2024-09-18 10:17 AM - edited 2024-09-18 10:19 AM
Not a die-hard, I mostly describe using /dev/tty , but CDC or ACM is also quite common
ACM is a generic USB class driver for a modem, so ttyACMx
CDC is USB communications device class
As Pavel points out ttyUSBx also high up there in what will enumerate
Depends on the specific equipment and how it presents itself, seen GPS/GNSS USB G-Mouse/Mice com up as ttyACM and ttyUSB
2024-09-18 03:14 PM
Not so much interested in what the Linux system itself names them.
The question is what do Linux people say in place of "Virtual COM Port" when they are writing descriptive text - as in the ST manuals example?