l2/r2 analog stick board
#52
(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 Smile
I will add more detail in case this can also help someone else Wink

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
Reply


Messages In This Thread
l2/r2 analog stick board - by aarontrini85 - 09-05-2018, 11:39 AM
RE: l2/r2 analog stick board - by Flavor - 09-05-2018, 01:06 PM
RE: l2/r2 analog stick board - by Flavor - 09-05-2018, 01:47 PM
RE: l2/r2 analog stick board - by aarontrini85 - 10-06-2018, 08:30 AM
RE: l2/r2 analog stick board - by maxh123 - 09-06-2018, 01:11 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 02:41 AM
RE: l2/r2 analog stick board - by stevo619 - 11-15-2018, 04:54 AM
RE: l2/r2 analog stick board - by stevo619 - 11-15-2018, 07:40 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 03:02 AM
RE: l2/r2 analog stick board - by maxh123 - 09-06-2018, 04:56 AM
RE: l2/r2 analog stick board - by maxh123 - 09-06-2018, 04:58 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 05:04 AM
RE: l2/r2 analog stick board - by maxh123 - 09-06-2018, 05:25 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 05:38 AM
RE: l2/r2 analog stick board - by maxh123 - 09-06-2018, 05:47 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 05:59 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 07:29 AM
RE: l2/r2 analog stick board - by maxh123 - 09-08-2018, 07:05 AM
RE: l2/r2 analog stick board - by Flavor - 09-08-2018, 07:08 AM
RE: l2/r2 analog stick board - by maxh123 - 09-08-2018, 11:52 AM
RE: l2/r2 analog stick board - by Flavor - 09-08-2018, 11:56 AM
RE: l2/r2 analog stick board - by aarontrini85 - 09-10-2018, 12:52 AM
RE: l2/r2 analog stick board - by NewAgeRetro - 09-20-2018, 08:28 AM
RE: l2/r2 analog stick board - by maxh123 - 09-21-2018, 06:19 AM
RE: l2/r2 analog stick board - by Flavor - 09-20-2018, 08:39 AM
RE: l2/r2 analog stick board - by NewAgeRetro - 09-20-2018, 08:54 AM
RE: l2/r2 analog stick board - by Flavor - 09-20-2018, 09:11 AM
RE: l2/r2 analog stick board - by NickM - 09-26-2018, 04:39 AM
RE: l2/r2 analog stick board - by Flavor - 09-26-2018, 04:43 AM
RE: l2/r2 analog stick board - by NickM - 09-26-2018, 05:33 AM
RE: l2/r2 analog stick board - by Flavor - 09-26-2018, 06:13 AM
RE: l2/r2 analog stick board - by NickM - 09-26-2018, 07:23 AM
RE: l2/r2 analog stick board - by Flavor - 11-15-2018, 07:03 AM
RE: l2/r2 analog stick board - by Flavor - 11-15-2018, 08:00 AM
RE: l2/r2 analog stick board - by stevo619 - 11-15-2018, 02:15 PM
RE: l2/r2 analog stick board - by Flavor - 11-16-2018, 06:48 AM
RE: l2/r2 analog stick board - by Boyfinn - 04-18-2020, 08:08 PM
RE: l2/r2 analog stick board - by nuke_arg - 05-24-2020, 10:16 AM
RE: l2/r2 analog stick board - by Flavor - 05-26-2020, 12:12 AM
RE: l2/r2 analog stick board - by nuke_arg - 05-26-2020, 02:05 AM
RE: l2/r2 analog stick board - by nuke_arg - 05-26-2020, 11:39 AM
RE: l2/r2 analog stick board - by Porcinus - 05-27-2020, 02:57 PM
RE: l2/r2 analog stick board - by Flavor - 05-30-2020, 02:25 AM
RE: l2/r2 analog stick board - by nuke_arg - 05-29-2020, 09:49 AM
RE: l2/r2 analog stick board - by Porcinus - 05-29-2020, 12:04 PM
RE: l2/r2 analog stick board - by Flavor - 05-30-2020, 02:27 AM
RE: l2/r2 analog stick board - by nuke_arg - 05-30-2020, 07:53 AM
RE: l2/r2 analog stick board - by Porcinus - 05-30-2020, 10:26 AM
RE: l2/r2 analog stick board - by nuke_arg - 05-30-2020, 10:50 AM
RE: l2/r2 analog stick board - by Porcinus - 05-30-2020, 10:12 PM
RE: l2/r2 analog stick board - by Porcinus - 05-30-2020, 10:40 PM
RE: l2/r2 analog stick board - by nuke_arg - 05-31-2020, 08:07 AM
RE: l2/r2 analog stick board - by Porcinus - 05-31-2020, 11:32 AM
RE: l2/r2 analog stick board - by OnlyCatapults - 07-27-2021, 01:47 AM
RE: l2/r2 analog stick board - by Flavor - 07-27-2021, 01:52 AM
RE: l2/r2 analog stick board - by OnlyCatapults - 07-27-2021, 02:08 AM
RE: l2/r2 analog stick board - by OnlyCatapults - 07-27-2021, 03:16 AM
RE: l2/r2 analog stick board - by Flavor - 07-27-2021, 09:34 AM
RE: l2/r2 analog stick board - by OnlyCatapults - 07-27-2021, 03:01 PM
RE: l2/r2 analog stick board - by OnlyCatapults - 08-07-2021, 08:40 AM
RE: l2/r2 analog stick board - by Flavor - 08-07-2021, 09:19 AM
RE: l2/r2 analog stick board - by OnlyCatapults - 08-07-2021, 09:48 AM
RE: l2/r2 analog stick board - by abd333 - 01-21-2022, 10:18 AM
RE: l2/r2 analog stick board - by Flavor - 01-22-2022, 06:39 AM
RE: l2/r2 analog stick board - by abd333 - 01-22-2022, 09:13 AM

Forum Jump:


Users browsing this thread: 5 Guest(s)