setserial doesn't do what you think. It changes the IRQ that the /dev/ttyS*
entry looks to for a device. It does not change the IRQ of the physical
device in the system. So the modem is still on IRQ4, and now /dev/ttyS2
points to the wrong IRQ.

You are probably right in thinking that the problem is an IRQ conflict
between the mouse and the modem. I bet that under Windows, the OS moved the
modem to a different IRQ somehow.

Under Linus, you need to do whatever is necessary to move the modem itself
to IRQ5. How to do this depends on the modem ... maybe jumpers, maybe a
config program, maybe isapnp, maybe BIOS PnP. Then change the /dev/ttyS2
setting with setserial. To change it automatically, add the setserial line
(and the isapnp line, if you do the hardware part that way) to a suitable
init script -- Linux distributions vary a lot in their init-file setup, and
since you don't say here what distribution you are using, I can't tell you a
plausible candidate for running this line.

Alternately, you could move the mouse to /dev/ttyS1 and disable /dev/ttyS0
on the motherboard (or via jumper or whatever is appropriate to your hardware).

At 02:06 AM 6/27/00 +0400, Sergey Yepifanov wrote:
>Hello,
>
>I failed to explain myself clearly in the previous message, this time
>I will try to give more detailed information...
>
>My ISA modem is set on /dev/ttyS2 and uses IRQ 4 by default, so does
>the mouse /dev/ttyS0. That is the reason (I think) why my modem works
>terribly slowly (it takes it more than 30 seconds to respond to ATZ
>command. When I try to change mouse's IRQ by 'setserial /dev/ttyS0
>irq 5' it says 'device is busy'. When I use 'setserial /dev/ttyS2
>irq 5' it goes pretty well and setserial shows that irq is changed.
>But when I reboot Linux my ttyS2 is again set on IRQ 4. I couldn't
>find configuration files which tell Linux to set IRQ 4 for /dev/ttyS2
>:( Please, tell me what these configuration files are. Any other
>information would be also appreciated. Thanks for your comments in
>advance!


--
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to