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

    I think the latest xpad driver (Aug 14, 2021) is broken

    Scheduled Pinned Locked Moved Help and Support
    xpad
    20 Posts 6 Posters 2.7k 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.
    • Y
      yewox50273
      last edited by

      Did a "update all packages" because, why not, and suddenly my HORI Fighting Commander for PS3/PS4 would not respond as soon as the update is finished.

      After reboot, ES shows me a "gamepad not detected". Then I proceeded to make a brand new Retropie image and booted from there, and the HORI worked then. As soon as I did another "update all packages", the HORI stopped working. So I knew it's not because of something that I did.

      /proc/bus/input/devices shows "Generic X-box pad" so I know it sees it, but not using it for some reasons.

      Then I noticed xpad's git was updated yesterday for the first time in 7 months. So I uninstalled xpad, git'd the baca3e2 tree off github to the Pi, and "sudo dkms install -m xpad -v 0.4" off that baca3e2. Sure enough, my HORI worked again.

      I'm on a Pi 3B with a HORI Fighting Commander for PS3/PS4, so I can't say if it affects other Pi + gamepad combinations. But if it does, that's the cause and solution.

      1 Reply Last reply Reply Quote 1
      • windgW
        windg
        last edited by

        After the update try to reconfigure your controller.

        My English isn't at a good level.

        Y 1 Reply Last reply Reply Quote 1
        • Y
          yewox50273 @windg
          last edited by

          @windg No.

          ES shows "gamepad not detected". You can't "reconfigure" nothingness.

          I can't tell where the link is broken, given /proc/bus/input/devices sees the gamepad fine. But in any case solution right now is either use older xpad driver or switch to xboxdrv altogether (not preferable).

          1 Reply Last reply Reply Quote 1
          • windgW
            windg
            last edited by windg

            I can confirm this problem.

            After the update, Logitech F710 doesn't work, it is like the gamepad isnt connected.
            My other gamepad Logitech F310 is working fine.

            (I mention @mitu to be aware about this problem.)

            If someone have similar problems and want to downgrade the xpad version you have to change the line in xpad.sh file :

            from

            rp_module_repo="git https://github.com/paroj/xpad.git master"
            

            to be

            rp_module_repo="git https://github.com/paroj/xpad.git master 389e258"
            

            The path for xpad.sh file is here :

            /home/pi/RetroPie-Setup/scriptmodules/supplementary/xpad.sh
            

            My English isn't at a good level.

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

              It seems some of the changes on Aug. 14 (I suspect this one) have modified the Xbox360 controllers' initialization routine.

              @windg can you try to see if the previous commit (389e25) works ?

              windgW 1 Reply Last reply Reply Quote 0
              • windgW
                windg @mitu
                last edited by

                @mitu Yes is working with the commit (389e25)

                My English isn't at a good level.

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

                  @windg Thanks for testing it out. If you have a Github account, you can open an issue on the project's repo and report the findings. I tried their debug instructions, but they haven't produced anything. Unfortunately I don't have a 360 compatible controller to test this out.

                  1 Reply Last reply Reply Quote 0
                  • windgW
                    windg
                    last edited by

                    i report it
                    https://github.com/paroj/xpad/issues/171#issue-975523131

                    My English isn't at a good level.

                    windgW 1 Reply Last reply Reply Quote 0
                    • T
                      the_loaf
                      last edited by

                      Is there something additional to run after modifying this line in xpad.sh? Changing the line and rebooting doesn’t seem to resolve the issue

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

                        @the_loaf You'll need to re-install the xpad driver package from RetroPie-Setup (after you've made the modification) and then reboot.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          the_loaf @mitu
                          last edited by

                          @mitu oh thank you

                          1 Reply Last reply Reply Quote 0
                          • windgW
                            windg @windg
                            last edited by

                            @windg said in I think the latest xpad driver (Aug 14, 2021) is broken:

                            i report it
                            https://github.com/paroj/xpad/issues/171#issue-975523131

                            It seems that they have fix the bug, but when I try to install the new version I have an error Failed to install xpad

                            log file

                            My English isn't at a good level.

                            mituM 2 Replies Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @windg
                              last edited by

                              @windg Yeah, it's a code error. Left a message on the issue with the compilation error.

                              1 Reply Last reply Reply Quote 1
                              • S
                                Simrose
                                last edited by Simrose

                                I also can't install it says failed to install xpad.

                                I tried remove and install but same thing happens I will try above method.

                                It shows installed via unknown

                                And no info in package ver info

                                Changed as advised above and installed the older version and works
                                Thanks
                                Sim

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

                                  @simrose If you have a genuine Xbox controller, you can remove the driver and you can still use it - you just need to re-configure it first in EmulationStation.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    Simrose @mitu
                                    last edited by

                                    @mitu I am using a ps4 controller so I probally don't need it at all? :-)

                                    1 Reply Last reply Reply Quote 0
                                    • TiedemannT
                                      Tiedemann
                                      last edited by

                                      Got also the xpad compile error. Both shoulder buttons of my xpad were not recognized. After commit (389e25) all is fine again.

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

                                        @tiedemann What controller are you using ?

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

                                          @windg said in I think the latest xpad driver (Aug 14, 2021) is broken:

                                          It seems that they have fix the bug, but when I try to install the new version I have an error Failed to install xpad

                                          They fixed the code now, can you try updating to the latest version and see if the controller(s) work ?

                                          windgW 1 Reply Last reply Reply Quote 0
                                          • windgW
                                            windg @mitu
                                            last edited by

                                            @mitu said in I think the latest xpad driver (Aug 14, 2021) is broken:

                                            @windg said in I think the latest xpad driver (Aug 14, 2021) is broken:

                                            It seems that they have fix the bug, but when I try to install the new version I have an error Failed to install xpad

                                            They fixed the code now, can you try updating to the latest version and see if the controller(s) work ?

                                            Yes everything is working fine now. Thanks!

                                            My English isn't at a good level.

                                            1 Reply Last reply Reply Quote 1
                                            • J jdriscol referenced this topic on
                                            • J jdriscol referenced this topic on
                                            • mituM mitu referenced this topic on
                                            • 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.