Hi there - After some testing, It seems like the Player X USB controller doesn’t work with the Pi Zero. The device is recognized but the button presses themselves are not recognized. Unplugging the Player X and plugging it back in seem to resolve it. On the Pi3, the Player X works just fine.
Some things I’ve tried:
lsusb shows the device:
Bus 001 Device 004: ID 16d0:0ec4 MCS Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
jstest recognizes the device properly:
jstest /dev/input/js0 Driver version is 2.1.0. Joystick (Pimoroni Ltd Picade Player X USB) has 4 axes (X, Y, Z, Rx)
Dmesg shows the device as well:
[ 340.425672] usb 1-1: New USB device found, idVendor=16d0, idProduct=0ec4, bcdDevice= 2.00 [ 340.425694] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 340.425707] usb 1-1: Product: Picade Player X USB [ 340.425717] usb 1-1: Manufacturer: Pimoroni Ltd [ 340.425728] usb 1-1: SerialNumber: 00000000001A
Reset USB doesn’t work:
sudo usbreset 16d0:0ec4
Any thoughts on how to get this to work on a pi zero? The only way it seems to get this working is to unplug in and plug it back in.