Bug 20400

Summary: Button map not applied on devices with evdev driver
Product: xorg Reporter: Nick Schermer <nick>
Component: Input/evdevAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED WORKSFORME QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: remi
Version: 7.3 (2007.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Nick Schermer 2009-03-01 02:49:36 UTC
In the Xfce bugzilla I got a bug report [1] that the left/right and invert scrolling options were not working anymore. At first I though the generated buttonmap was wrong, but that was not the problem. It seems the evdev driver does not pick up the new buttonmap, also when I try to change it with the xinput utility, while the synaptics driver works fine. Code can be found here [2] some more info can be found in the Xfce bug too.

To be honest I'm not use this is an evdev problem, but it looks like it.

xf86-input-evdev 2.1.2-1
xorg-server 1.5.3-4
libxi 1.1.4-2

[1] http://bugzilla.xfce.org/show_bug.cgi?id=5004
[2] http://svn.xfce.org/svn/xfce/xfce4-settings/trunk/xfce4-settings-helper/pointers.c
Comment 1 Nick Schermer 2009-03-04 03:42:20 UTC
After updating to xorg-server 1.6.0, evdev 2.1.3 and libxi 1.2.1, this works again.
I have no idea if this is some conflict between a new evdev driver and a 1.5.x xorg-server that is worth fixing, so I'll leave the bug open.
Comment 2 Peter Hutterer 2009-05-19 02:47:17 UTC
button mapping is handled in the server, not in the driver so it's doubtful that this is an evdev problem.

from the xfce bugreport:
xinput set-button-map 'Logitech USB-PS/2 Optical Mouse' 1 2 3 4 5 6 7 8 9 10 11
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 10

10 is mapped twice and this isn't allowed. I fixed that for 1.6.

The button mapping is chained in 1.6, so if you map both the virtual core pointer and the slave device you're double-mapping to the same (3 mapped to 1 mapped to 3). IIRC, 1.5 had a different core/XI interaction and no chained button mappings.
Comment 3 Peter Hutterer 2009-07-08 23:46:27 UTC
closing as WORKSFORME, please reopen if this bug reoccurs.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.