You are not logged in.
Hi everyone,
I'm currently trying to get evdev with hal working on my thinkpad. I use the emulate wheel feature with the middle mouse button of the trackpoint (button 2) for scrolling. Unfortunately this doesn't work with evdev, so I investigated the cause for this. I found out, that hal indeed contains the correct x11 settings for wheel emulation:
user@host ~ $ lshal | grep EmulateWheelButton
input.x11_options.EmulateWheelButtons = '2' (string)
But if I have a look at the xinput configuration I can see that it tries to use the fourth mouse button (which doesn't exist) for wheel emulation:
user@host ~ $ xinput list-props 4 | grep "Emulation Button"
Evdev Wheel Emulation Button (278): 4
If I look at the /var/Xorg.0.log it clearly states, that button four is used for wheel emulation, so it seems that xinput fails to retrieve the correct value from hal:
(II) config/hal: Adding input device TPPS/2 IBM TrackPoint
(**) TPPS/2 IBM TrackPoint: always reports core events
(**) TPPS/2 IBM TrackPoint: Device: "/dev/input/event9"
(II) TPPS/2 IBM TrackPoint: Found 3 mouse buttons
(II) TPPS/2 IBM TrackPoint: Found x and y relative axes
(II) TPPS/2 IBM TrackPoint: Configuring as mouse
(**) Option "EmulateWheel" "true"
(**) TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
(**) TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)
Calling
xinput set-int-prop 4 "Evdev Wheel Emulation Button" 8 2
fixes the problem temporarily, but I'm wonding why does xinput read the wrong value from hal? Does anyone have any idea about this?
Thanks a lot,
Florian
Offline
Is it because you have an 's' on the name of the option in hal ("Buttons" instead of "Button")? I noticed that the X server names it without the 's'.
Offline