Discussion:
[Wine] using a USB HID device with WINE?
raccoonone
2008-03-18 04:51:46 UTC
Permalink
I have a flight sim (PhoenixRC) that comes with a special controller. The controller shows up as a Human Interface Device (HID) and it seems to work just fine with Ubuntu--I can do "sudo cat /dev/usb/hiddev0" and see the output change as I move the controls around. However when I start up PhoenixRC it complains that the controller isn't connected. Is there a way to use the controller with WINE, some kind of setting that I need to change or something?
vitamin
2008-03-18 10:57:00 UTC
Permalink
Post by raccoonone
I have a flight sim (PhoenixRC) that comes with a special controller. The controller shows up as a Human Interface Device (HID) and it seems to work just fine with Ubuntu--I can do "sudo cat /dev/usb/hiddev0" and see the output change as I move the controls around. However when I start up PhoenixRC it complains that the controller isn't connected. Is there a way to use the controller with WINE, some kind of setting that I need to change or something?
No. Wine does not support USB devices yet. It can not talk to them directly. Of course things that have their own Linux driver work fine (keyboard, mouse, joystick, etc).
raccoonone
2008-03-18 15:14:24 UTC
Permalink
I thought HID devices used the same driver? PhoenixRC doesn't install a .sys driver, as far as I know.
Markus Hitter
2008-03-18 20:03:26 UTC
Permalink
I'm not sure who's the original poster, but depending on your
programming experience, you might want to add a vote to <http://
bugs.winehq.org/show_bug.cgi?id=8783>, work on this bug, or both.


Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
raccoonone
2008-03-19 02:41:54 UTC
Permalink
Post by Markus Hitter
I'm not sure who's the original poster, but depending on your
programming experience, you might want to add a vote to <http://
bugs.winehq.org/show_bug.cgi?id=8783>, work on this bug, or both.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
I'm a computer science major (in my 2nd year now); I've found that even though I can program fairly well I don't understand the Windows API well enough to work on a lot of the things in WINE. But I'll try to work on a patch, and learn enough.

Are you sure this is the same the bug as #8783? I tried WINEDEBUG=+comm, but it didn't give any additional output. However doing WINEDEBUG=+hid showed several calls to HidD_GetHidGuid, and looking at hid.dll it seems that essentially none of the functions have been implemented.
Markus Hitter
2008-03-19 08:42:25 UTC
Permalink
Post by raccoonone
Are you sure this is the same the bug as #8783?
No, I'm not sure :-)


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/

Loading...