28 Apr 2017, 06:24

bon ya bien un soucis avec la version 20pins :

[   51.141243] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[   51.221199] usb 1-1.4: device descriptor read/64, error -32
[   51.437378] usb 1-1.4: New USB device found, idVendor=16c0, idProduct=75e1
[   51.437389] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   51.437395] usb 1-1.4: Product: THT 2P arcade controller
[   51.437400] usb 1-1.4: Manufacturer: THT 2P arcade controller
[   51.442827] input: THT 2P arcade controller THT 2P arcade controller as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:16C0:75E1.0002/input/input1
[   51.443219] hid-generic 0003:16C0:75E1.0002: input,hidraw1: USB HID v1.11 Joystick [THT 2P arcade controller THT 2P arcade controller] on usb-3f980000.usb-1.4/input0
[  115.341791] usb 1-1.4: USB disconnect, device number 5

et du coup :

# evtest 
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:	DragonRise Inc.   Generic   USB  Joystick  
/dev/input/event1:	THT 2P arcade controller THT 2P arcade controller
Select the device event number [0-1]:

par contre la version 18 pins c'est ok :

[  118.481211] usb 1-1.4: new low-speed USB device number 6 using dwc_otg
[  118.599457] usb 1-1.4: New USB device found, idVendor=16c0, idProduct=05e1
[  118.599469] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  118.599475] usb 1-1.4: Product: THT Arcade console 2P USB Player
[  118.599480] usb 1-1.4: Manufacturer: THT
[  118.620849] input: THT THT Arcade console 2P USB Player as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:16C0:05E1.0003/input/input2
[  118.621541] input: THT THT Arcade console 2P USB Player as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:16C0:05E1.0003/input/input3
[  118.621842] xinmo 0003:16C0:05E1.0003: input,hidraw1: USB HID v1.01 Joystick [THT THT Arcade console 2P USB Player] on usb-3f980000.usb-1.4/input0

et

# evtest 
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:	DragonRise Inc.   Generic   USB  Joystick  
/dev/input/event1:	THT THT Arcade console 2P USB Player
/dev/input/event2:	THT THT Arcade console 2P USB Player
Select the device event number [0-2]:

je regarde de plus près mais idem pour le quirks

# udevadm info -a -n input/event0 | grep quirk
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{quirks}=="0x0"