SPONSORED LINKS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ps/2 mouse under Linux on 760CD



> 
> 
> Several days ago I had posted a message here seeking help on configuring the 
> ps/2 mouse under Linux on my Thinkpad 760CD. When I tried to start X, it would 
> report that the mouse was busy.

This is due to something using up Int 12.

[...]

> Any ideas what could be causing this? I would like the mouse to work with the 
> second hard disk installed in the ultra bay. That way I can boot linux from 
> one disk and win95 from the other disk without having to shuffle the two all 
> the time (I have linux installed on a 720MB hard disk and win95 on the default 
> 1.2G hard disk).
> 
> Thanks.
> 
> -- Hira.
> 

Hi Hira,

I should have responded to this the other day, but thought it might be GPM
so I didn't.

You probably have PCMCIA services turned on.  When you put that second disk
in it chews up an interupt for the secondary ide controller.  That int 
had been used by PCMCIA otherwise.  Now when PCMCIA starts up it starts
searching for another interupt to use from 15 downward.  The first it
finds is 12 (PS2 mouse int) and grabs it.  You can verify this by 'cat'ing
/proc/interrupts and seeing who has 12.

You need to go into the PCMCIA sources and change the interupt scan routines
to search 15->13,11->0,12 instead of 15->0.  It is in modules/i82365.c
around line 400. 

If you aren't using PCMCIA, its probably something similar with some other
autoconfiged interupt using 12, /proc/interrupts will tell you.  You will
have to chase it down.

....Brian

--
_______________________________________________________________________
Brian Mahaffy      Hewlett-Packard | Any sufficiently advanced  
Color & Consumables Division (CCD) | technology, is indistinguishable
N6UGP              (208)396-7857   | from Magic! 
brianm@zeus.boi.hp.com             |                   Arthur C. Clarke
N6UGP@KB7CFD.ID.USA.NA             |
___________________________________|___________________________________
              Ask me about Linux!     The Free Unix for x86 PCs
-----------------------------------------------------------------------
"They, that can give up essential liberty, to obtain a little temporary
 safety, deserve neither liberty nor safety." -- Benjamin Franklin 1759
-----------------------------------------------------------------------