How do I find out what serial port I have on my linux redhat system? *



  • To find out which serial ports are on your linux system run the following command; the one with the code 16550A is the serial port, this system has only one port.

    unixbod:> setserial -g /dev/ttyS*
    
    /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
    /dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
    /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
    /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
    /dev/ttyS4, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS5, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS6, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS7, UART: unknown, Port: 0x0000, IRQ: 0
    

Log in to reply
 

© Lightnetics 2024