Re: 2.6.0-test11 ps2 mouse giving corrupt data?

From: Vojtech Pavlik
Date: Fri Dec 12 2003 - 09:16:37 EST


On Fri, Dec 12, 2003 at 12:36:38PM +0000, Andrew Walrond wrote:
> I have just switched from l2.4 to 2.6 on my thinkpad, and the mouse does
> something wierd when I boot into x (kde)
>
> startx, then wait for everything to load, then move mouse. Mouse goes crazy,
> menus pop up everywhere as though I were pressing buttons, and after about 3
> seconds, it all settles down and works perfectly.
>
> So whats causing this? I 've read about the mouse detection stuff in recent
> 2.6 giving incorrect resolutions and stuff, but thats doesn't apply here. Its
> getting a load of bad data.
>
> A buffer_len load of crud is being provided before the real stuff arrives
> perhaps?
>
> Andrew Walrond
>
> PS For 'mouse' read 'Little Red Nipple' which AFAIK is just a ps2 mouse as far
> as linux is concerned. Worked for 2.4 anyway.

Most likely X does something nasty to the keyboard controller while it
is starting up. The psmouse kernel driver has an autosync feature which
can get it out of trouble if you don't move the mouse for two seconds.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/