https://bugs.winehq.org/show_bug.cgi?id=57158
Bug ID: 57158 Summary: HID devices not detected after removal until Wine processes restart Product: Wine Version: 9.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: hid Assignee: wine-bugs@winehq.org Reporter: chiitoo@gentoo.org Regression SHA1: 13a44865586f7697bb47bb48664ac0a90590a643 Distribution: Gentoo
After 13a44865586 [1], at least dinput/xinput HID devices are not being re-detected until everything running in the specific Wine prefix has been terminated (winedevice?). Have not tested if Wine preocesses running on other prefixes have an effect as well.
First observed with Final Fantasy XI Online, using a Sony DualShock 2 and 4 gamepads, bisected using a default clean prefix with 'wine control/joy.cpl' (for DualShock 4 hidraw is disabled due to 173ed7e61b5 [2]).
Steps used to re-produce:
- Run 'wine control' and 'Game Controllers' therein. - Select the 'XInput' tab for convenience. - Re-plug the gamepad. - At this point due to no automation for it being used in my set-up, adjust permissions on '/dev/input/event*' which corresponds to the device. - Observe the gamepad not re-appearing in the 'XInput' tab until every process from that prefix is terminated.
It may take a few re-plugs for the issue to show itself; sometimes the devices will appear again, but once they don't, the Wine processes need to be restarted.
Thank you!
1. https://gitlab.winehq.org/wine/wine/-/commit/13a44865586f7697bb47bb48664ac0a... 2. https://gitlab.winehq.org/wine/wine/-/commit/173ed7e61b5b80ccd4d268e80c5c15f...
https://bugs.winehq.org/show_bug.cgi?id=57158
Chiitoo chiitoo@gentoo.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=57158
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware
https://bugs.winehq.org/show_bug.cgi?id=57158
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #1 from Rémi Bernon rbernon@codeweavers.com --- Thanks for the report, I think https://gitlab.winehq.org/wine/wine/-/merge_requests/6486 should fix the problem.
https://bugs.winehq.org/show_bug.cgi?id=57158
--- Comment #2 from Chiitoo chiitoo@gentoo.org --- (In reply to Rémi Bernon from comment #1)
Thanks for the report, I think https://gitlab.winehq.org/wine/wine/-/merge_requests/6486 should fix the problem.
Looking good here so far.
Thank you!
https://bugs.winehq.org/show_bug.cgi?id=57158
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |2aecb17285034ce0b0d16224545 | |d12283e67270f
--- Comment #3 from Rémi Bernon rbernon@codeweavers.com --- Should be fixed with 2aecb17285034ce0b0d16224545d12283e67270f
https://bugs.winehq.org/show_bug.cgi?id=57158
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.18.