RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Retropie 4.5 mk_arcade_joystick driver doesn't works

    Scheduled Pinned Locked Moved Help and Support
    gpio controllerraspberry pi 0gba sp
    11 Posts 3 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nicsil
      last edited by

      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

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Looks like a similar situation with the gamecon driver - the driver is not updated for recent Linux kernel versions and the compilation fails.

        BuZzB 1 Reply Last reply Reply Quote 1
        • mituM
          mitu Global Moderator @nicsil
          last edited by

          @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.

          N 1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @mitu
            last edited by

            @mitu latest RetroPie setup downgrades kernel if updating system packages. That would be a quick fix.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • N
              nicsil @mitu
              last edited by

              @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

              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by mitu

                @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 have 4.14.something, then you don't need the fix.

                N 1 Reply Last reply Reply Quote 0
                • N
                  nicsil @mitu
                  last edited by

                  @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?

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @nicsil
                    last edited by mitu

                    @nicsil I think I forgot one command. Run

                    git fetch --all
                    

                    before 2nd command, the git checkout .... command.

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      nicsil @mitu
                      last edited by

                      @mitu it's ok, works good thanks

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @nicsil
                        last edited by

                        @nicsil That's great. Can you run uname -r and post the output, just to be sure what Linux Kernal version you're using ?

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          nicsil @mitu
                          last edited by

                          @mitu

                          pi@retropie:~ $ uname -r
                          4.19.50+

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          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.