[ltp] Scroll wheel on USB mouse

Alastair Burt linux-thinkpad@linux-thinkpad.org
Wed, 18 Aug 2004 15:18:19 +0200


I am now the happy user of a Thinkpad T42p running Gentoo Linux.  In 
general, things work fine, but I am currently stuck on getting full use 
of the USB mouse. I manage to get the touchpad and the USB mouse to work 
at the same time, and a click on the scroll wheel of the USB mouse 
functions as a middle button. However, scrolling the wheel does not seem 
to do anything. No events at all are seen by xev when I rotate the 
wheel. Can anyone help?

-- Alastair

I think this is the relevant part of the X configuration file:

Section "InputDevice"
    # Touchpad
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol"      "Auto"
    Option      "Device"        "/dev/mouse"
    Option      "Emulate3Buttons"

EndSection

Section "InputDevice"
        # USB mouse
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMappig" "4 5"
        Option      "Buttons" "5"
        Option      "Emulate3Buttons"  "no"
EndSection

 From the main log file:

Aug 18 14:17:01 [kernel] usb.c: registered new driver usbmouse
Aug 18 14:17:01 [kernel] input0: USB HIDBP Mouse 04b3:3107 on usb3:3.0
Aug 18 14:17:01 [kernel] usb.c: registered new driver hiddev
Aug 18 14:17:01 [kernel] mice: PS/2 mouse device common for all mice

 From the X log file:

(**) Option "Protocol" "Auto"
(**) Mouse0: Device: "/dev/mouse"
(**) Mouse0: Protocol: "Auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Option "Emulate3Buttons"
(**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse0: Buttons: 3
(**) Option "Protocol" "IMPS/2"
(**) Mouse1: Device: "/dev/input/mice"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "AlwaysCore"
(**) Mouse1: always reports core events
(**) Option "Device" "/dev/input/mice"
(**) Option "Buttons" "5"
(**) Option "Emulate3Buttons" "no"
(**) Mouse1: Buttons: 5
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(--) Mouse0: PnP-detected protocol: "PS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) Mouse1: ps2EnableDataReporting: succeeded