I'm attempting to get my chinese knockoff PS3 controllers to work with my S905 box (MXIII II) loaded with the latest kszaq LibreElec build.
After connecting them with a USB cable, Kodi 'sees' the controller and lists it as an available peripheral (the controller shows up as one that I can change the deadzone for in settings). But the mapping function within Kodi doesn't see any button press on the controller except for the center 'pair' button.
ssh'ing into the box, here's what shows up for the controller (shortened for brevity):
xxx:~ # dmesg
...
[ 81.498330@3] usb 1-1: USB disconnect, device number 2
[ 94.617144@3] usb 1-1: new full-speed USB device number 3 using xhci-hcd
[ 94.758175@3] usb 1-1: New USB device found, idVendor=054c, idProduct=0268
[ 94.758201@3] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 94.758216@3] usb 1-1: Product: PS(R) Gamepad
[ 94.758230@3] usb 1-1: Manufacturer: Gasia Co.,Ltd
[ 94.763760@3] sony 0003:054C:0268.0002: Fixing up Sony Sixaxis report descriptor
[ 94.766170@3] input: Gasia Co.,Ltd PS(R) Gamepad as /devices/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:054C:0268.0002/input/input5
[ 94.782116@1] sony 0003:054C:0268.0002: input,hiddev0,hidraw0: USB HID v1.11 Joystick [Gasia Co.,Ltd PS(R) Gamepad] on usb-xhci-hcd.0.auto-1/input0
xxx:~ # bluetoothctl
...
[PLAYSTATION(R)3 Controller]# info
Device 00:26:5C:F2:96:B0
Name: PLAYSTATION(R)3 Controller
Alias: PLAYSTATION(R)3 Controller
Class: 0x000540
Icon: input-keyboard
Paired: no
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Huma n Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
Modalias: usb:v054Cp0268d0000
xxx:~ # udevadm info --attribute-walk /dev/input/js0
...
looking at device '/devices/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:054C:0268.0006/input/input9/js0':
KERNEL=="js0"
SUBSYSTEM=="input"
DRIVER==""
looking at parent device '/devices/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:054C:0268.0006/input/input9':
KERNELS=="input9"
SUBSYSTEMS=="input"
DRIVERS==""
ATTRS{name}=="Gasia Co.,Ltd PS(R) Gamepad"
ATTRS{phys}=="usb-xhci-hcd.0.auto-1/input0"
ATTRS{properties}=="0"
ATTRS{uniq}==""
looking at parent device '/devices/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:054C:0268.0006':
KERNELS=="0003:054C:0268.0006"
SUBSYSTEMS=="hid"
DRIVERS=="sony"
looking at parent device '/devices/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0':
KERNELS=="1-1:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="usbhid"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bInterfaceClass}=="03"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bInterfaceProtocol}=="00"
ATTRS{bInterfaceSubClass}=="00"
ATTRS{bNumEndpoints}=="02"
ATTRS{supports_autosuspend}=="1"
looking at parent device '/devices/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1':
KERNELS=="1-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{authorized}=="1"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{bConfigurationValue}=="1"
ATTRS{bDeviceClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bMaxPower}=="500mA"
ATTRS{bNumConfigurations}=="1"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bcdDevice}=="0100"
ATTRS{bmAttributes}=="80"
ATTRS{busnum}=="1"
ATTRS{configuration}==""
ATTRS{devnum}=="5"
ATTRS{devpath}=="1"
ATTRS{idProduct}=="0268"
ATTRS{idVendor}=="054c"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="Gasia Co.,Ltd"
ATTRS{maxchild}=="0"
ATTRS{product}=="PS(R) Gamepad"
ATTRS{quirks}=="0x0"
ATTRS{removable}=="unknown"
ATTRS{speed}=="12"
ATTRS{urbnum}=="22"
ATTRS{version}==" 2.00"
Display More
The controller seems to be at least identified, but no input is read within Kodi.
Are there any extra troubleshooting steps that I can take? Or is there a udev rule that would force this controller to be 'seen' as a PS3 controller?
Also of note, I've used these controllers on an x86 build of LibreElec and they worked without any extra configuration outside of Kodi.
Any help would be appreciated!