l2/r2 analog stick board
#41
(05-26-2020, 02:05 AM)nuke_arg Wrote:
(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!!!
this is my log with the configuration that it told me

/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!


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