https://bugs.winehq.org/show_bug.cgi?id=56450
Bug ID: 56450 Summary: Non-input USB HID devices stopped working in 9.1 Product: Wine Version: 9.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: hid Assignee: wine-bugs@winehq.org Reporter: bugzilla-wine@opinsys.fi Regression SHA1: 814d2c176d23c581353ba5679977415d2218d0c5 Distribution: Debian
Non-input USB HID devices stopped working in 9.1.
Wine 9.0 + LoggerPro 3.16.2 + USB HID thermometer (08f7:0002 Vernier EasyTemp/Go!Temp): LoggerPro detects the device and starts collecting temperature measurements automatically.
Wine 9.1 + LoggerPro 3.16.2 + USB HID thermometer (08f7:0002 Vernier EasyTemp/Go!Temp): LoggerPro does not detect the device.
Host system detects the device and assigns hid-generic driver to it and a hidraw device is created. The device is not an input device and hence input subsystem is not used for this device (event devices are not created).
My understanding is that commit 814d2c176d23c581353ba5679977415d2218d0c5 causes the regression, because it changes the policy to not use hidraw by default and requires devices to be explicitly listed in EnableHidraw bus option to be used by hidraw backend.
Further changes to winebus.sys have been made to allow hidraw to be used in certain scenarios (some gamepads and when evdev and SDL is disabled), but these do not cover the case when non-input HID device is used in default environment.
This bug still exists in 9.4.
I am working on a patch set which fixes the bug. I'll create a merge request.
https://bugs.winehq.org/show_bug.cgi?id=56450
--- Comment #1 from Opinsys Developers bugzilla-wine@opinsys.fi --- Created attachment 76207 --> https://bugs.winehq.org/attachment.cgi?id=76207 Trace of success, Wine 9.0, WINEDEBUG=+timestamp,+hid,+pid,+setupapi,+plugplay,+process
Wine 9.0, USB device plugged in, LoggerPro started. The device is detected and measurements are shown.
https://bugs.winehq.org/show_bug.cgi?id=56450
--- Comment #2 from Opinsys Developers bugzilla-wine@opinsys.fi --- Created attachment 76208 --> https://bugs.winehq.org/attachment.cgi?id=76208 Trace of failure, Wine 9.4, WINEDEBUG=+timestamp,+hid,+pid,+setupapi,+plugplay,+process
Wine 9.4, USB device plugged in, LoggerPro started. The device is not detected.
https://bugs.winehq.org/show_bug.cgi?id=56450
--- Comment #3 from Opinsys Developers bugzilla-wine@opinsys.fi --- Created attachment 76209 --> https://bugs.winehq.org/attachment.cgi?id=76209 lsusb -v of the USB thermometer
https://bugs.winehq.org/show_bug.cgi?id=56450
--- Comment #4 from Opinsys Developers bugzilla-wine@opinsys.fi --- Created attachment 76210 --> https://bugs.winehq.org/attachment.cgi?id=76210 Decoded HID report descriptor of the USB thermometer
https://bugs.winehq.org/show_bug.cgi?id=56450
--- Comment #5 from Opinsys Developers bugzilla-wine@opinsys.fi --- Created a merge request as an attempt to fix the bug: https://gitlab.winehq.org/wine/wine/-/merge_requests/5331/
https://bugs.winehq.org/show_bug.cgi?id=56450
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d48e25083565e78a0553e2ab158 | |907218a139748 Resolution|--- |FIXED CC| |infyquest@gmail.com Status|UNCONFIRMED |RESOLVED
--- Comment #6 from Vijay Kamuju infyquest@gmail.com --- Fix has been commited - https://source.winehq.org/git/wine.git/commit/d48e25083565e78a0553e2ab158907...
Reopen if its still not fixed
https://bugs.winehq.org/show_bug.cgi?id=56450
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.5.