USB HID Device

Questions about Wine on macOS.
Locked
Groover
Newbie
Newbie
Posts: 1
Joined: Tue Jun 06, 2017 8:49 am

USB HID Device

Post by Groover »

I have a USB HID device that I have developed and works fine on all versions of Windows. Uses the raw HID mode.

I connect it to my Macbook Pro and it is correctly shown as a connected device.

I've installed Wine Development 2.9, and followed the steps at https://wiki.winehq.org/Hid.

When my application starts it calls GetAdapterInfo to enumerate the attached USB devices and find the ones with the required vendor ID. This function returns ERROR_NO_DATA.

I tried devcon.exe to list all devices, and this lists the same 12 devices regardless of whether winebus is started or stopped, so I am not sure that is showing me anything useful.

I couldn't find hid_test.exe or a download to hclient.exe.

Any hints or suggestions? Thanks!
DarkPlayer
Level 2
Level 2
Posts: 23
Joined: Sun Mar 13, 2016 11:15 am

Re: USB HID Device

Post by DarkPlayer »

The support for HID is not complete yet and the whole kernel / driver / device model of Wine takes many shortcuts. On Windows there are various ways to enumerate devices (Registry, setupapi, NT path \Device or \Driver, ...) so it is likely that not all of this methods work yet for HID devices. My suggestion would be to open a bug report and, if possible, attach your device enumeration code.
Locked