Re: Problem report: 2.6.12-rc4 ps2 keyboard being misdetected as /dev/input/mouse0
From: Pavel Machek
Date: Wed May 18 2005 - 06:22:28 EST
Hi!
> > >>I just updated to 2.6.12-rc4 and now /dev/input/mouse0 seems to be my ps2
> > >>keyboard.
> > >>
> > >Please use /dev/input/mice for accessing your mouse.
> > >
> >
> > One possibly interesting mouse issue in 2.6.12-rc[1..4] is that when
> > using /dev/psaux, I have found that my mouse cursor under GPM seems to
> > be triggered into un-hiding when I issue some random number of
> > non-hiding key-down events. That is, press and release the keyboard
> > shift key say 3 or 5 or 10 times, and the console mouse cursor will
> > appear, just as if the mouse had been moved. This bug is not in 2.6.11
> > (nor Alan's 2.6.11-ac7, fwiw).
> >
>
> This is caused by atkbd's scrolling support + GPM not expecting to see a
> 0-motion packets from devices... I'd say we need to fix GPM not to set
> GPM_MOVE in these cases; I have looked into adjusting mousedev but it is
> too ugly for words to suppress them there.
>
> Although... maybe the patch below is not too ugly.
Looks pretty much okay to me...
Pavel
-
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/