Bug 18596

Summary: xf86-input-evdev 2.0.99.3 and HAL mouse button mapping (and HWheel) problem
Product: xorg Reporter: Matija “hook” Šuklje <matija>
Component: Input/evdevAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: 7.2 (2007.02)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log
none
xorg.conf
none
'hal-device' output
none
logitech-usb-reciever.fdi
none
'evtest' output of the relevant mouse none

Description Matija “hook” Šuklje 2008-11-18 07:50:30 UTC
Steps of reproduction:
1) Have a mouse with more buttons and/or wheels (in my case Logitech NX80 with two extra buttons, a missing middle button and tilting wheel — has VWheel and HWheel functions)
2) Install evdev 2.0.99.3 (a.k.a. 2.1_rc3)
3) Remove mouse settings from 'xorg.conf'
4) Write a HAL .fdi file for the device according to 'man evdev' the example .fdi file, adding the 'input.x11_options.ButtonMapping' according to how the buttons should be mapped (e.g. "1 0 3 4 5 6 7 8 2")
5) Restart HAL
6) Restart X

Results:
* Button mapping is ignored ('xev' reports it as "1 2 3 4 5 <missing> <missing> 8 9")
* Horizontal wheel does not work and is not recognised by 'xev' (although it is detected by 'evtest')

Expected results:
* Button mapping working as is defined in the .fdi file
* Horizontal wheel working
Comment 1 Matija “hook” Šuklje 2008-11-18 07:51:07 UTC
Created attachment 20410 [details]
Xorg.0.log
Comment 2 Matija “hook” Šuklje 2008-11-18 07:51:29 UTC
Created attachment 20411 [details]
xorg.conf
Comment 3 Matija “hook” Šuklje 2008-11-18 07:51:54 UTC
Created attachment 20412 [details]
'hal-device' output
Comment 4 Matija “hook” Šuklje 2008-11-18 07:52:20 UTC
Created attachment 20413 [details]
logitech-usb-reciever.fdi
Comment 5 Matija “hook” Šuklje 2008-11-18 07:53:45 UTC
Created attachment 20414 [details]
'evtest' output of the relevant mouse
Comment 6 Peter Hutterer 2008-11-18 15:52:49 UTC
Same problem as in Bug 18597, you need to remove the AutoAddDevices "off" line. At the moment, all HAL devices are ignored because of that.
Comment 7 Matija “hook” Šuklje 2008-11-19 07:22:55 UTC
Oops, I didn't notice that line and had no idea about it. Sorry...

Thanks for noticing — it works now. :]
Comment 8 Peter Hutterer 2008-11-19 14:43:23 UTC
Just correcting resolution to NOTABUG.

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.