05-30-2020, 10:40 PM
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:
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.
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.