mouse scroll not working in 2.6 kernel
From: Peter T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 11/22/05
- Next message: Michael Heiming: "Re: mouse scroll not working in 2.6 kernel"
- Previous message: Dave Uhring: "Re: Windows Network connect"
- Next in thread: Michael Heiming: "Re: mouse scroll not working in 2.6 kernel"
- Reply: Michael Heiming: "Re: mouse scroll not working in 2.6 kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 22 Nov 2005 21:12:46 +0100
Maybe you lot can help me out ... I'm too busy earning potz of dosh to
have time to investigate this, and I know y'all are just bound to
"know" the answer already, so there's no point to my spraining a 'cell,
is there?
;)
Ahem. OK. That wasn't entirely the whole truth.
Nevertheless, I have just noticed that when I reboot my TP X24 laptop
under the 2.6.3 kernel, my external USB mouse scroll button stops moving
pages in mozilla 6.x. It works fine in 2.4.22 (wot I am using now). I
only "noticed" because I never usually reboot - I last rebooted over
six months ago, according to the log.
Any idea if there's some reconfiguration to be done for 2.6? Nothing
obvious occurs to me! Perhaps the 2.6 mouse driver needs changing to
emit events from the higher buttons. No, I haven't rebooted under a
later 2.6 kernel still to check if it's cured.
Under 2.4.22 the driver is
usbmouse 2592 0 (unused)
input 5216 0 [usbmouse hid mousedev]
usb-uhci 25956 0 (unused)
usbcore 71840 1 [usbmouse hid usb-uhci]
(it'll show "unused" when X isn't engaging the extra mouse) And the
relevant bit of XF86Config-4 for "XFree86 Version 4.2.1 Debian 4.2.1-3
20030201050042 root@lab.it.uc3m.es)" is
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "USB Mouse" "SendCoreEvents"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
^^^^^^^^^^^^^^^^^^^^
Option "Buttons" "5"
# This shouldn't hurt..
Option "Emulate3Buttons"
EndSection
(the keyboard PS/2 mouse trackpointer is my main mouse, and that is
using device type IMPS/2 too, with the same config as above, except
pointed at /dev/mouse, plus Option "SendCoreEvents").
I BELIEVE that under 2.6 kernels, the driver is STILL "usbmouse". Now
why has it stopped producing button 4 and 5 events, if it has? Mozilla
IS receiving input from that extra mouse - I can click and move with it
happily. Just no scroll.
My mozilla prefs.js file seems to contain:
user_pref("mousewheel.withaltkey.action", 3);
user_pref("mousewheel.withcontrolkey.action", 2);
user_pref("mousewheel.withnokey.numlines", 2);
user_pref("mousewheel.withnokey.sysnumlines", false);
user_pref("mousewheel.withshiftkey.action", 1);
but then I knew it was musewheel aware! The problem is that there seem
to be no wheel (i.e. button 4/5) events generated under 2.6.
No - no distribution in particular. Debian potato, much hacked.
Peter
- Next message: Michael Heiming: "Re: mouse scroll not working in 2.6 kernel"
- Previous message: Dave Uhring: "Re: Windows Network connect"
- Next in thread: Michael Heiming: "Re: mouse scroll not working in 2.6 kernel"
- Reply: Michael Heiming: "Re: mouse scroll not working in 2.6 kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]