[Bug 41722] hidtest.exe crashes if Microsoft Natural Ergonomic Keyboard 4000 or Stamps.com Digital Scale is plugged in

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 16 11:48:53 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=41722

--- Comment #8 from Aric Stewart <aric at codeweavers.com> ---
Thanks for those data points.

I have long suspected that windows treats any element with a data size of 1 bit
as a button even if the usage page is not the button usage page.

And this shows that. Plugging the report descriptor from your device into the
report descriptor parser. (http://eleccelerator.com/usbdescreqparser/) I see a
number of 1 bit elements that we report as values, but look like they should be
reported as buttons.

Here is the report descriptor from your log, copied here for ease:

5 8d 9 20 a1 1 9 30 a1 2 85 1 75 8 95 1 15 1 25 c 9 27 a1 2 19 21 29 2a b1 0 c0
9 50 a1 2 19 51 29 5c b1 0 c0 c0 9 31 a1 2 85 2 75 1 95 2 15 0 25 1 19 80 29 81
91 2 75 6 95 1 91 3 c0 9 32 a1 2 85 3 75 8 15 1 9 70 a1 2 25 8 19 71 29 78 81 0
c0 9 50 a1 2 25 c 19 51 29 5c 81 0 c0 15 81 25 7f 9 41 81 2 75 10 15 0 27 ff ff
0 0 9 40 81 2 c0 9 34 a1 2 85 5 75 8 95 1 9 50 a1 2 15 1 25 c 19 51 29 5c b1 0
c0 15 81 25 7f 9 41 b1 2 75 10 15 0 27 ff ff 0 0 9 40 b1 3 c0 9 35 a1 2 85 6 75
10 95 2 15 0 27 ff ff 0 0 9 60 9 61 b1 3 c0 9 3a a1 2 85 6 9 ff 15 0 26 ff 0 75
8 95 7 91 2 c0 c0

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list