|
|
|
|
|
|
| Author |
Message |
John-Paul Stewart *nix forums Guru
Joined: 20 Feb 2005
Posts: 497
|
Posted: Tue Jul 18, 2006 2:29 pm Post subject:
Re: Multiport Serial Card in FC5
|
|
|
san wrote:
| Quote: | I have fc5 & 4 port pci serial card.
how do i add & configure these additional 4 port port other than the
default ( Default is ttyS0 & ttyS1). so that i can use total 6 serial
port.
|
I'm assuming these are generic 16550A (or similar) UARTs. It would help
if you could tell us what brand/model of serial card you're using.
You'll need each port's I/O address and IRQ. Use 'lspci -v' to find the
I/O ports and IRQ. (All the ports probably share one IRQ but each will
have its own I/O address.) Here's an example from my system (a Lava
branded multiport card):
00:0b.0 Serial controller: Lava Computer mfg Inc Lava Octo A (prog-if 02
[16550])
Subsystem: Lava Computer mfg Inc Lava Octo A
Flags: slow devsel, IRQ 10
I/O ports at 9400 [size=8]
I/O ports at 9000 [size=8]
I/O ports at 8800 [size=8]
I/O ports at 8400 [size=8]
With the I/O ports and IRQ from your own listing, you can then use
'setserial' to configure the ports. See 'man setserial' for details on
its syntax. One thing to note is that you may need to start at
/dev/ttyS4 and not /dev/ttyS2. (I don't know for sure if it's required,
but that's how my system is setup: S0 and S1 are the on-board ports, S2
and S3 are unused, and S4 and up are on the multi-port card.)
One thing to note is that you might need the "^fourport" flag to
setserial to tell it you're not using an "AST Fourport" card.
Once you get a working configuration, you'll want to ensure that the
appropriate setserial commands are run at boot time. On Debian there is
an /etc/init.d/setserial script that reads /etc/serial.conf for this
purpose. I don't know if that's Debian-specific or if it might be
available on FC5 too.
Also note that there are compile-time kernel options that can affect the
total number of supported serial ports and IRQ sharing. I assume FC5
has these set to sane defaults, but it wouldn't hurt to check the
CONFIG_SERIAL_8250* lines in your /proc/config.gz file. |
|
| Back to top |
|
 |
san *nix forums beginner
Joined: 14 Mar 2005
Posts: 12
|
Posted: Tue Jul 18, 2006 6:58 am Post subject:
Multiport Serial Card in FC5
|
|
|
I have fc5 & 4 port pci serial card.
how do i add & configure these additional 4 port port other than the
default ( Default is ttyS0 & ttyS1). so that i can use total 6 serial
port. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Nov 21, 2008 10:56 pm | All times are GMT
|
|
Mortgages | Stag Weekends | Loans | Nationwide Building Society | Debt Consolidation
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|