05-31-2020, 08:07 AM
(05-30-2020, 10:40 PM)Porcinus Wrote: Checking back the whole discussion, I didn't noticed at any time that you speaked about recompiling the driver, just copying it from a CM3 image.
The problem can also come from this.
I don't know how folders are organized on Cpasjuste build but since you have been able to extract the .ko file, I think you have good notion on this
I will add more detail in case this can also help someone else
To build the driver from scratch (based on a CM3 image), via SSH:
Code:cd /home/pi/Freeplay
mv mk_arcade_joystick_rpi mk_arcade_joystick_rpi_old
git clone https://github.com/TheFlav/mk_arcade_joystick_rpi
cd mk_arcade_joystick_rpi
./install.sh
Important note : If the kernel is updated during execution of install.sh, you will need to restart the device and restart install.sh once again.
Using a second SSH, you can run "dmesg -w" to see if the kernel goes nuts.
well after testing for hours, how to compile and install the driver, I have always been missing something, and never find the commands, it has brought out the worst of me this hahaha
/ mk_arcade_joystick_rpi $ ./install.sh
ls: / usr / src: No such file or directory
./install.sh: line 6: sudo: command not found
./install.sh: line 12: sudo: command not found
./install.sh: line 13: sudo: command not found
./install.sh: line 14: sudo: command not found
./install.sh: line 15: sudo: command not found
./install.sh: line 17: sudo: command not found
If your kernel was just updated, you may need to reboot and rerun this script
./install.sh: line 18: sudo: command not found
grep: / etc / modules: No such file or directory
./install.sh: line 24: sudo: command not found
./install.sh: line 43: sudo: command not found
./install.sh: line 44: sudo: command not found
./install.sh: line 45: sudo: command not found
./install.sh: line 46: sudo: command not found
./install.sh: line 47: sudo: command not found
./install.sh: line 48: sudo: command not found
./install.sh: line 49: sudo: command not found
./install.sh: line 50: sudo: command not found
./install.sh: line 51: sudo: command not found
./install.sh: line 52: sudo: command not found
./install.sh: line 57: sudo: command not found
It is recommended that you run 'sudo nano /etc/modprobe.d/mk_arcade_joystick.conf' to set up desired parameters.
0
the command
git clone https://github.com/TheFlav/mk_arcade_joystick_rpi
it does not work for me
/ mk_arcade_joystick_rpi $ git clone https://github.com/TheFlav/mk_arcade_joystick_rpi
-sh: line 34: git: command not found
I do not have much knowledge as you will see ssh, I am self-taught about this, that is why I used the compiled version of "CPAJUSTE" of recalbox 6.0, where the driver with its modules were already installed, I am about to give up but it has already become something personal haha