Results 1 to 5 of 5

Thread: StarTech PCI2S550 (2-port Serial Card Setup Using setserial Not Working

  1. #1

    Question StarTech PCI2S550 (2-port Serial Card Setup Using setserial Not Working

    All:

    Doing more with my openSuse since went to 15.1 and needed a couple of serial/RS232 ports. Need to attach one of my TRS-80 Model 100 portables. What I got is a StarTech PCI2S550 two (2) port serial card. It's noted as Linux compatible and the manual on CD does have setserial instructions as follows:

    To discover port information:

    lspci -v

    The output:
    ...
    02:01.0 Serial controller: MosChip Semiconductor Technology Ltd. PCI 9835 Multi-I/O Controller (rev 01) (prog-if 02 [16550])
    Subsystem: LSI Logic / Symbios Logic 2S (16C550 UART)
    Flags: medium devsel, IRQ 16
    I/O ports at ce00 [size=8]
    I/O ports at cd00 [size=8]
    I/O ports at cc00 [size=8]
    I/O ports at cb00 [size=8]
    I/O ports at ca00 [size=8]
    I/O ports at c900 [size=16]
    Kernel driver in use: serial
    Kernel modules: parport_serial

    Per instructions and examples in the manual, since /dev/ttyS(0-1) are internal/motherboard, use /dev/tyS(2-...) with the following commands:

    setserial /dev/ttyS2 port ce00 UART 16550A irq 16 Baud_base 115200
    setserial /dev/ttyS3 port cd00 UART 16550A irq 16 Baud_base 115200


    I can successfully use/setup either, but not the both. When I attempt to setserial the second port I get a resource is busy error. I have searched the web for more about this setup. StarTech has nothing, not even an updated manual. I have learned a little about setserial using set_multiport and get_multiport, but I have yet to figure out how to use it all to configure this board.

    Would someone be able to explain just what it is I must do please? Or, if there is a better way under openSuse that I should use that StarTech is otherwise aware of?

    Thanks in advance,

    Greg Swallow <><

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,284
    Blog Entries
    1

    Default Re: StarTech PCI2S550 (2-port Serial Card Setup Using setserial Not Working

    Can you show the output of the following?
    Code:
    sudo setserial -g /dev/ttyS*
    openSUSE Leap 15.0; KDE Plasma 5

  3. #3

    Default Re: StarTech PCI2S550 (2-port Serial Card Setup Using setserial Not Working

    Quote Originally Posted by deano_ferrari View Post
    Can you show the output of the following?
    Code:
    sudo setserial -g /dev/ttyS*
    Here's the output:

    /dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
    /dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
    /dev/ttyS10, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS11, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS12, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS13, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS14, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS15, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS16, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS17, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS18, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS19, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
    /dev/ttyS20, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS21, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS22, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS23, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS24, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS25, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS26, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS27, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS28, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS29, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
    /dev/ttyS30, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS31, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS4, UART: 16550A, Port: 0xce00, IRQ: 16
    /dev/ttyS5, UART: 16550A, Port: 0xcd00, IRQ: 16

    /dev/ttyS6, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS7, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS8, UART: unknown, Port: 0x0000, IRQ: 0
    /dev/ttyS9, UART: unknown, Port: 0x0000, IRQ: 0

    Looks like the new RS232 card is configured as /dev/ttyS(4-5).
    Last edited by gsswallow; 05-Jul-2019 at 17:22. Reason: speelling correction

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,284
    Blog Entries
    1

    Default Re: StarTech PCI2S550 (2-port Serial Card Setup Using setserial Not Working

    Quote Originally Posted by gsswallow View Post
    Looks like the new RS232 card is configured as /dev/ttyS(4-5).
    Yes, so any luck configuring those?
    openSUSE Leap 15.0; KDE Plasma 5

  5. #5

    Default Re: StarTech PCI2S550 (2-port Serial Card Setup Using setserial Not Working

    setserial /dev/ttyS2 port ce00 UART 16550A irq 16 Baud_base 115200
    setserial /dev/ttyS3 port cd00 UART 16550A irq 16 Baud_base 115200
    Try this one:

    Code:
    setserial /dev/ttyS2 port ce00 UART 16550A irq 5 Baud_base 115200
    setserial /dev/ttyS3 port cd00 UART 16550A irq 7 Baud_base 115200
    Another "free" IRQ: 10.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •