https://bugs.winehq.org/show_bug.cgi?id=52081
--- Comment #14 from Alois Schlögl alois.schloegl@gmail.com --- (In reply to Zeb Figura from comment #12)
(In reply to Alois Schlögl from comment #11)
Part of the problem of usbip-win being not supported, is the fact that BUS_QUERY_ID_TYPE type==0x05 (i.e. BusQueryContainerID) is not supported.
The attached patch provides more details in the debug log.
The next step would probably be to implement get_container_id(...) in dlls/winebus.sys/main.c and dlls/wineusb.sys/wineusb.c
Maybe, but probably not. Not every FIXME actually matters, and sometimes none of them do. Given some knowledge about the relevant code I would not expect this one to matter.
I need to take your word for it, although I'm not convinced. It seems that to get USB support in wine going, several components might be needed (e.g. plugplay/pnp, etc). It might also make difference whether a particular driver for some device is available on the host system or not.
For example CED1401 has only a working driver for Windows, but not for Linux. So in order to make this work, the most promising path seems to make the windows driver of CED1401 work under Wine. Although, I'm aware that drivers are part of the OS domain, and since Wine works in user space, this approach might come with its own challenges.
OTOH, USBIP is available one Windows and Linux, so in that case it might be an option to link against libusbip from the host system. So this case might need a very different approach.
Long story short, I believe that more debugging information would be useful in going forward with USB support in Wine. (see also comment 8 in https://bugs.winehq.org/show_bug.cgi?id=49394)