Bug 18596 - xf86-input-evdev 2.0.99.3 and HAL mouse button mapping (and HWheel) problem
Summary: xf86-input-evdev 2.0.99.3 and HAL mouse button mapping (and HWheel) problem
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 07:50 UTC by Matija “hook” Šuklje
Modified: 2008-11-19 14:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (40.11 KB, text/plain)
2008-11-18 07:51 UTC, Matija “hook” Šuklje
no flags Details
xorg.conf (6.40 KB, text/plain)
2008-11-18 07:51 UTC, Matija “hook” Šuklje
no flags Details
'hal-device' output (99.66 KB, text/plain)
2008-11-18 07:51 UTC, Matija “hook” Šuklje
no flags Details
logitech-usb-reciever.fdi (392 bytes, text/plain)
2008-11-18 07:52 UTC, Matija “hook” Šuklje
no flags Details
'evtest' output of the relevant mouse (3.31 KB, text/plain)
2008-11-18 07:53 UTC, Matija “hook” Šuklje
no flags Details

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.