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