Retropie 4.5 mk_arcade_joystick driver doesn't works
-
Hi, i tried to install Retropie 4.5 on my GBA SP with RPi Zero, SPI display and GPIO wired with the buttons on original MB's GBA SP, only GPIO buttons are not detected as a connected controller.
All works good with Retropie 4.4 and Recalbox 6 -
Looks like a similar situation with the gamecon driver - the driver is not updated for recent Linux kernel versions and the compilation fails.
-
@nicsil I have a modified version of the driver, which should work with the new RetroPie version - will you be willing to give it a try ? It involves some command line action, but it should be fairly easy to get it running.
-
@mitu latest RetroPie setup downgrades kernel if updating system packages. That would be a quick fix.
-
@mitu said in Retropie 4.5 mk_arcade_joystick driver doesn't works:
@nicsil I have a modified version of the driver, which should work with the new RetroPie version - will you be willing to give it a try ? It involves some command line action, but it should be fairly easy to get it running.
yes, i want try, i'm good with bash
-
@nicsil you also have the alternative @buzz offered (whilst still using RetroPie 4.5).
If you want to try my fix, then you'll need a few commands, which you can issue from the command line - exiting from Emulationstation or via SSH.cd $HOME/RetroPie-Setup git remote add cmitu https://github.com/cmitu/RetroPie-Setup/ git checkout --track cmitu/mk-update # install the fixed driver sudo ./retropie_packages.sh mkarcadejoystick
If the last command is successful, then the driver is installed - you can check with
dkms status
Make sure the driver is configured and see if it work with your GPIO setup.
To revert to the default RetroPie repository, run again
cd $HOME/RetroPie-Setup git checkout origin/master git remote remove cmitu
EDIT: before running the commands, check your kernel version with
uname -r
The fix applies to versions
4.15
and up, so if you have4.14.something
, then you don't need the fix. -
@mitu said in Retropie 4.5 mk_arcade_joystick driver doesn't works:
git checkout --track cmitu/mk-update
this is my output:
pi@retropie:~/RetroPie-Setup $ git checkout --track cmitu/mk-update
fatal: Cannot update paths and switch to branch 'mk-update' at the same time.
Did you intend to checkout 'cmitu/mk-update' which can not be resolved as commi? -
@nicsil I think I forgot one command. Run
git fetch --all
before 2nd command, the
git checkout ...
. command. -
@mitu it's ok, works good thanks
-
@nicsil That's great. Can you run
uname -r
and post the output, just to be sure what Linux Kernal version you're using ? -
pi@retropie:~ $ uname -r
4.19.50+
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.