12-31-2019, 04:30 AM
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 #).
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 #).
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )