My system already had one serial port, ttyS0 which is working.
I've installed a Dynamode 2-port serial card and the kernel sees the two ports. This provides two ports is:
PCI Spec Revision 2 compliant Compatible with 16C550 UART
and says that it supports Linux.
However, I can't use them. I've tried using both minicom and faxxaddmodem (I'm setting up a Hylafax modem bank).
Can anyone suggest what I need to do please.
[root@stan2 ~]# dmesg|grep tty [ 0.000000] console [tty0] enabled [ 0.690683] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.711711] 00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.712208] 0000:00:09.0: ttyS1 at I/O 0xec00 (irq = 17) is a XScale [ 0.712602] 0000:00:09.0: ttyS2 at I/O 0xe880 (irq = 17) is a XScale [root@stan2 ~]# lspci|grep -i serial 00:09.0 Serial controller: Device 4348:3253 (rev 10) [root@stan2 ~]# setserial /dev/ttyS1 /dev/ttyS1, UART: undefined, Port: 0xec00, IRQ: 17 [root@stan2 ~]# ll /dev/ttyS* crw-------. 1 uucp dialout 4, 64 Oct 31 14:33 /dev/ttyS0 crw-rw----. 1 root dialout 4, 65 Oct 31 14:34 /dev/ttyS1 crw-rw----. 1 root dialout 4, 66 Oct 31 14:34 /dev/ttyS2 crw-rw----. 1 root dialout 4, 67 Oct 31 2012 /dev/ttyS3 [root@stan2 ~]#
On Wed, 31 Oct 2012 14:45:21 +0000 Gary Stainburn gary.stainburn@ringways.co.uk wrote:
My system already had one serial port, ttyS0 which is working.
I've installed a Dynamode 2-port serial card and the kernel sees the two ports. This provides two ports is:
PCI Spec Revision 2 compliant Compatible with 16C550 UART
and says that it supports Linux.
However, I can't use them. I've tried using both minicom and faxxaddmodem (I'm setting up a Hylafax modem bank).
Can anyone suggest what I need to do please.
Explain what actually happened when you tried it. Also check the cables and the like are right (I'm guessing you've tried the same modem/cable on ttyS0 ?).
[root@stan2 ~]# dmesg|grep tty [ 0.000000] console [tty0] enabled [ 0.690683] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.711711] 00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.712208] 0000:00:09.0: ttyS1 at I/O 0xec00 (irq = 17) is a XScale [ 0.712602] 0000:00:09.0: ttyS2 at I/O 0xe880 (irq = 17) is a XScale
Thats an odd type detect. We did have a few problems with that in some kernels. Using setserial to force the type to 16550A may help
On Wednesday 31 October 2012 15:42:04 Alan Cox wrote:
Explain what actually happened when you tried it. Also check the cables and the like are right (I'm guessing you've tried the same modem/cable on ttyS0 ?).
Basically, nothing happened. The ports were detected during startup but when I tried to use them nothing happened. No response on the ports, no errors anywhere.
[root@stan2 ~]# dmesg|grep tty [ 0.000000] console [tty0] enabled [ 0.690683] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.711711] 00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.712208] 0000:00:09.0: ttyS1 at I/O 0xec00 (irq = 17) is a XScale [ 0.712602] 0000:00:09.0: ttyS2 at I/O 0xe880 (irq = 17) is a XScale
Thats an odd type detect. We did have a few problems with that in some kernels. Using setserial to force the type to 16550A may help
I tried setting the UART but it didn't make any difference.
I had one modem on ttyS0 as a base line test which kept working whatever I did, and had an identical modem swapping between ttyS1/ttyS2 (I didn't know which was which).
The problem turned out to be the cable to the second modem. I've sorted that and now all three ports working. Thanks for you help.
Gary
Now that I've got it working on my testbed server which was F17 I've tried to install it on one of my production servers, running Fedora 14.
Unfortunately, although the ports are detected on startup and look very similar to they did on F17 but when I try to access either of the ports I get errors in /var/log/messages.
The errors start as soon as I start minicom and stop as soon as I exit.
Anyone got any ideas?
Gary
[root@lou ~]# dmesg|grep tty [ 0.000000] console [tty0] enabled [ 1.261319] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.261837] 00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.262197] 0000:04:05.0: ttyS1 at I/O 0xec00 (irq = 17) is a XScale [ 1.262324] 0000:04:05.0: ttyS2 at I/O 0xe880 (irq = 17) is a XScale [ 450.720389] usb 3-2: pl2303 converter now attached to ttyUSB0 [ 570.987338] ttyS1: LSR safety check engaged! [ 573.994557] ttyS1: LSR safety check engaged! [ 598.446366] ttyS1: LSR safety check engaged! [ 599.301149] ttyS1: LSR safety check engaged! [ 599.452151] ttyS1: LSR safety check engaged! [ 599.653154] ttyS1: LSR safety check engaged! [ 599.845144] ttyS1: LSR safety check engaged! [ 600.013189] ttyS1: LSR safety check engaged! [ 600.237152] ttyS1: LSR safety check engaged! [ 600.333148] ttyS1: LSR safety check engaged! [ 600.533156] ttyS1: LSR safety check engaged! [ 600.668141] ttyS1: LSR safety check engaged! [ 600.764141] ttyS1: LSR safety check engaged! [ 600.916140] ttyS1: LSR safety check engaged! [ 601.044150] ttyS1: LSR safety check engaged! [ 601.133126] ttyS1: LSR safety check engaged!