I’ve an USB joystick laying around, that if i plug into my Ubuntu 20.04 PC get recognized as expected and works flawlessy:
[ 1491.734488] usb 1-1.3: new low-speed USB device number 3 using ehci-pci
[ 1491.847866] usb 1-1.3: New USB device found, idVendor=0079, idProduct=0006, bcdDevice= 1.07
[ 1491.847875] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1491.847880] usb 1-1.3: Product: Generic USB Joystick
[ 1491.847884] usb 1-1.3: Manufacturer: DragonRise Inc.
[ 1491.867464] hid: raw HID events driver (C) Jiri Kosina
[ 1491.873968] usbcore: registered new interface driver usbhid
[ 1491.873972] usbhid: USB HID core driver
[ 1491.888683] input: DragonRise Inc. Generic USB Joystick as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0079:0006.0001/input/input16
[ 1491.888757] dragonrise 0003:0079:0006.0001: input,hidraw0: USB HID v1.10 Joystick [DragonRise Inc. Generic USB Joystick ] on usb-0000:00:1a.0-1.3/input0
[ 1491.888773] dragonrise 0003:0079:0006.0001: Force Feedback for DragonRise Inc. game controllers by Richard Walmsley <richwalm@gmail.com>
If i plug into my Vero 4k+, i got only the USB part, not the libinput part, and joystick does not work:
[ 200.139623] usb 1-2: USB disconnect, device number 2
[ 208.438616] usb 1-2: new low-speed USB device number 3 using xhci-hcd
[ 208.578681] usb 1-2: Device not responding to setup address.
[ 208.798647] usb 1-2: Device not responding to setup address.
[ 209.018598] usb 1-2: device not accepting address 3, error -71
[ 209.598619] usb 1-2: new low-speed USB device number 4 using xhci-hcd
[ 209.772562] usb 1-2: New USB device found, idVendor=0079, idProduct=0006
[ 209.772571] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 209.772576] usb 1-2: Product: Generic USB Joystick
[ 209.772588] usb 1-2: Manufacturer: DragonRise Inc.
[ 209.843308] usb 1-2: USB disconnect, device number 4
[ 210.638677] usb 1-2: new low-speed USB device number 5 using xhci-hcd
[ 210.822905] usb 1-2: New USB device found, idVendor=0079, idProduct=0006
[ 210.822914] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 210.822918] usb 1-2: Product: Generic USB Joystick
[ 210.822921] usb 1-2: Manufacturer: DragonRise Inc.
[ 211.230284] usb 1-2: USB disconnect, device number 5
[ 212.828643] usb 1-2: new low-speed USB device number 6 using xhci-hcd
[ 213.002674] usb 1-2: New USB device found, idVendor=0079, idProduct=0006
[ 213.002683] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 213.002687] usb 1-2: Product: Generic USB Joystick
[ 213.002691] usb 1-2: Manufacturer: DragonRise Inc.
while, if i plug something other things (a mouse, a keyboard, the Vero 4k+ remote, …) both USB and libinput logs appear, and the device works.
My Ubuntu had kernel 5.4.0-117-generic, vero 4k+ 4.9.113-64-osmc .
I’ve tried to understand why, but i don’t know libinput…
Thanks.