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

    Gamepad buttons stop working in retropie-setup 4.2.12

    Scheduled Pinned Locked Moved Help and Support
    gameconretropie-setupcontrollergamepad
    65 Posts 10 Posters 17.9k 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.
    • obsidianspiderO
      obsidianspider
      last edited by

      For what it's worth, I am having the same issue, I think.I'm on 4.2.12 on my SFC pi with a raphnet USB SNES controller adapter.

      I was trying to install lr-snes9x tonight and while I can use the D pad in retropie-setup, I can't confirm anything or exit out of it. I tried plugging in my second controller, but no dice. The controllers work just fine in emulationstation and in games.

      I also cannot get the runcommand menu to come up when a game is loading. I used to press A but no action buttons are triggering it.

      📷 @obsidianspider

      1 Reply Last reply Reply Quote 0
      • DarksaviorD
        Darksavior @MrPotato
        last edited by Darksavior

        @mrpotato I'll keep at it. so far it's not seeing the email address I put in. This is just ridiculous that I have to do this at all. Still getting revert failed.
        Edit: actually, I give up since there's not much else to do. I'll wait for 4.2.13 or whatever officially fixes it.
        Edit2: for whatever I was doing, seems the problem is fixed despite getting revert failed.

        1 Reply Last reply Reply Quote 0
        • obsidianspiderO
          obsidianspider
          last edited by

          Considering @Darksavior having a bit of success, I updated to the newest revision of 4.1.2, which as of right now is (bda4718) and the problem is still present.

          📷 @obsidianspider

          1 Reply Last reply Reply Quote 0
          • M
            MrPotato
            last edited by

            I've unplugged one controller. With a single controller, I have most functionality. Obviously won't work long term since we use both regularly, but at least I can rock it solo for now.

            1 Reply Last reply Reply Quote 0
            • P
              psyke83 Global Moderator
              last edited by psyke83

              Can someone with the controller issue please test this modified script?

              Enter the retropie-setup folder:

              cd RetroPie-Setup
              

              Undo any changes if you followed my prior steps to revert the commit:

              git reset --hard origin/master
              

              Fetch and apply the patch:

              wget https://gist.githubusercontent.com/psyke83/9a0b31bcd8f43d16d081462363741f35/raw/4ce063642e9088c3faa541d965d439d50c951101/joy2key.patch
              patch -p1 <joy2key.patch
              

              If everything goes as expected, you should see:

              patching file scriptmodules/supplementary/runcommand/joy2key.py
              

              If there are no further messages/errors, then the patch was applied and is ready to test.

              Slightly OT: guys & gals, try not to complain too much. The Pi itself is supposed to be a hobbyist board to encourage people to learn Linux & programming. That may not be your intended purpose, but keep an open mind. If you don't want to go near a terminal, leave it to someone else to test & and wait for the inevitable fix to be merged. The problem was my fault, but I don't have a second pad available so it's difficult for me to reproduce the issue.

              DarksaviorD 1 Reply Last reply Reply Quote 0
              • DarksaviorD
                Darksavior @psyke83
                last edited by Darksavior

                @psyke83 I'm using a backup I made last month and with just updating the script to 4.2.12 to introduce the bug, I ran the patcher and did nothing.

                P 1 Reply Last reply Reply Quote 0
                • P
                  psyke83 Global Moderator @Darksavior
                  last edited by

                  @darksavior You mean it didn't fix the problem?

                  Once the patch is applied you still need to enter the retropie-setup menu yourself.

                  DarksaviorD 1 Reply Last reply Reply Quote 0
                  • DarksaviorD
                    Darksavior @psyke83
                    last edited by Darksavior

                    @psyke83 Yea, that's what I meant. The patcher did do the patching, but it did not fix the problem.

                    1 Reply Last reply Reply Quote 0
                    • P
                      psyke83 Global Moderator
                      last edited by

                      Please try the second patch:

                      cd RetroPie-Setup
                      git reset --hard origin/master
                      wget -N https://gist.githubusercontent.com/psyke83/9a0b31bcd8f43d16d081462363741f35/raw/89fae3f4a7a6309fd7cc5863ed62f245f84c729f/joy2key.patch
                      patch -p1 <joy2key.patch
                      
                      DarksaviorD 1 Reply Last reply Reply Quote 1
                      • DarksaviorD
                        Darksavior @psyke83
                        last edited by Darksavior

                        @psyke83 That works. Many thanks.
                        I also retested it again from my old backup. I update script to 4.2.12, bug introduced, exit retropie-setup, added your patch, re-enter retropie-setup and controls work again.

                        1 Reply Last reply Reply Quote 1
                        • P
                          psyke83 Global Moderator
                          last edited by

                          TY. I've submitted the patch via PR #2059.

                          Keep using the patch until the PR has been accepted & merged. When it's merged, you'll need to do a hard reset to clear the local changes or else the script update will fail.

                          cd RetroPie-Setup
                          git reset --hard origin/master
                          
                          DarksaviorD 1 Reply Last reply Reply Quote 1
                          • DarksaviorD
                            Darksavior @psyke83
                            last edited by

                            @psyke83 bit offtopic, but I want to try your gamecon fix if you can provide the instructions. I've been stuck on 4.4 kernel because of that.

                            P 1 Reply Last reply Reply Quote 0
                            • M
                              MrPotato
                              last edited by

                              Had signed off last night so just seeing the updates.
                              I'm back in reset normal mode -- I think I'll plan to wait for merge and verify everything comes through then. I can live with the nuances until then without much issue, and it will give another datapoint just in case.
                              Thanks, psyke83!

                              theWinterDojerT 1 Reply Last reply Reply Quote 0
                              • theWinterDojerT
                                theWinterDojer @MrPotato
                                last edited by

                                @mrpotato Should I wait to update anything until the patch is accepted? I have iBuffalo controllers as well and I'm guessing whatever happened will break them by updating?

                                1 Reply Last reply Reply Quote 0
                                • P
                                  psyke83 Global Moderator @Darksavior
                                  last edited by psyke83

                                  @darksavior said in Gamepad buttons stop working in retropie-setup 4.2.12:

                                  @psyke83 bit offtopic, but I want to try your gamecon fix if you can provide the instructions. I've been stuck on 4.4 kernel because of that.

                                  See this topic: https://retropie.org.uk/forum/topic/11925/gamecon_gpio_rpi-1-2-1-kernel-4-9-build-fix

                                  Please be sure to give feedback in that topic, and keep in mind that I could only verify that the module builds, but not that it actually works.

                                  @thewinterdojer said in Gamepad buttons stop working in retropie-setup 4.2.12:

                                  @mrpotato Should I wait to update anything until the patch is accepted? I have iBuffalo controllers as well and I'm guessing whatever happened will break them by updating?

                                  The patch is already merged, so feel free to update right now (making sure to do the hard reset beforehand, if necessary, as I mentioned in my prior post).

                                  theWinterDojerT M 2 Replies Last reply Reply Quote 2
                                  • theWinterDojerT
                                    theWinterDojer @psyke83
                                    last edited by

                                    @psyke83 Okay thanks, will performing the hard reset change any other settings or configs I should worry about?

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      psyke83 Global Moderator @theWinterDojer
                                      last edited by

                                      @thewinterdojer said in Gamepad buttons stop working in retropie-setup 4.2.12:

                                      @psyke83 Okay thanks, will performing the hard reset change any other settings or configs I should worry about?

                                      I don't know what you've done. Generally speaking, RetroPie-Setup should always be free from local changes in order for the script to successfully update itself. If you're not manually changing stuff, then it's likely that you can reset it without worrying.

                                      You only need to do it for certain if you tried those "git revert" commands I suggested in earlier posts.

                                      1 Reply Last reply Reply Quote 1
                                      • M
                                        MrPotato @psyke83
                                        last edited by

                                        @psyke83 said in Gamepad buttons stop working in retropie-setup 4.2.12:

                                        The patch is already merged

                                        Sweet. I'll try to give it a whirl a little later today.

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          MrPotato
                                          last edited by

                                          Works like a champ!

                                          1 Reply Last reply Reply Quote 0
                                          • edmaul69E
                                            edmaul69 @psyke83
                                            last edited by

                                            @psyke83 i had it working but i get that same error trying to update retropie-setup now. And if i try to do the revert as both pi and root user it gives me that same error. @meleu had me remove and reinstall joy2key and sadly that no longer works now either.

                                            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.