https://bugs.winehq.org/show_bug.cgi?id=56195
Bug ID: 56195 Summary: Device name inconsistent casing between GetRawInputDeviceInfo and PnP Product: Wine Version: 9.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: pnpmgr Assignee: wine-bugs@winehq.org Reporter: nick@windblume.net Distribution: ---
Created attachment 75905 --> https://bugs.winehq.org/attachment.cgi?id=75905 Sample application with bug
(Fedora 39, wine 9.0-rc5 from official rpm repo)
This seems to affect hotplug detection in some games, where the program is keying on the device name to manage the joystick/joypad devices.
I have attached a sample application exhibiting the behaviour. To test, have e.g. a DualSense controller attached, then reconnect it. It is then clear that the hash returned initially is upper case, whilst the name in the DEV_BROADCAST_DEVICEINTERFACE struct later is lower case.
On Windows 10, the two strings end up to be the same.
https://bugs.winehq.org/show_bug.cgi?id=56195
--- Comment #1 from Nicholas Tay nick@windblume.net --- Created attachment 75906 --> https://bugs.winehq.org/attachment.cgi?id=75906 Output of sample application between Wine and Windows
Note the part after the hash, and before the GUID.
https://bugs.winehq.org/show_bug.cgi?id=56195
Nicholas Tay nick@windblume.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Distribution|--- |Fedora Component|pnpmgr |win32u Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Nicholas Tay nick@windblume.net --- https://gitlab.winehq.org/wine/wine/-/merge_requests/4861
Merged in, the two seem consistent now, at least for my use case. Resolving as fixed.
https://bugs.winehq.org/show_bug.cgi?id=56195
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4f8939e1d9e8e85cd669d76ba74 | |8ff488fc4b522
https://bugs.winehq.org/show_bug.cgi?id=56195
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.1.
https://bugs.winehq.org/show_bug.cgi?id=56195
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0.x