Re: 2.6.11-mm3 mouse oddity

From: Helge Hafting
Date: Thu Mar 17 2005 - 06:56:04 EST


Vojtech Pavlik wrote:

On Wed, Mar 16, 2005 at 10:44:04AM +0100, Helge Hafting wrote:



The logitech cordless keyboard is one. It has two wheels.
The one on the side works generates up-arrow/down arrow when used,
and now also events on /dev/mouse0. The other is a wheel above
the keys, lying on the side. Logitech apparently meant it to be used as
a volume control, which should be possible now that it attaches to
/dev/mouse0.



Can you please check with 'evtest' that both the wheels work correctly?



Not sure what is correct here, but:
evtest /dev/input/event0 produce events for all keys on the keyboard.
Both the normal pc-105 keys, silly extra keys like "favourites", "shopping",
etc., and the wheels. The "volume" wheel generates VolumeUp and
VolumeDown keypresses (and releases.) The other wheels generates
the same events as the up-arrow and down-arrow keys.

evtest on /dev/input/event1 gives me events from the mouse.
mouse0, mouse1 and mouse2 cannot be used with evtest.

Also, there exists an event mouse driver for X which supports both
wheels and allows for vertical and horizontal scrolling in eg. Firefox.


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