Hi everybody
Solution -> [SOLVED] Super SNES Joypads don't work after X seconds
Brief:
SNES Joypads doesn’t work after X seconds of connecting them to a Cubox-i board with Lakka 2.1
Explained:
I recently bought this Chinese controls QUMOX on Amazon …
To connect them to a CuBox-i board …
I plug one of two joypads and Lakka version 2.1 recognized the joypad as SNES-style usb with the next config:
Lakka:~/joypads/udev # vi usb\ gamepad\ \ \ \ \ \ \ \ \ \ \ .cfg
input_driver = "udev"
input_device = "usb gamepad "
input_vendor_id = "2064"
input_product_id = "58625"
input_b_btn = "2"
input_y_btn = "3"
input_select_btn = "8"
input_start_btn = "9"
input_up_axis = "-1"
input_down_axis = "+1"
input_left_axis = "-0"
input_right_axis = "+0"
input_a_btn = "1"
input_x_btn = "0"
input_l_btn = "4"
input_r_btn = "6"
The Vendor ID (0810) and Product ID (e501) are correct in decimal 2064 and 58625 respectly
Lakka:~/joypads/udev # lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0810:e501 Personal Communication Systems, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
But this is the problem:
After X seconds (between 1 and ~120) the joypad don’t work.
I tried to see any log like this Lakka supports page says. When I start Lakka with log and verbose and I connect the joy pad and wait when joypad don’t work, these are the last lines of log
Lakka:~ # systemctl stop retroarch.service ; LIBGL_DEBUG=verbose retroarch --menu --verbose >> log.txt 2>&1
[INFO] [udev]: Plugged pad: usb gamepad (2064:58625) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event0) supports 0 force feedback effects.
[INFO] [Autoconf]: 191 profiles found.
[INFO] [Autoconf]: selected configuration: /tmp/joypads/udev/usb gamepad .cfg
And in dmesg output this last lines
[ 2014.992049] usb 1-1: new low-speed USB device number 12 using ci_hdrc
[ 2015.122748] input: usb gamepad as /devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1:1.0/0003:0810:E501.0013/input/input21
[ 2015.124173] hid-generic 0003:0810:E501.0013: input,hidraw0: USB HID v1.10 Joystick [usb gamepad ] on usb-ci_hdrc.0-1/input0
I’m stucked. I don’t know what else to do. Any suggest? I read this post [SOLVED] Generic chinese controllers on Lakka? Chinaware Best practice but I think that I have another problem. My chinesse joypads works but only X seconds
Thanks so much
UPDATE: The problem is that this Chinesse Joypad needs a powered USB hub to work propertly.