l2/r2 analog stick board
#47
(05-30-2020, 02:27 AM)Flavor Wrote:
(05-29-2020, 12:04 PM)Porcinus Wrote: Sorry about "hkmode=20", was a typo from me (wrote it before going to work and was really late) :S

I think following config should work :
Code:
options mk_arcade_joystick_rpi map=4 gpio=4,17,27,22,10,9,25,24,23,18,15,14,2,19,26,-1,-1,-1,-1,-1,-1 hkmode=2

The mk_arcade_joystick_rpi  driver used on Freeplaytech platform is a improved version of the original and require additional gpio buttons declared (even if it is set to -1).

Important note: Avoid space before and after "=" and ","

Good catch.  Yes, you need to have the exact right number of integers in the gpio list.  -1 signifies that the input is unused.

I have already tried with that configuration too, but nothing, this is my log

/etc/modprobe.d$ dmesg | grep mk_arcade
[25.664631] mk_arcade_joystick_rpi: loading out-of-tree module taints kernel.
[25.665556] mk_arcade_joystick_rpi: Freeplay Button Driver
[25.665561] mk_arcade_joystick_rpi: pad type: 4
[25.665564] mk_arcade_joystick_rpi: pad type: 4
[26.061795] mk_arcade_joystick_rpi: exiting
[26.230100] mk_arcade_joystick_rpi: Freeplay Button Driver
[26.230112] mk_arcade_joystick_rpi: pad type: 4
[26.230114] mk_arcade_joystick_rpi: Custom device needs gpio argument
[26.332371] mk_arcade_joystick_rpi: Freeplay Button Driver
[26.332377] mk_arcade_joystick_rpi: pad type: 4
[26.332380] mk_arcade_joystick_rpi: Custom device needs gpio argument

[26.16] [26.18]: loading module mk_arcade_joystick_rpi args = map = 4
[26.22] insmod: can't insert '/lib/modules/4.14.62-v7/extra/mk_arcade_joystick_rpi.ko': No such device

since it does not take any configuration that puts it, no pin works, if I put map = 1 again all the normal buttons will send me, without being able to map or add another one.

the version I installed of recalbox is from a user of this forum, which I'm not sure if this version has the improvement of adding more buttons to the gpio
https://github.com/Cpasjuste/recalbox/releases

could you check it? I attach the file again, you have to rename .txt to .ko

I don't want to disturb you, but they are the only ones who can help me, thanks !!


Attached Files
.txt   mk_arcade_joystick_freeplay.txt (Size: 33.82 KB / Downloads: 0)
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: 7 Guest(s)