[Bug 54361] New: Winebus doesn't enumerate evdev devices in a --without-sdl build unless SDL also disabled by winebus registry key
https://bugs.winehq.org/show_bug.cgi?id=54361 Bug ID: 54361 Summary: Winebus doesn't enumerate evdev devices in a --without-sdl build unless SDL also disabled by winebus registry key Product: Wine Version: 8.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: j-r(a)online.de Distribution: --- Not sure what info to add. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54361 j-r(a)online.de changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Winebus doesn't enumerate |Winebus doesn't enumerate |evdev devices in a |hid devices (in a |--without-sdl build unless |--without-sdl build) unless |SDL also disabled by |SDL also disabled by |winebus registry key |winebus registry key -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54361 j-r(a)online.de changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |9a78467975100321773d11e0a3e | |2a427498a00cc --- Comment #1 from j-r(a)online.de --- Looking at the history this seems to be a regression of commit 9a78467975100321773d11e0a3e2a427498a00cc Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Mon Aug 23 10:49:36 2021 +0200 winebus.sys: Create the SDL bus thread in main.c. It is missing a ! before sdl_driver_init() -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54361 --- Comment #2 from j-r(a)online.de --- It isn't the conditional, but that commit changes the result of sdl_driver_init in a --without-sdl build to STATUS_SUCCESS, because the - nonfunctional - SDL thread actually starts successfully (signalling init_done): 0084:trace:hid:bus_main_thread L"SDL" main loop starting 0084:warn:hid:sdl_bus_init SDL support not compiled in! 0084:trace:hid:bus_main_thread L"SDL" main loop started 0084:warn:hid:bus_main_thread L"SDL" bus init returned status 0xc0000002 0084:warn:hid:bus_main_thread L"SDL" bus wait returned status 0xc0000002 Before the commit sdl_driver_init just directly returned an error in the --without-sdl case. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54361 --- Comment #3 from j-r(a)online.de --- Created attachment 73966 --> https://bugs.winehq.org/attachment.cgi?id=73966 POC patch to correct the regression This patch fixes the regression and unconditionally initializes udev and iohid when sdl is not present. I suspect main.c is intentionally not sprinkled with #ifdef, so this approach might not be acceptable. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54361 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon(a)codeweavers.com Resolution|--- |FIXED Fixed by SHA1| |31c61075be084b3f12a6d624bdc | |0e7e601345e3a Status|UNCONFIRMED |RESOLVED --- Comment #4 from Rémi Bernon <rbernon(a)codeweavers.com> --- Should be fixed after 31c61075be084b3f12a6d624bdc0e7e601345e3a -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54361 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.0-rc2. -- 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.
participants (1)
-
WineHQ Bugzilla