Mailinglist Archive: opensuse (3434 mails)
| < Previous | Next > |
Re: [opensuse] Installing additional serial ports
- From: ka1ifq <ka1ifq@xxxxxxxxxxxxx>
- Date: Fri, 1 Feb 2008 19:03:17 -0500
- Message-id: <200802011903.17904.ka1ifq@xxxxxxxxxxxxx>
On Friday 01 February 2008 01:12:31 pm Stan Goodman wrote:
It's been a while since I did this, but here goes.
Is this modem for incomming or outgoing calls, it may make a differance on how
to configure it.
There is some info in /etc/inittab, and I think setserial is used to set port
parameters, but most of it should be able to be defined on the line in
inittab.
Hope this helps some, Mike
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
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
It's been a while since I did this, but here goes.
Is this modem for incomming or outgoing calls, it may make a differance on how
to configure it.
There is some info in /etc/inittab, and I think setserial is used to set port
parameters, but most of it should be able to be defined on the line in
inittab.
Hope this helps some, Mike
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |