Created attachment 38893 [details] [review] evdev patch MX Revolution was recognized as 20 button mouse and assigned quick flip button to button 13, 15, 17. But after update evdev to git head, MX Revolution is recognized as 12 button mouse, and quick flip button does not work (other buttons work well). Revert commit 0367e3871f02993b4ce04873d6e40df16fb0a202 partly, problem fixed.
please attach the evtest output for the device. thanks
Created attachment 39543 [details] output of evtest test on linux-2.6.36-rc7
Created attachment 39591 [details] [review] Proposed fix, to be reviewed by Peter Thanks for reporting it, Kouichi. I think this patch should fix it properly, though I didn't test it, not having such a device myself.
pushed as 5e26ba8641809addc63e783e1cefac0f8524b020, thanks.
Kouichi, would it be too much to ask you to dump your mouse HID report descriptor, so that I could account for similar devices later? You could use debugfs or usbhid-dump [1] to dump it. Thanks. [1] http://digimend.sourceforge.net/#proj-usbhid-dump
Here is the HID descriptor of my MX Revolution: $ lsusb [...] Bus 006 Device 002: ID 046d:c525 Logitech, Inc. MX Revolution Cordless Mouse [...] $ ./usbhid-dump 6 2 000:DESCRIPTOR 1287766738.507791 05 01 09 02 A1 01 09 01 A1 00 05 09 19 01 29 10 15 00 25 01 95 10 75 01 81 02 05 01 16 01 80 26 FF 7F 75 10 95 02 09 30 09 31 81 06 15 81 25 7F 75 08 95 01 09 38 81 06 05 0C 0A 38 02 95 01 81 06 C0 C0 001:DESCRIPTOR 1287766738.510823 05 0C 09 01 A1 01 85 03 75 10 95 02 15 01 26 8C 02 19 01 2A 8C 02 81 00 C0 06 00 FF 09 01 A1 01 85 10 75 08 95 06 15 00 26 FF 00 09 01 81 00 09 01 91 00 C0 06 00 FF 09 02 A1 01 85 11 75 08 95 13 15 00 26 FF 00 09 02 81 00 09 02 91 00 C0
My result of usbhid-dump: # lsusb (snip) Bus 001 Device 003: ID 046d:c525 Logitech, Inc. MX Revolution Cordless Mouse # ./usbhid-dump 1 3 000:DESCRIPTOR 1287817670.990976 05 01 09 02 A1 01 09 01 A1 00 05 09 19 01 29 10 15 00 25 01 95 10 75 01 81 02 05 01 16 01 80 26 FF 7F 75 10 95 02 09 30 09 31 81 06 15 81 25 7F 75 08 95 01 09 38 81 06 05 0C 0A 38 02 95 01 81 06 C0 C0 001:DESCRIPTOR 1287817670.991921 05 0C 09 01 A1 01 85 03 75 10 95 02 15 01 26 8C 02 19 01 2A 8C 02 81 00 C0 06 00 FF 09 01 A1 01 85 10 75 08 95 06 15 00 26 FF 00 09 01 81 00 09 01 91 00 C0 06 00 FF 09 02 A1 01 85 11 75 08 95 13 15 00 26 FF 00 09 02 81 00 09 02 91 00 C0 Thanks.
Thank you Max and Kouichi. You don't often see a mouse with two HID interfaces and these are pretty unusual descriptors.
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.