Mailinglist Archive: opensuse (3434 mails)

< Previous Next >
[opensuse] Installing additional serial ports
  • From: Stan Goodman <stan.goodman@xxxxxxxxxxxxx>
  • Date: Fri, 1 Feb 2008 20:12:31 +0200
  • Message-id: <200802012012.31902.stan.goodman@xxxxxxxxxxxxx>
I have a PCI card with two serial ports. Apparently openSuSE recognizes
them, but I need to mount them explicitly. I want them to be mounted at
boot. Of the three ports, I want one to be for a UPS, and another for a
fax modem.

# dmesg | grep tty
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
0000:06:03.0: ttyS1 at I/O 0xb800 (irq = 19) is a ST16650V2
0000:06:03.0: ttyS2 at I/O 0xb400 (irq = 19) is a ST16650V2
#

I wish I could say that I understand the man page on dmesg, but it is my
understanding that the above is information about the presence of
recognized hardware, and that the ports are not configured or
operational. ttyS0 is, of course, the onboard port, and the other two
are those on the PCI card.

# setserial -g /dev/ttyS[01]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16650V2, Port: 0xb800, IRQ: 19
# setserial -g /dev/ttyS[02]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS2, UART: 16650V2, Port: 0xb400, IRQ: 19
#

Again, the man page for setserial is not sufficiently clear for me to
understand how to use this command. For example, man describes what
should happen when the -g switch is omitted; when I run the command
without the switch I am told only "Invalid flag".

What I want is to list these ports in fstab, so that the ports are
available upon boot.

A few hints would be greatly appreciated.

--
Stan Goodman
Qiryat Tiv'on
Israel
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >