For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > September 2005 > Linux Serial Configuration Program









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Linux Serial Configuration Program
Steven Woody

2005-09-21, 6:59 pm


i got a multi-port serial card (MSC) connected to a mother board via PC/104 ISA
bus. there are eight serial ports on the MSC, but any of them can only be
associated with ttyS2 or ttyS3 (i did not tried ttyS0,1 for they are already
used by the mother board itself). if i associated (via setserial command) any
of them to ttyS4+, a very _long delay_ will be detected on both direction of RX
and TX.

those ports all shared a common irq (not occupied by other devices) but with
different io base address. i doubt there is a kernel configuration problem,
but i just have no a clue.

the version of linux kernel is 2.2.x (yes, it too old, but we used it with
some other brand of multi-port serial boards w/o problem).

any clue? thanks in advance.


--
steven woody (id: narke)

Angelica Bell: What happens to us when we die?
Virginia Woolf: ... We return to the place we came from.
Angelica Bell: I don't remember where I came from.
Virginia Woolf: Neither do I.

- The Hours (2002)
Bill Marcum

2005-09-23, 7:00 pm

["Followup-To:" header set to comp.unix.programmer.]
On Wed, 21 Sep 2005 20:43:56 +0800, Steven Woody
<anti-spam.narkewoody@gmail.com.dont-post-to> wrote:
>
> i got a multi-port serial card (MSC) connected to a mother board via
> PC/104 ISA bus. there are eight serial ports on the MSC, but any of
> them can only be associated with ttyS2 or ttyS3 (i did not tried
> ttyS0,1 for they are already used by the mother board itself). if i
> associated (via setserial command) any of them to ttyS4+, a very _long
> delay_ will be detected on both direction of RX and TX.
>

What brand of multi-port serial card? Some multi-port cards use their
own device names rather than ttyS*. See devices.txt.gz in your kernel
documentation. I don't know about Slackware, but in Debian-based
systems, when you install the kernel-doc package, the docs are in
/usr/share/doc/kernel-doc-(version)/Documentation, or
linux-doc-(version) for newer kernels.


--
Men of quality are not afraid of women for equality.
Steven Woody

2005-09-25, 6:59 pm

Bill Marcum <bmarcum@iglou.com> writes:

> ["Followup-To:" header set to comp.unix.programmer.]
> On Wed, 21 Sep 2005 20:43:56 +0800, Steven Woody
> <anti-spam.narkewoody@gmail.com.dont-post-to> wrote:
> What brand of multi-port serial card? Some multi-port cards use their
> own device names rather than ttyS*. See devices.txt.gz in your kernel
> documentation. I don't know about Slackware, but in Debian-based
> systems, when you install the kernel-doc package, the docs are in
> /usr/share/doc/kernel-doc-(version)/Documentation, or
> linux-doc-(version) for newer kernels.


i am prety sure the device name are ttyS*. thanks anyway.

>
>
> --
> Men of quality are not afraid of women for equality.


--
steven woody (id: narke)

Celine: [Celine's song]
Let me sing you a waltz
Out of nowhere, out of my thoughts
Let me sing you a waltz
About this one night stand
You were, for me, that night
Everything I always dreamt of in life
But now you're gone
You are far gone
All the way to your island of rain
It was for you just a one night thing
But you were much more to me, just so you know
I don't care what they say
I know what you meant for me that day
I just want another try, I just want another night
Even if it doesn't seem quite right
You meant for me much more than anyone I've met before
One single night with you, little Jesse,
is worth a thousand with anybody
I have no bitterness, my sweet
I'll never forget this one night thing
Even tomorrow in other arms, my heart will stay yours until I die
Let me sing you a waltz
Out of nowhere, out of my blues
Let me sing you a waltz
About this lovely one night stand

- Before Sunset (2004)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com