Im trying the check if a machine is connected to a device trough a COM port, i have tried comparing the dmsg output with the device plugged in and the output without the device plugged in, and they are exactly the same, so the output of dmsg never changes, the tty list in the dev directory never changes, no matter if its plugged in or not.How would i know which tty is COM1
I can do this either by python or bash. Any help and suggestions are appreciated thanks