Modifying the boot.ini args to add usb quirks was good but this controller needs to be powered in order for the quirk to work.
evtest now sees 2 devices but it doesn’t catch two of the pandorabox buttons (COIN and PAUSE buttons).
Any idea how how could edit some kind of PS3/PC Gamepad driver or layout in order to catch those button press events?
I tried to change PS3 drivers from bluez to official and shanwan but no success there.
Here is dmesg output :
[ 48.993878] usb 1-1.1: new full-speed USB device number 3 using xhci-hcd
[ 49.118410] usb 1-1.1: New USB device found, idVendor=0314, idProduct=0119, bcdDevice= 1.09
[ 49.118414] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 49.118416] usb 1-1.1: Product: PS3/PC Gamepad
[ 49.195604] input: PS3/PC Gamepad as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1. 1/1-1.1:1.0/0003:0314:0119.0001/input/input1
[ 49.195711] input: PS3/PC Gamepad as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1. 1/1-1.1:1.0/0003:0314:0119.0001/input/input2
[ 49.195782] hid-generic 0003:0314:0119.0001: input,hidraw0: USB HID v1.10 Gamepad [PS3/PC Gamepad] on usb-xhci-hcd .0.auto-1.1/input0
[root@BATOCERA /userdata/system]# 48.993878] usb 1-1.1: new full-speed USB device number 3 using xhci-hcd
[ 49.118414] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 49.118416] usb 1-1.1: Product: PS3/PC Gamepad
[ 49.195604] input: PS3/PC Gamepad as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1. 1/1-1.1:1.0/0003:0314:0119.0001/input/input1
Here is a wiki page I found helpful : https://wiki.batocera.org/diagnose_joysticks_issues