tty console for serial control

need to remind myself about this for resetting battery state monitors on APC SmartUPS’s. This is using the (cheap) blue USB to serial, lsusb shows them as ‘Prolific Technology’

sudo apt-get install minicom

Check if the USB to serial adapter seen:

$ dmesg | grep tty
[1016778.750081] usb 1-3: pl2303 converter now attached to ttyUSB0

So start minicom accordingly:

sudo minicom –device /dev/ttyUSB0