Making USB HID dongle work for PhoenixRC?

Questions about Wine on Linux
Locked
Vestom
Newbie
Newbie
Posts: 1
Joined: Tue May 16, 2017 4:00 pm

Making USB HID dongle work for PhoenixRC?

Post by Vestom »

Hi,

I have the PhoenixRC simulator that requires a USB dongle (RC Transmitter interface) to work. PhoenixRC seems to work fine - except that it does not recognize the USB HID dongle. I have tried looking at https://wiki.winehq.org/Hid, but it is not very informative. When looking at the debug trace (se below) it seems like Wine correctly detects the device. Using the Windows tool usbview.exe shows no USB devices. Is there something I can do to make it work?

Wine version is 2.8 in Ubuntu 17.04

$ dmesg
....
[34582.706948] usb 1-1: new low-speed USB device number 20 using xhci_hcd
[34582.852019] usb 1-1: New USB device found, idVendor=1781, idProduct=0898
[34582.852022] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[34582.852024] usb 1-1: Product: PxRC PhoenixRC USB Interface
[34582.852025] usb 1-1: Manufacturer: Runtime
[34582.856907] hid-generic 0003:1781:0898.0016: hiddev0,hidraw2: USB HID v1.00 Device [Runtime PxRC PhoenixRC USB Interface] on usb-0000:00:14.0-1/input0

$ WINEDEBUG=+plugplay wine phoenixRC.exe
....
trace:plugplay:process_monitor_event Received action "add" for udev device "/dev/hidraw2"
warn:plugplay:get_sysattr_string Could not get serial from device
trace:plugplay:try_add_device Found udev device "/dev/hidraw2" (vid 1781, pid 0898, version 1, serial (null))
trace:plugplay:bus_create_hid_device (0x3eb30, L"HIDRAW", 1781, 0898, 1, 0, (null), 0, {3def44ad-242e-46e5-826d-707213f3aa81}, 0x7f23ee26cda0, 32)
trace:plugplay:handle_bus_relations (0x45fe0)
trace:plugplay:common_pnp_dispatch IRP_MN_QUERY_ID
trace:plugplay:handle_IRP_MN_QUERY_ID (0x45fe0, 0x461e0)
trace:plugplay:handle_IRP_MN_QUERY_ID BusQueryCompatibleIDs
trace:plugplay:get_driver_for_id no driver found for L"HIDRAW\\Vid_1781&Pid_0898&IM_1\\1&0000&0"
trace:plugplay:get_driver_for_id no driver found for L"HIDRAW\\Vid_1781&Pid_0898"
trace:plugplay:get_driver_for_id found driver L"WineHID" for L"HIDRAW"
trace:plugplay:common_pnp_dispatch IRP_MN_QUERY_ID
trace:plugplay:handle_IRP_MN_QUERY_ID (0x45fe0, 0x461e0)
trace:plugplay:handle_IRP_MN_QUERY_ID BusQueryInstanceID
trace:plugplay:hid_internal_dispatch (0x45fe0, 0x42c70)
trace:plugplay:hid_internal_dispatch IOCTL_HID_GET_DEVICE_ATTRIBUTES
trace:plugplay:hid_internal_dispatch (0x45fe0, 0x42c70)
trace:plugplay:hid_internal_dispatch IOCTL_HID_GET_DEVICE_DESCRIPTOR
trace:plugplay:hid_internal_dispatch (0x45fe0, 0x42c70)
trace:plugplay:hid_internal_dispatch IOCTL_HID_GET_REPORT_DESCRIPTOR
trace:plugplay:hid_internal_dispatch (0x45fe0, 0x43a80)
....

Thanks,
Tommy
Jijil
Level 2
Level 2
Posts: 14
Joined: Wed May 17, 2017 6:37 am

Re: Making USB HID dongle work for PhoenixRC?

Post by Jijil »

Hello,

I'm facing the exact same problem (with Mint 18.1 and Wine 2.8).
Given your error message, it seems that we indeed miss a driver. Maybe we just need to associate the peripheral to an existing driver, but if this is correct, I don't know how.

...Happy flights... I hope ;)
Jijil
Level 2
Level 2
Posts: 14
Joined: Wed May 17, 2017 6:37 am

Re: Making USB HID dongle work for PhoenixRC?

Post by Jijil »

I still don't have any answer, but:
- Might it be a problem of permissions?
- Which version of Windows did you "emulate" ?
Locked