[Bug 52422] USB CH Pro Pedals do not show up as a joystick device in 7.0

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jan 20 23:41:03 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52422

--- Comment #3 from Tyson Whitehead <twhitehead at gmail.com> ---
Created attachment 71694
  --> https://bugs.winehq.org/attachment.cgi?id=71694
Trace with SDL disabled (and Pro Pedals show up!)

Was reading through some wine bug reports and discovered the SDL layer could be
disabled with

[System\\CurrentControlSet\\Services\\winebus]
"Enable SDL"=dword:00000000

Did this and the USB CH Pro Pedals show up as they should. I've attached
another trace of running control and opening the Game Controllers setup thing.

tyson at tux ~> strace -ff -s 4096 -P /dev/input/event11 -E
WINEDEBUG=+dinput,+hid,+plugplay wine control 2>&1 | tee trace-nosdl.log
...
009c:warn:hid:udev_add_device Unable to open udev device "/dev/hidraw11":
Permission denied
[pid 87393] openat(AT_FDCWD, "/dev/input/event11", O_RDWR|O_LARGEFILE) = 42
009c:trace:hid:udev_add_device udev "/dev/input/event11" syspath
/sys/devices/pci0000:00/0000:00:14.0/usb2/2-14/2-14:1.0/0003:068E:00F2.000C/input/input14/event11
009c:trace:hid:get_device_subsystem_info hid uevent "DRIVER=hid-generic"
009c:trace:hid:get_device_subsystem_info hid uevent
"HID_ID=0003:0000068E:000000F2"
009c:trace:hid:get_device_subsystem_info hid uevent "HID_NAME=CH PRODUCTS CH
PRO PEDALS USB "
009c:trace:hid:get_device_subsystem_info hid uevent
"HID_PHYS=usb-0000:00:14.0-14/input0"
009c:trace:hid:get_device_subsystem_info hid uevent "HID_UNIQ="
009c:trace:hid:get_device_subsystem_info hid uevent
"MODALIAS=hid:b0003g0001v0000068Ep000000F"
009c:trace:hid:get_device_subsystem_info input uevent "PRODUCT=3/68e/f2/100"
009c:trace:hid:get_device_subsystem_info input uevent "NAME=\"CH PRODUCTS CH
PRO PEDALS USB \""
009c:trace:hid:get_device_subsystem_info input uevent
"PHYS=\"usb-0000:00:14.0-14/input0\""
009c:trace:hid:get_device_subsystem_info input uevent "UNIQ=\"\""
009c:trace:hid:get_device_subsystem_info input uevent "PROP=0"
009c:trace:hid:get_device_subsystem_info input uevent "EV=9"
009c:trace:hid:get_device_subsystem_info input uevent "ABS=7"
009c:trace:hid:get_device_subsystem_info input uevent
"MODALIAS=input:b0003v068Ep00F2e0100-e0,3,kra0,1,2,mlsf"
009c:trace:hid:get_device_subsystem_info usb uevent "DEVTYPE=usb_interface"
009c:trace:hid:get_device_subsystem_info usb uevent "DRIVER=usbhid"
009c:trace:hid:get_device_subsystem_info usb uevent "PRODUCT=68e/f2/0"
009c:trace:hid:get_device_subsystem_info usb uevent "TYPE=0/0/0"
009c:trace:hid:get_device_subsystem_info usb uevent "INTERFACE=3/0/0"
009c:trace:hid:get_device_subsystem_info usb uevent
"MODALIAS=usb:v068Ep00F2d0000dc00dsc00dp00ic03isc00ip00in0"
[pid 87393] ioctl(42, EVIOCGID, {bustype=3, vendor=1678, product=242,
version=256}) = 0
[pid 87393] ioctl(42, EVIOCGUNIQ(260), "\0") = 1
[pid 87393] ioctl(42, EVIOCGBIT(EV_ABS, 8), [ABS_X ABS_Y ABS_Z]) = 8
[pid 87393] ioctl(42, EVIOCGBIT(EV_KEY, 96), []) = 96
009c:trace:hid:udev_add_device dev 0x7d207640, node "/dev/input/event11", desc
{vid 068e, pid 00f2, version 0100, input 0, uid 00000000, is_gamepad 0}.
009c:trace:hid:udev_add_device udev "/dev/input/js0" syspath
/sys/devices/pci0000:00/0000:00:14.0/usb2/2-14/2-14:1.0/0003:068E:00F2.000C/input/input14/js0
009c:trace:hid:udev_add_device duplicate device found, not adding the new one
...
0114:trace:dinput:hid_joystick_enum_device found device
L"\\\\?\\hid#vid_068e&pid_00f2&mi_00#256&0000&0&0#{4d1e55b2-f16f-11cf-88cb-001111000030}",
usage 0001:0005, product {00f2068e-0000-0000-0000-504944564944}, instance
{9e573ede-7734-11d2-8d4a-23903fb6bdf7}, name L"CH PRODUCTS CH PRO PEDALS USB "
...

Thanks!  -Tyson

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list