05-26-2020, 11:39 AM
(05-26-2020, 02:05 AM)nuke_arg Wrote: [ -> ]this is my log with the configuration that it told me(05-26-2020, 12:12 AM)Flavor Wrote: [ -> ]nuke_arg: I need to be quick, so I apologize for the shortness.
This line can not have extra spaces. Try this.
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 hkmode=2
Also, show us the output from this command when logged into the machine.
dmesg |grep mk_arcade
Are you using a Freeplay CM3 as your bartop?
First of all thank you very much for answering, I am using the original version of RECALBOX 6.1.1 DRANGONZBLAZE in my RPI3 +, just replace the original mk_arcade_joystick.ko file with that of your cm3 version, also add the file in etc / modprobe, and set gpio map = 4 in recalbox.conf.
I would just like to add to the gpio 19,26 pins the L2 and R2 buttons
Later when I get back from work, I'm going to show the log and try that option setting with hkmode = 2a, hopefully it works a long time ago that I have those dead side buttons on my bartop since recalbox is very closed for modifications.
Thanks for your time!!!
/lib/modules/4.14.62-v7/extra$ dmesg | grep mk_arcade
[25.900582] mk_arcade_joystick_rpi: disagrees about version of symbol module_layout
[25.900829] mk_arcade_joystick_rpi: disagrees about version of symbol module_layout
[26.265037] mk_arcade_joystick_rpi: disagrees about version of symbol module_layout
[26.267795] mk_arcade_joystick_rpi: disagrees about version of symbol module_layout
then install the version from https://github.com/Cpasjuste/recalbox/releases
and with this driver
/etc/modprobe.d$ dmesg | grep mk_arcade
[24.146656] mk_arcade_joystick_rpi: loading out-of-tree module taints kernel.
[24.147138] mk_arcade_joystick_rpi: `2a 'invalid for parameter` hkmode'
[24.282258] mk_arcade_joystick_rpi: `2a 'invalid for parameter` hkmode'
[24.734785] mk_arcade_joystick_rpi: Freeplay Button Driver
[24.734794] mk_arcade_joystick_rpi: pad type: 4
[24.734799] mk_arcade_joystick_rpi: Custom device needs gpio argument
[24.862472] mk_arcade_joystick_rpi: Freeplay Button Driver
[24.862478] mk_arcade_joystick_rpi: pad type: 4
[24.862481] mk_arcade_joystick_rpi: Custom device needs gpio argument
I tried several options settings in modprobe, but did not achieve anything, that is the closest I was to working, which I am not sure if this driver has in its code the addon of L2 and R2, I attached it in case at any time it can See it, I am already very grateful to you
ps: rename the attachment as txt. to .ko
greetings and thanks!