https://bugs.winehq.org/show_bug.cgi?id=56987
Bug ID: 56987 Summary: PiTool (pi_server.exe) can't detect Pimax HMD hid/usb devices Product: Wine Version: 9.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: hid Assignee: wine-bugs@winehq.org Reporter: ivarbug@gmail.com Distribution: ---
Created attachment 76817 --> https://bugs.winehq.org/attachment.cgi?id=76817 using app's hidapi.dll
https://appdb.winehq.org/objectManager.php?sClass=application&iId=19830
The windows application is able to enumerate hid devices but doesn't identify or start talking to it's devices. The app comes with and uses a build of hidapi.dll (version <= 0.9.0 based on it's exports).
I followed https://wiki.winehq.org/Winelib_User%27s_Guide#Building_Winelib_DLLs and tried building my own hidapi.dll that uses Linux native hidapi-hidraw. Using this the app does pick up the device, but crashes (probably unrelated to hid) after ~5s in an ungetc call.