https://bugs.winehq.org/show_bug.cgi?id=47013
Bug ID: 47013 Summary: winebus.sys: hidraw_set_feature_report buffer too small for some devices in SteelSeries Engine Product: Wine Version: 4.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winebus.sys Assignee: wine-bugs@winehq.org Reporter: toadking@toadking.com Distribution: ---
When using SteelSeries Engine 3.13.10 under Wine 4.6, some devices (Example: the SteelSeries GameDac) use very large feature report sizes above 1024 bytes. The SteelSeries GameDac in particular has feature report sizes of 1025 bytes.
Reproduction steps: * Disable SDL support in winebus: `wine reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\WineBus /v Enable\ SDL /t Reg_Dword /d 0` * Set read/write permissions on hidraw devices: `sudo chmod 0666 /dev/hidraw*` * Install and run SteelSeries Engine 3.13.10 (https://engine.steelseriescdn.com/SteelSeriesEngine3.13.10Setup.exe) under Wine 4.6.
Results: The following error log gets spammed to the console when trying to change settings on the SteelSeries GameDac:
0022:err:plugplay:hidraw_set_feature_report Output feature buffer too small
https://bugs.winehq.org/show_bug.cgi?id=47013
--- Comment #1 from Michael Lelli toadking@toadking.com --- Minor clarification: The SteelSeries GameDac has 1024-byte feature reports but the Windows HID APIs expect the report ID as the first byte, so the full buffer is 1025 bytes.
https://bugs.winehq.org/show_bug.cgi?id=47013
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47013
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winebus.sys |hid
https://bugs.winehq.org/show_bug.cgi?id=47013
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED CC| |leslie_alistair@hotmail.com Fixed by SHA1| |90a1e5d943724f8cb5e51fe806c | |b38ce6c98c4c1
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=90a1e5d943724f8cb5e51fe80...
https://bugs.winehq.org/show_bug.cgi?id=47013
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.12.
https://bugs.winehq.org/show_bug.cgi?id=47013
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=47013
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #4 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.3.