using a USB HID device with WINE?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
raccoonone
Level 1
Level 1
Posts: 7
Joined: Sun Feb 24, 2008 10:25 pm

using a USB HID device with WINE?

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?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: using a USB HID device with WINE?

Post by vitamin »

raccoonone wrote: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
Level 1
Level 1
Posts: 7
Joined: Sun Feb 24, 2008 10:25 pm

Post by raccoonone »

I thought HID devices used the same driver? PhoenixRC doesn't install a .sys driver, as far as I know.
Markus Hitter

using a USB HID device with WINE?

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/
raccoonone
Level 1
Level 1
Posts: 7
Joined: Sun Feb 24, 2008 10:25 pm

Re: using a USB HID device with WINE?

Post by raccoonone »

Markus Hitter wrote: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

using a USB HID device with WINE?

Post by Markus Hitter »

Am 19.03.2008 um 03:41 schrieb 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/
Locked