You are not logged in.

#1 2022-03-29 18:59:44

zelurker
Member
Registered: 2020-06-27
Posts: 17

usb detection of a gamepad changed since 5.16

It's one bought from amazon there https://www.amazon.fr/gp/product/B07WBY … UTF8&psc=1
it detects the kind of usb port it's connected to, and then identifies itself either as an xbox, playstation or wii gamepad.
On pc it's normally an xbox pad, it's detected like that when booting windows and when booting any kernel < 5.16.
Since 5.16.0, it suddenly became a wii gamepad. It's annoying because it breaks some configurations, so I switched to the lts kernel, thinking it was something minor which would be addressed soon, but apparently not... !
Well maybe there is a way to force the detection, but I searched a little on that, but didn't find anything.
Once the detection is done by the gamepad a warm boot doesn't change it, so it's possible to boot windows or the lts kernel just to init it, and then reboot a more recent kernel, but just for a gamepad...

Here is the log of the detection with an lts kernel :
archlinux kernel: usb 3-4: new full-speed USB device number 3 using xhci_hcd
archlinux kernel: usb 3-4: New USB device found, idVendor=2f24, idProduct=00b7, bcdDevice= 1.00
archlinux kernel: usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
archlinux kernel: usb 3-4: Product: ESM GAME FOR WINDOWS 1.02
archlinux kernel: usb 3-4: Manufacturer:
archlinux kernel: usb 3-4: SerialNumber: 6CAADFC80000
archlinux mtp-probe[718]: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:07.1/0000:1d:00.3/usb3/3-4"
archlinux mtp-probe[757]: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:07.1/0000:1d:00.3/usb3/3-4"
archlinux kernel: input: Generic X-Box pad as /devices/pci0000:00/0000:00:07.1/0000:1d:00.3/usb3/3-4/3-4:1.0/input/input27
archlinux kernel: usbcore: registered new interface driver xpad

and here is the same thing with a 5.16 kernel :
mars 29 21:03:15 archlinux kernel: usb 3-4: new full-speed USB device number 2 using xhci_hcd
mars 29 21:03:15 archlinux kernel: usb 3-4: New USB device found, idVendor=057e, idProduct=2009, bcdDevice= 2.00
mars 29 21:03:15 archlinux kernel: usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
mars 29 21:03:15 archlinux kernel: usb 3-4: Product: Controller 1.02
mars 29 21:03:15 archlinux kernel: usb 3-4: Manufacturer: 
mars 29 21:03:15 archlinux kernel: usb 3-4: SerialNumber: 6CAADFC80000
mars 29 21:03:15 archlinux kernel: input:   Controller 1.02 as /devices/pci0000:00/0000:00:07.1/0000:1d:00.3/usb3/3-4/3-4:1.0/0003:057E:2009.0001/input/input2
mars 29 21:03:15 archlinux kernel: hid-generic 0003:057E:2009.0001: input,hidraw0: USB HID v1.11 Joystick [  Controller 1.02] on usb-0000:1d:00.3-4/input0
mars 29 21:03:16 archlinux kernel: nintendo 0003:057E:2009.0001: hidraw0: USB HID v81.11 Joystick [  Controller 1.02] on usb-0000:1d:00.3-4/input0
mars 29 21:03:16 archlinux kernel: input: Nintendo Switch Pro Controller as /devices/pci0000:00/0000:00:07.1/0000:1d:00.3/usb3/3-4/3-4:1.0/0003:057E:2009.0001/input/input25
mars 29 21:03:16 archlinux kernel: input: Nintendo Switch Pro Controller IMU as /devices/pci0000:00/0000:00:07.1/0000:1d:00.3/usb3/3-4/3-4:1.0/0003:057E:2009.0001/input/input26

(except I had cut the date in the 1st log to make some comparisons).

Last edited by zelurker (2022-03-29 19:07:37)

Offline

#2 2022-03-31 09:51:48

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,060

Re: usb detection of a gamepad changed since 5.16

Please use [ code ] tags for such outputs.

My french is very limited, but it does look like this is a wireless controller with a receiver that plugs into usb.

The brand is EasySMX  , which specific model do you have ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2022-03-31 11:58:50

zelurker
Member
Registered: 2020-06-27
Posts: 17

Re: usb detection of a gamepad changed since 5.16

Lone_Wolf wrote:

Please use [ code ] tags for such outputs.

My french is very limited, but it does look like this is a wireless controller with a receiver that plugs into usb.

For the us version, just replace amazon.fr by amazon.com : https://www.amazon.com/gp/product/B07WB … UTF8&psc=1

The brand is EasySMX  , which specific model do you have ?

Actually I didn't even know that since what it reports in the logs changes, but anyway I found it written very little in the back : ESM-9110, not sure it will help though, but thanks for trying to help !

Offline

Board footer

Powered by FluxBB