Re: 2.6.5 : problem with MS Intellimouse Explorer buttons when using X

From: Kim Holviala
Date: Sun Apr 11 2004 - 14:19:36 EST


On Saturday 10 April 2004 16:53, Vitez Gabor wrote:

> I recently ugraded from 2.4.23 to 2.6.5. Everything works fine, except for
> my mouse: when I press the buttons on the left side of the mouse, the
> system generates button press/release events for the proper buttons and for
> the buttons on the top of the mouse. The mouse worked well with 2.4.23.

2.4 and 2.6 handle mouse differently; 2.4 has /dev/psaux which is just a
direct channel into the port while 2.6 inteprets all mouse stuff and
regenerates a virtual /dev/psaux.

Try modprobing the even device (modprobe evdev) to get /dev/input/event?. Then
run hexdump -C /dev/input/event1 (or whatever even device represents your
mouse) to see what REALLY happens in the kernel. Don't worry about the first
8 octets, the stuff you want is in the last 8. Might be a good idea to switch
to a console so that extra mouse clicks won't do any strange things.

> Option "Protocol" "ExplorerPS/2"
> # Option "Protocol" "ImPS/2"
> Option "Buttons" "7"
> Option "ZAxisMapping" "6 7"

I use an Explorer at work, don't have the Buttons directive at all and my
ZAxMap is "4 5". That way everything works, but the side buttons are missing.
That's with 2.6.5 and Gentoo.



Kim

-
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/