On Thu, 6 Dec 2007 16:51:14 -0800 (PST)
David Scriven <davidwriter@yahoo.com> wrote:
> I'm trying to enable a four-port serial card
The magic (for non Xen kernels, anyway) is to add a kernel
boot parameter such as: 8250.nr_uarts=9 (that gets the 1
port on my motherboard + an 8 port card to work).
For Xen the situation is much more complex since the
hypervisor steals serial ports and the serial driver
isn't linked in, but is a loadable module. I never
really figured Xen out...
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
12-07-2007, 06:35 AM
"Tod Merley"
Enabling a four-port serial card
On Dec 6, 2007 4:51 PM, David Scriven <davidwriter@yahoo.com> wrote:
> Dear All,
>
> I'm trying to enable a four-port serial card (you'ld be
> surprised how many pieces of equipment still have
> RS232 interfaces). I'm using Fedora 7 on a quad-core
> Intel Q6600 machine with 4GB of memory.
>
> #/sbin/lspci -vvvx shows the following:
>
> 07:01.0 Serial controller: NetMos Technology PCI 9845 Multi-I/O Controller (rev 01) (prog-if 02 [16550])
> Subsystem: LSI Logic / Symbios Logic 0P4S (4 port 16550A serial card)
> Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> Interrupt: pin A routed to IRQ 21
> Region 0: I/O ports at 1030 [size=8]
> Region 1: I/O ports at 1028 [size=8]
> Region 2: I/O ports at 1020 [size=8]
> Region 3: I/O ports at 1018 [size=8]
> Region 4: I/O ports at 1010 [size=8]
> Region 5: I/O ports at 1000 [size=16]
> 00: 10 97 45 98 03 00 80 02 01 02 00 07 10 20 00 00
> 10: 31 10 00 00 29 10 00 00 21 10 00 00 19 10 00 00
> 20: 11 10 00 00 01 10 00 00 00 00 00 00 00 10 04 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 00 00
>
> when I do a setserial I get this:
>
> # /bin/setserial -avg /dev/ttyS*
> /dev/ttyS0, Line 0, UART: 16550A, Port: 0x1030, IRQ: 21
> Baud_base: 115200, close_delay: 50, divisor: 0
> closing_wait: 3000
> Flags: spd_normal skip_test
>
> /dev/ttyS1, Line 1, UART: undefined, Port: 0x02f8, IRQ: 3
> Baud_base: 921600, close_delay: 50, divisor: 0
> closing_wait: 3000
> Flags: spd_normal skip_test auto_irq
>
> /dev/ttyS2, Line 2, UART: 16550A, Port: 0x1028, IRQ: 21
> Baud_base: 115200, close_delay: 50, divisor: 0
> closing_wait: 3000
> Flags: spd_normal skip_test
>
> /dev/ttyS3, Line 3, UART: 16550A, Port: 0x1020, IRQ: 21
> Baud_base: 115200, close_delay: 50, divisor: 0
> closing_wait: 3000
> Flags: spd_normal skip_test
>
>
> Clearly /dev/ttyS1 is not OK, but I've no idea how to
> set it up so it is OK - I'd be grateful for any help.
>
> Thanks,
> David Scriven
>
>
>
>
> Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php
>
> --
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
Hi David Scriven!
Googling "NetMos Technology PCI 9845 Linux" yeilded many hits.
Following are a few quickly chosen:
>The "9" as the value for 8250.nr_uarts tells the kernel to allocate slots
>for 9 serial ports in its internal tables. The default is only 4. I use
>9 to get the 1 native serial port on my motherboard plus the 8 ports in
>my 8 port card to work.
>(Of course if you are booting the Xen kernel, completely different trickery
>is required).
I fiddled around with this (I tried values of 5, 6, 7 & 8) until I found that this
title Fedora (2.6.23.9-85.fc8)
root (hd0,1)
kernel /vmlinuz-2.6.23.9-85.fc8 ro root=/dev/VolGroup00/LogVol00 quiet 8250.nr_uarts=8
initrd /initrd-2.6.23.9-85.fc8.img
with the four ports correctly assigned, BUT - alas I
can't get the ports to work. A Qt program that works
in Windows does not work in Linux - no communication.
I've tried echoing a command to S4-7 - no luck. Qt
(i.e. QIODevice & qextserialport) reports that the
ports are open when I try to open them, but thats it.
I've no idea what to do next, except to buy a different
serial card that works in both Linux and Windows - perhaps
it's something to do with the combination of motherboard
and serial card?
DS
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list