LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   correct communication port ?? (https://www.linuxquestions.org/questions/linux-networking-3/correct-communication-port-411055/)

paul_mat 02-02-2006 07:38 PM

correct communication port ??
 
hi there,

i've just added a UPSilon UPS to my RHEL machine, and the software is comming up with this error message on the screen

'UPS adapter no response'

and after looking into it i've discovered that it is because

Serial Port is wrong, or something else is using that serial port.

can someone tell me how to list all my Serial Port's and how to find out what programs are using them?

macemoneta 02-02-2006 08:57 PM

Typically, 'com1' is /dev/ttyS0 and 'com2' is /dev/ttyS1. You can see who is using the serial ports (as root) with:

lsof | grep /dev/ttyS

paul_mat 02-02-2006 09:35 PM

thanks, it turned out i needed to change it from /dev/ttyS1 to /dev/ttyS0


All times are GMT -5. The time now is 09:01 AM.