[3870] in linux-net channel archive
Re: Serial Port IRQ woes
daemon@ATHENA.MIT.EDU (tony@trishul.sci.gu.edu.au)
Fri Jul 26 11:49:03 1996
Date: Fri, 26 Jul 1996 17:12:42 +1000
To: lists@bagel.gen.nz, submit-linux-dev-net@ratatosk.yggdrasil.com
Cc: davidgo@kcbbs.gen.nz
From: tony@trishul.sci.gu.edu.au
David (davidgo@kcbbs.gen.nz) wrote:
> To: submit-linux-dev-net@ratatosk.yggdrasil.com
> Subject: Serial Port IRQ woes
> Sender: owner-linux-net@vger.rutgers.edu
> I don't know if this is in the right area - if not, sorry.
Seems to be an appropriate area...
> I need to get 2 modems working on 1 linux box. (I am using 1.2.13 currently).
> I also need my mouse.
>
> I have a P100 with built in Com ports, and 1 internal modem.
> Mouse - /dev/cua0 = IRQ 4
> Modem 1 = External = /dev/cua1 = IRQ 3
> Modem 2 = Internal = /dev/cua3 = IRQ ?3
>
> The problem is getting the internal modem recognized on IRQ 5 or 7 - I have
> edited rc.serial, and changed the jumpers on the modem, but Linux refuses to
> talk to the modem on anything other then IRQ 3 (though I did not try as
> the mouse needs it).
>
> The modem is a US Robotics 33k6 internal (only fbeing used at 28k8)
>
> Any ideas to get Linux to recognize the modem ??
Well, I have an internal Sportster 14.4k modem on /dev/cua2 (com3) and
irq 5 and it's working quite well. In my /etc/rc.d/rc.serial script
I have the following:
#!/bin/sh
# /etc/rc.d/rc.serial
# Called from /etc/rc.d/rc.S
#
SETSERIAL="/bin/setserial"
${SETSERIAL} -q /dev/cua2 uart 16550A port 0x3E8 irq 5
cd /dev
PORTS=`echo cua? cua??`
${SETSERIAL} -bg ${PORTS}
It does the trick to correctly initialise my modem.
Hope this helps.
Cheers
Tony