From: bjones@cambria.columbus.oh.us (Bill Jones) Subject: Serial port problems Date: Fri, 2 Oct 1992 09:41:44 GMT
I am running 0.97.6 with gcc2.2.2d7, jump tables 4.1, and x11v2.0. I am
trying to run two modems simultaneously -- one on COM2 IRQ3 (/dev/ttys1) and
one on COM3 IRQ5 (/dev/ttys2). The modem on /dev/ttys1 is a Cardinal
9600bps internal and the one on /dev/ttys2 is a Boca 14.4kbps internal
fax/modem.
The modification I made to /usr/src/linux/kernel/chrdrv/serial.c was
changing
struct struct_ISR COM3_ISR = { 4, 0x3e8, UART_ISR_proc, 0, };
to
struct struct_ISR COM3_ISR = { 5, 0x3e8, UART_ISR_proc, 0, };
Compilation went fine.
However, the modem using IRQ5 will not go on-hook reliably. I am running
Taylor UUCP 1.03 (I think, maybe its 1.04) and after a hard reboot, I can
call out and the UUCP session will run fine. Then the session ends and
uugetty tries to put a getty on the port and I see in the getty log file
EXPECT: ([nothing])
SEND: (^M+++[delay]ATH0^M) -- OK
EXPECT: <30> (OK^M^J), GOT:
[timed out after 30 seconds]
SEND: (^M+++[delay]ATH0^M) -- OK
EXPECT: <30> (OK^M^J), GOT:
[timed out after 30 seconds]
Modem initialization failed -- aborting
so the modem is not recognizing the on-hook command. This same behavior
also happens under minicom. Roughly half the time the modem will behave
properly -- ususally the first one or two times I use it and then for no
discernable reason it will fail to go on-hook after a session.
This is the second modem for which this has happened so I am not inclined to
think it is a modem problem. The modem on /dev/ttys1 does not have these
problems and has been working reliably for 6 weeks under a number of versions
of the kernel. Any suggestions?
Thanks
Bill
-- ============================================================================ Bill Jones bjones@cambria.columbus.oh.us ============================================================================