This excellent information was lifted from the scantool.net website.
https://www.scantool.net/forum/index.php?topic=4668.0
First of all, serial ports come in at least three different flavours.
- An old fashioned hardware based serial port, typically with a 9-pin connector on the computer
- A USB to Serial Adapter, plugged into a USB Port
- A Bluetooth (built-in or dongle) Serial Port Profile (SPP)
All of these are mapped to COMx names in Windows, where x is one or two digits, i.e. COM1.
In Linux there are separate names for each type: /dev/ttyS0, /dev/ttyUSB0 and /dev/rfcomm0.
As in Windows, the last digit might be different if more than one of each type is provided.
Note that /dev/ttyS0 is an ordinary serial port on your machine. If you use a USB to Serial
Adapter, you should instead use /dev/ttyUSB0. Also note, that the last digit in the Linux
name might be a different number, if you have more than one serial port or more than one
USB to Serial adapter.