Retrobit Controller Adapter

I have read all the posts about Lakka + Retrobit, but did not find the solution. When I connect this adapter, it is defined as a single device - /dev/input/js0. In my Megadrive gamepad does not work “up” and “left.” I installed the driver package in Ubuntu for a test. Everything worked as it should. It seemed the two devices - /dev/input/js0 and /dev/input/js1. All buttons worked on each of the controllers.

Can I install the driver to the my Lakka Generic?

Sorry for my bad Google Translate.(

Hi,

Can you try first to set Setting Tab > Driver > Joypad Driver to linuxraw and bind your controller via Setting Tab > Input > Input User 1 Binds > User 1 Bin All.

Thank you.

Thank you for your reply. I have tried to do so before it registered on the forum. I did today. Nothing changed.

Output from Lakka (without driver):

# lsusb
Bus 001 Device 003: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[B]Bus 002 Device 002: ID 1292:4745 Innomedia[/B]
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
# ls -l /dev/input
drwxr-xr-x    2 root     root            80 Nov 15 18:59 by-id
drwxr-xr-x    2 root     root           100 Nov 15 18:59 by-path
crw-rw----    1 root     input      13,  64 Nov 15 18:59 event0
crw-rw----    1 root     input      13,  65 Nov 15 18:59 event1
crw-rw----    1 root     input      13,  66 Nov 15 18:59 event2
crw-rw----    1 root     input      13,  67 Nov 15 18:59 event3
crw-rw----    1 root     input      13,  68 Nov 15 18:59 event4
crw-rw----    1 root     input      13,  69 Nov 15 18:59 event5
crw-rw----    1 root     input      13,  70 Nov 15 18:59 event6
crw-rw----    1 root     input      13,  71 Nov 15 18:59 event7
crw-rw----    1 root     input      13,  72 Nov 15 18:59 event8
crw-rw----    1 root     input      13,  73 Nov 15 18:59 event9
[B]crw-rw-r--    1 root     input      13,   0 Nov 15 18:59 js0[/B]
crw-rw----    1 root     input      13,  63 Nov 15 18:59 mice
# jstest /dev/input/js0
[B]Joystick (INNEX GENESIS/ATARI Controller USB) has 2 axes and 16 buttons. Driver version is 2.1.0.[/B]
Testing ... (interrupt to exit)
[B]Axes:  0:     0  1:     0[/B] Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off

D-pad axes have positive values only or 0. Only one gamepad can use.

Output from Ubuntu 14.04 (with hid-retrobit driver):


$ ls -l /dev/input
drwxr-xr-x  2 root root    160 нояб. 15 22:23 by-id
drwxr-xr-x  2 root root    240 нояб. 15 22:23 by-path
crw-r-----  1 root root 13, 64 нояб. 15 22:20 event0
crw-r-----  1 root root 13, 65 нояб. 15 22:20 event1
crw-r-----  1 root root 13, 74 нояб. 15 22:20 event10
crw-r-----  1 root root 13, 75 нояб. 15 22:20 event11
crw-r-----  1 root root 13, 76 нояб. 15 22:20 event12
crw-rw----+ 1 root root 13, 77 нояб. 15 22:23 event13
crw-rw----+ 1 root root 13, 78 нояб. 15 22:23 event14
crw-r-----  1 root root 13, 66 нояб. 15 22:20 event2
crw-r-----  1 root root 13, 67 нояб. 15 22:20 event3
crw-r-----  1 root root 13, 68 нояб. 15 22:20 event4
crw-r-----  1 root root 13, 69 нояб. 15 22:23 event5
crw-r-----  1 root root 13, 70 нояб. 15 22:23 event6
crw-r-----  1 root root 13, 71 нояб. 15 22:20 event7
crw-r-----  1 root root 13, 72 нояб. 15 22:20 event8
crw-r-----  1 root root 13, 73 нояб. 15 22:20 event9
[B]crw-rw-r--+ 1 root root 13,  0 нояб. 15 22:23 js0
crw-rw-r--+ 1 root root 13,  1 нояб. 15 22:23 js1[/B]
crw-r-----  1 root root 13, 63 нояб. 15 22:20 mice
crw-r-----  1 root root 13, 32 нояб. 15 22:23 mouse0
crw-r-----  1 root root 13, 33 нояб. 15 22:20 mouse1
$ jstest /dev/input/js0
Driver version is 2.1.0.
[B]Joystick (INNEX GENESIS/ATARI Controller USB) has 2 axes (X, Y)
and 8 buttons (BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect).[/B]
Testing ... (interrupt to exit)
[B]Axes:  0:-32767  1:-32767[/B] Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off

When js1 tested - same result. D-pad axes can havе negative values. Gamepads can work both (js0 and js1).

Thank you.

Strange it worked with another person. You are running it on PC ? Source

Yes. I was there. It was the first thing I did… Maybe different controllers or firmware. I dont know. My adapter purchased three or four years ago. Lakka installed on SD card and running on laptop Asus EEE PC 1215N with TV.

The question is still open ( Any ideas how to include the driver in Lakka? All methods found on the forum have been tried.

Try to open an issue so that we don’t forget to add it. Hope we can succeed to integrate it to Lakka.

Is there any kind of solution for this? I am using lakka 2.1 for S905 and followed all of the above.