Lost my inputs... Any advice?
#4
(12-31-2019, 05:25 AM)zedd Wrote:
(12-31-2019, 04:30 AM)Flavor Wrote: Hey Zedd!

Well, from your post of dmesg (which was the right thing to post), we can see these lines.

[    2.288038] mk_arcade_joystick_rpi: unknown parameter 'gpi' ignored
[    2.288055] mk_arcade_joystick_rpi: unknown parameter 'gpi' ignored
[    2.288346] mk_arcade_joystick_rpi: Freeplay Button Driver
[    2.288352] mk_arcade_joystick_rpi: pad type : 4
[    2.288357] mk_arcade_joystick_rpi: Custom device needs gpio argument

When the driver is reading the conf file, it seems to be hitting some garbage.  I also see that the command you used would have added extra lines into the conf file instead of just changing the current line.

sudo sh -c 'echo "options mk_arcade_joystick_rpi map=4 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,42,43,41,40 hkmode=2" >> /etc/modprobe.d/mk_arcade_joystick.conf'

That would add a line, and if there were already lines there, it would now have multiple lines.  

Can you post the output of
cat /etc/modprobe.d/mk_arcade_joystick.conf

Then, I think we can get to the bottom of things quicker.  What you will likely want to do is actually

sudo nano /etc/modprobe.d/mk_arcade_joystick.conf

And remove the extra lines and modify the one line you need.  You will only want ONE SINGLE line in that file (that doesn't start with #).


Ah thank you for your advice. I checked, and you were absolutely right that I had too many lines of options active:

cat /etc/modprobe.d/mk_arcade_joystick.conf

options mk_arcade_joystick_rpi map=4 gpi=4,17,6,5,19,26,16,24,23,18,15,14,-20,-1,-1,-1,-1,-1,-1,-1,-1 hkmode=2
options mk_arcade_joystick_rpi map=4 gpi=4,17,6,5,19,26,16,24,23,18,15,14,-20,42,43,41,40,-1,-1,-1,-1 hkmode=2

I added the # to the one line, and double checked to see I had put it in right, so the next time I checked, it looked right:

#options mk_arcade_joystick_rpi map=4 gpi=4,17,6,5,19,26,16,24,23,18,15,14,-20,-1,-1,-1,-1,-1,-1,-1,-1 hkmode=2
options mk_arcade_joystick_rpi map=4 gpi=4,17,6,5,19,26,16,24,23,18,15,14,-20,42,43,41,40,-1,-1,-1,-1 hkmode=2

Rebooted, and it still doesn't seem to recognize the inputs. I tried to configure, and it does not recognize that they are there, and only wants to take inputs from my keyboard.
This is the recent dmesg:

[    2.258149] mk_arcade_joystick_rpi: loading out-of-tree module taints kernel.
[    2.258979] mk_arcade_joystick_rpi: unknown parameter 'gpi' ignored
[    2.259424] mk_arcade_joystick_rpi: Freeplay Button Driver
[    2.259434] mk_arcade_joystick_rpi: pad type : 4
[    2.259444] mk_arcade_joystick_rpi: Custom device needs gpio argument
Reply


Messages In This Thread
Lost my inputs... Any advice? - by zedd - 12-30-2019, 05:19 AM
RE: Lost my inputs... Any advice? - by Flavor - 12-31-2019, 04:30 AM
RE: Lost my inputs... Any advice? - by zedd - 12-31-2019, 05:25 AM
RE: Lost my inputs... Any advice? - by zedd - 12-31-2019, 05:31 AM
RE: Lost my inputs... Any advice? - by Flavor - 01-03-2020, 06:12 AM
RE: Lost my inputs... Any advice? - by zedd - 01-03-2020, 09:53 AM
RE: Lost my inputs... Any advice? - by zedd - 01-04-2020, 01:57 PM
RE: Lost my inputs... Any advice? - by Flavor - 01-07-2020, 04:17 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)