niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » hardware
Multiport Serial Card in FC5
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
san
*nix forums beginner


Joined: 14 Mar 2005
Posts: 12

PostPosted: Tue Jul 18, 2006 6:58 am    Post subject: Multiport Serial Card in FC5 Reply with 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.
Back to top
John-Paul Stewart
*nix forums Guru


Joined: 20 Feb 2005
Posts: 497

PostPosted: Tue Jul 18, 2006 2:29 pm    Post subject: Re: Multiport Serial Card in FC5 Reply with quote

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
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Mon Dec 01, 2008 9:48 pm | All times are GMT
navigation Forum index » *nix » Linux » hardware
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts setting serial start value Greg Philpott PostgreSQL 4 Fri Jul 21, 2006 1:32 am
No new posts DLink DFE-530TX network card slower than other computers DC A Debian 2 Wed Jul 19, 2006 7:20 pm
No new posts Increasing videoRam beyond the one in the video card Javier-Elias Vasquez-Viva Debian 1 Wed Jul 19, 2006 6:30 pm
No new posts Wireless Card recommendation Dave Bellows Debian 0 Tue Jul 18, 2006 4:10 pm
No new posts T2000 serial port confusion Chris Ridd Solaris 4 Tue Jul 18, 2006 2:10 pm

Literatura fantastica | Secure Hosting | Free Ringtones | Bollywood Wallpapers | Credit Cards
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
[ Time: 0.4726s ][ Queries: 16 (0.2964s) ][ GZIP on - Debug on ]