http://bugs.winehq.org/show_bug.cgi?id=58338
Bug ID: 58338 Summary: HIDRAW support breaks when NZXT Kraken x52 hidraw has user rw permissions Product: Wine Version: 10.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: usb Assignee: wine-bugs@winehq.org Reporter: grantgj@gmail.com Distribution: ---
Created attachment 78712 --> http://bugs.winehq.org/attachment.cgi?id=78712 WINEDEBUG=+hid,+dinput wine control
When the NZXT kraken /dev/hidraw is readable by user wines hidraw support breaks and no input devices(vkb joystick and virpil throttle) show in control panel.
Bus 001 Device 004: ID 1e71:170e NZXT Kraken X
/dev/hidraw5 is the nzxt kraken:
$ cat /sys/class/hidraw/hidraw5/device/uevent DRIVER=nzxt-kraken2 HID_ID=0003:00001E71:0000170E HID_NAME=NZXT.-Inc. NZXT USB Device HID_PHYS=usb-0000:09:00.1-5.1/input0 HID_UNIQ=4981438A343 MODALIAS=hid:b0003g0001v00001E71p0000170E
Running with /dev/hidraw5 rw access by user: crw-rw-rw- 1 root root 244, 5 Jun 8 17:47 /dev/hidraw5
$ wine control WARNING: radv is not a conformant Vulkan implementation, testing use only. 00cc:fixme:wineusb:query_id Unhandled ID query type 0x5. 00cc:fixme:wineusb:query_id Unhandled ID query type 0x5. 00cc:fixme:wineusb:query_id Unhandled ID query type 0x5. 00cc:fixme:wineusb:query_id Unhandled ID query type 0x5. 00cc:err:plugplay:enumerate_new_device Failed to create or open device L"WINEBUS\VID_3344&PID_0194&MI_01\256&090C1B00&0&0&0", error 0xe000020b. wine: Unhandled page fault on read access to FFFFFFFFFFFFFFFF at address 00006FFFFB103BAC (thread 00ec), starting debugger... 0168:fixme:dbghelp:elf_search_auxv can't find symbol in module 00f0:err:wineusb:usb_main_loop Error handling events: System call interrupted (perhaps due to signal) 00f0:err:wineusb:usb_main_loop Error handling events: System call interrupted (perhaps due to signal) 0168:fixme:dbghelp:elf_search_auxv can't find symbol in module 00f0:err:wineusb:usb_main_loop Error handling events: System call interrupted (perhaps due to signal) 00f0:err:wineusb:usb_main_loop Error handling events: System call interrupted (perhaps due to signal)
When removing read access:
$ sudo chmod 660 /dev/hidraw5 chris@chrislinux:/etc/udev/rules.d$ wine control WARNING: radv is not a conformant Vulkan implementation, testing use only. 00cc:fixme:wineusb:query_id Unhandled ID query type 0x5. 00cc:fixme:wineusb:query_id Unhandled ID query type 0x5. 00cc:fixme:wineusb:query_id Unhandled ID query type 0x5. 00cc:fixme:wineusb:query_id Unhandled ID query type 0x5. 00cc:err:plugplay:enumerate_new_device Failed to create or open device L"WINEBUS\VID_3344&PID_0194&MI_01\256&090C1B00&0&0&0", error 0xe000020b.
devices then appear and work in control panel.