[Bug 56987] New: PiTool (pi_server.exe) can't detect Pimax HMD hid/usb devices
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(a)winehq.org Reporter: ivarbug(a)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. -- 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=56987 --- Comment #1 from ivarbug <ivarbug(a)gmail.com> --- Created attachment 76818 --> https://bugs.winehq.org/attachment.cgi?id=76818 using proxy hidapi.dll.so (renamed to hidapi.dll) -- 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=56987 --- Comment #2 from ivarbug <ivarbug(a)gmail.com> --- Turns out that pi_server expects specific device product strings. Wine "scrapes" dev desc strings differently than hidapi does. The product string on Wine ends up as a concatenation of manufacturer+product values when compared to other systems. -- 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=56987 --- Comment #3 from ivarbug <ivarbug(a)gmail.com> --- Created attachment 76820 --> https://bugs.winehq.org/attachment.cgi?id=76820 hidapi hid_enumerate outputs on win10, linux, wine -- 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