Edited by NBGabber at Thu Feb 12, 2015 00:21 |
alexandrevicenz replied at Tue Feb 10, 2015 19:08
Do you want to use keyboard or gamepad?
On keybord I use X, Z, A, S, not sure what is what on gam ...
Yesterday I fixed the problem
Yes, alexandrevicenz I wanted to use gampad, and now it works
this command retroarch-joyconfig is the right way but that is only the beginning of a long way to fix it.
I will write down the steps i did't in case that someone how have the same problem read this.
Please forgived me, but i write it down from my mind. I have not the time to test if it is rigth.
First the Problem:
I have read that every time you pluged a Gamepad in your usb port, Lakka.tv read the vendor and product ID, and
compared it with the configuration files stored in /etc/retroarch-joypad-autoconfig. But there are only a hand
full Configuration files and if VID and PID of your Gamepad thers is not implemented, then you can't controll lakka.tv
with your gamepad. To make a new configfile it is necessary to run retroarch-joyconfig, but there is a second problem.
After retroarch-joyconfig generate the configfile, I recognize that I can't write to the file system. The reasen for this
is, because the compleat linux system is stored in one compressed file stored at the first partition of the SD Card and
is named SYSTEM. This File is squashFS format.
What we need:
A PC or a Banana with Linux system
We start Lakka.TV and connect to it via SSH then we plug in the Gamepad.
then we start:on this output we note the VID and PID of the Gamepad
then we startI set (-t 5) as timeot because my Gamepad has not all buttons and so I can wait 5 secend to let it undefined
retroarch-joyconfig starts to asking for every buttton. So follow the instructiond.
After that retroarch-joyconfig put out the configuration to standard output. Make a note of this configuration.
Shutdown Lakka.tv and put out the sd card and put it on a PC or banana with Linux (I used OpenSuse)
then mount the sd card
then I installed spuashFS Copy the Code
- mkdir /tmp/lakka
- mount /dev/mmcblk0p2
then the system will decompressed Copy the Code
- unsquashfs /tmp/lakka/SYSTEM ~/
then go to
then make a copy of anny configurationfile Copy the Code
- cd ~/root-squash/etc/retroarch-joypad-autoconfig
edit with text editor Copy the Code
- cp iBuffalo_Classic_Usb_Gamepad.cfg NAMEOFYOURGAMEPAD.cfg
Then change the name, the VID and PID (Caution! write as decimal value) and all Buttons and Save. Copy the Code
- nano NAMEOFYOURGAMEPAD.cfg
after this we had to repack it
then override to sd card Copy the Code
- mksquashfs ~/root-squash ~/SYSTEM -no-xattrs
put the sd card to your banana and boot Copy the Code
- cp ~/SYSTEM /tmp/lakka/SYSTEM