05-30-2020, 07:53 AM
(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 !!