PDA

View Full Version : Serial card not working



juerg
05-31-2004, 03:21 PM
I can't get a serial extension card (EXSYS PCI EX41092) to work. After installation according to the manual using "setserial" I get the "modem busy" answer from KPPP. What am I doing wrong? (kernel is 2.6.5 if that should matter).

Output from more /proc/pci
Bus 1, device 2, function 0:
Serial controller: Oxford Semiconductor Ltd EXSYS EX-41092 Dual 16950 Serial adapter (rev 0).
IRQ 17.
I/O at 0xb000 [0xb01f].
Non-prefetchable 32 bit memory at 0xff8fe000 [0xff8fefff].
I/O at 0xac00 [0xac1f].
Non-prefetchable 32 bit memory at 0xff8fd000 [0xff8fdfff].

root@UTD-Lx1:~# setserial /dev/ttyS2 -a
/dev/ttyS2, Line 2, UART: 16550A, Port: 0xb000, IRQ: 17
Baud_base: 115200, close_delay: 5000, divisor: 0
closing_wait: 37856
Flags: spd_normal skip_test

root@UTD-Lx1:~# setserial /dev/ttyS3 -a
/dev/ttyS3, Line 3, UART: 16550A, Port: 0xac00, IRQ: 17
Baud_base: 115200, close_delay: 5000, divisor: 0
closing_wait: 37856
Flags: spd_normal


root@UTD-Lx1:~# ls -al /dev/ttyS?
crw-rw-rw- 1 root dialout 4, 64 2004-05-09 15:47 /dev/ttyS0
crw-rw-rw- 1 root dialout 4, 65 2004-05-09 15:47 /dev/ttyS1
crw-rw-rw- 1 root dialout 4, 66 2001-04-15 02:44 /dev/ttyS2
crw-rw-rw- 1 root dialout 4, 67 2001-04-15 02:44 /dev/ttyS3
crw-rw-rw- 1 root dialout 4, 68 2003-01-11 21:06 /dev/ttyS4
crw-rw-rw- 1 root dialout 4, 69 2003-01-11 21:06 /dev/ttyS5
crw-rw-rw- 1 root dialout 4, 70 2003-01-11 21:06 /dev/ttyS6
crw-rw-rw- 1 root dialout 4, 71 2003-01-11 21:06 /dev/ttyS7


When I try to install a modem at ttyS3 or ttyS2 with KPPP, I got the message "modem busy" and the following 3 lines in the console:
Opener: received OpenLock
Opener: received OpenDevice
Opener: received RemoveLock

ttyS0 (the built in port) is working properly. Just the two serial ports on the extension card are "dead". When I write to the port, nothing arrives there. mgetty says that the modem is busy. What can I do to get this card working?
Thank's for all help!

borkner
01-11-2005, 10:00 PM
go here:

http://www.ussg.iu.edu/hypermail/linux/kernel/0303.1/0516.html

this page helped me to get this card to work...

I used kernel 2.6.8 (SuSE9.2).

You have to change the file:

/usr/src/linux/include/linux/pci_ids.h

like mentioned

and file:

/usr/src/linux/drivers/serial/8250_pci.c

instead of the mentioned

/usr/src/linux/drivers/char/serial.c


Hope you succeed, :D


Wolfgang Borkner, Munich