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

    Problem with XPAD since latest update

    Scheduled Pinned Locked Moved Help and Support
    update issuexpad fail
    9 Posts 3 Posters 533 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.
    • M
      mbernier
      last edited by

      Pi Model or other hardware: RPi400
      Power Supply used: CanaKit 3.5A USB-C
      RetroPie Version Used: 4.8.9 (latest)
      USB Devices connected:

      • wireless dongle of Logitech F710
      • Kingston 240 GB SSD using SATA to USB3 adaptor (boots from there)
        Controller used: Logitech F710
        Error messages received: Failed to update XPAD driver after UPDATE
        Emulator: none

      Hello,

      I have problem since an update (from the retropie update menu): At the end of the process i received a popup with FAILED TO INSTALL XPAD driver (instead of the habitual update sucessful message). After pressing F4 and do a REBOOT command, i entered in a strange error mode (not sure of the correct name) but i was able to reboot it again and it booted normaly (without F710 working of course).

      Now the F710 no longer works so i tried to re-execute sudo ./RetroPie-Setup/retropie_setup.sh manually and looked at rps_2025-01-08_020037.log and saw this:


      Deleting module version: 0.4
      completely from the DKMS tree.

      Done.

      Creating symlink /var/lib/dkms/xpad/0.4/source ->
      /usr/src/xpad-0.4

      DKMS: add completed.

      Kernel preparation unnecessary for this kernel. Skipping...

      Building module:
      cleaning build area...
      make -j4 KERNELRELEASE=5.10.103-v7l+ KVERSION=5.10.103-v7l+...(bad exit status: 2)
      Error! Bad return status for module build on kernel: 5.10.103-v7l+ (armv7l)
      Consult /var/lib/dkms/xpad/0.4/build/make.log for more information.
      Failed to install xpad

      Is there something i can do to fix that ?

      Regards,

      Martin

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

        The problem is the upstream repository, which added some features in the driver which are not compatible with the (old) Linux kernel version we have.

        I'll see if we can fix this without pinning the xpad version.

        EDIT: looks like the new version of xpad would build only with Linux kernel 6.5 or later, which may affect also Ubuntu/Debian users.

        M 1 Reply Last reply Reply Quote 1
        • M
          mbernier @mitu
          last edited by

          @mitu Thanks for this update !

          I understand that the solution will be to pin xpad with using the next update on retropie setup script that will come in the near future ?

          Thanks again !

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

            @mbernier said in Problem with XPAD since latest update:

            I understand that the solution will be to pin xpad with using the next update on retropie setup script that will come in the near future ?

            That would be just a workaround. I've asked the xpad repository developer and they said that the breakage should be just temporary and they'll fix the build for older kernels also.

            As such, I'm inclinded to wait a bit before adding a workaround in RetroPie, if the upstream repository gets fixed then no update (in RetroPie-Setup) should be needed, just a simple re-install for xpad.

            I'll keep this topic updated when a decision/solution is added.

            1 Reply Last reply Reply Quote 1
            • T
              trauschu
              last edited by

              How ironic that I haven't updated my RetroPie image in 2+ years and I decided to do it yesterday, only to hit the same xpad bug (that was released this week) :D

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

                OK, we added a (temporary ?) workaround to fix the installation of xpad, until upstream fixes it.

                You'll need to update RetroPie-Setup and then update/re-install xpad and it should install succesfully. Let me know if the functionality is also ok after the changes.

                M 1 Reply Last reply Reply Quote 2
                • T
                  trauschu
                  last edited by trauschu

                  I did the following:

                  1. Restored my sdcard .IMG from a backup I made in July 2022.
                  2. Did a full update of all RetroPie packages including kernel.
                  3. Performed a manual update of xpad from source.
                  4. Cleared all EmulationStation control configs

                  No xpad error messages during any updates.

                  After rebooting clean, I plugged in my wired XBox One controller.

                  I was able to correctly reconfigure the XBox One controller, and everything works as expected.

                  Thank you!

                  1 Reply Last reply Reply Quote 0
                  • M
                    mbernier @mitu
                    last edited by

                    @mitu Thanks, I re-executed ./RetroPie-Setup/retropie_setup.sh manually from an up-to-date (4.8.9) version and it is working now ! When the upstream repository will be fixed, is there anything we will need to do or it will be fully transparent ?

                    Thanks again !

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

                      @mbernier said in Problem with XPAD since latest update:

                      When the upstream repository will be fixed, is there anything we will need to do or it will be fully transparent ?

                      Just a regular update will be enough, but it's not going to be mandatory.

                      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.