Using Serial ports on Linux

Using serial ports from Linux is easy and robust. Serial ports also work in WINE. PuTTY has GUI configuration for serial ports. Minicom and screen give command line access to serial port links.

On Linux, add the user to the “dialout” group for non-root access to serial ports (one-time)

adduser $(whoami) dialout

Then logout and login.

List hardware serial ports (motherboard or PCI card):

apt install setserial

setserial -g /dev/ttyS* | grep -v unknown

List the USB-serial adapter ports:

ls /dev/ttyUSB*