Re: xserver-xfree86 acceleration & wheeling problem - Bug?
On Sun, Jun 05, 2005 at 12:22:26AM -0400, Justin Lott wrote:
> Thanks for your response Javier :)
>
> Here is what xev was giving me for a single scroll-click movement of
> the mouse wheel:
>
> ------------------------------------------------------------------------
> -------------
> ButtonPress event, serial 27, synthetic NO, window 0x1600001,
> root 0x60, subw 0x0, time 2719290, (89,109), root:(1057,132),
> state 0x10, button 5, same_screen YES
>
> ButtonRelease event, serial 27, synthetic NO, window 0x1600001,
> root 0x60, subw 0x0, time 2719290, (89,109), root:(1057,132),
> state 0x1010, button 5, same_screen YES
>
> ButtonPress event, serial 27, synthetic NO, window 0x1600001,
> root 0x60, subw 0x0, time 2719290, (89,109), root:(1057,132),
> state 0x10, button 5, same_screen YES
>
> ButtonRelease event, serial 27, synthetic NO, window 0x1600001,
> root 0x60, subw 0x0, time 2719290, (89,109), root:(1057,132),
> state 0x1010, button 5, same_screen YES
> ------------------------------------------------------------------------
> -------------
>
> Apparently, d-i put two entries for my mouse in /etc/X11/
> XF86Config-4. Every event was getting sent twice. Ill be filing an
> install report and beating myself about the head repeatedly. :-)
I believe sometime around 2.6.8 the kernel changed the mouse system so
that all mouse events are sent to /dev/input/mice, including ps2 mice,
which they didn't before. As a result any install that was done using
the old concept, would have a /dev/psaux for ps2 mise and a
/dev/input/mice for usb mice entry in X config. Now it should only have
/dev/input/mice and all mouse events from all mice will go through that.
People with a usb mouse only never noticed the change, but people with
ps2 mice all of a sudden got both the psaux and the input/mice event for
every even their mouse made.
Debian certainly used to add both psaux and input/mice to the X config,
and should no longer do so at least if you use a 2.6 kernel.
Len Sorensen
Reply to: