• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Installation of Xpad driver failed.

Scheduled Pinned Locked Moved Help and Support
xpadxpad fail
16 Posts 4 Posters 1.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.
  • M
    mitu Global Moderator
    last edited by 7 May 2023, 04:34

    @stabicron said in Installation of Xpad driver failed.:

    Same issue and I think the issue is more that the recent update is failing to install the headers
    ...

    The headers are installed, but they're not properly configured for the 64bit kernel:

    pi@retropie:~ $ dpkg -l | grep kernel-headers
    ii raspberrypi-kernel-headers 1:1.20230425~buster-1 armhf Header files for the Raspberry Pi Linux kernel
    pi@retropie:~ $ ls -ld /lib/modules/5.10.103-v8+/build
    ls: cannot access '/lib/modules/5.10.103-v8+/build': No such file or directory
    pi@retropie:~ $ ls -ld /lib/modules/5.10.103-v7l+/build
    lrwxrwxrwx 1 root root 36 Mar 8 2022 /lib/modules/5.10.103-v7l+/build -> /usr/src/linux-headers-5.10.103-v7l+

    Just apply the workaround I posted above and reboot, then the drivers can be installed without the build errors.

    S 1 Reply Last reply 7 May 2023, 07:18 Reply Quote 0
    • W
      windg
      last edited by windg 5 Jul 2023, 07:59 7 May 2023, 06:56

      It looks that is affect and the building of lr-swanstation from Retropie-Extra repo. So, if someone want to install this emulator add the arm_64bit=0 to config.txt file, reboot and then try again.

      log from fail building : https://pastebin.com/yCkm9L2U

      M 1 Reply Last reply 7 May 2023, 07:30 Reply Quote 0
      • S
        stabicron @mitu
        last edited by 7 May 2023, 07:18

        @mitu Forgive me if this seems obvious but I do not see where the config.txt file is stored in this thread. Where is it?

        W M 2 Replies Last reply 7 May 2023, 07:27 Reply Quote 0
        • W
          windg @stabicron
          last edited by 7 May 2023, 07:27

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M
            mitu Global Moderator @stabicron
            last edited by 7 May 2023, 07:28

            @stabicron It's on the boot partition of the sdcard and you also can find it at /boot/config.txt from your running system. You can run

            sudo nano /boot/config.txt
            

            to edit the file after you exit EmulationStation.

            S 1 Reply Last reply 7 May 2023, 17:32 Reply Quote 0
            • M
              mitu Global Moderator @windg
              last edited by 7 May 2023, 07:30

              @windg said in Installation of Xpad driver failed.:

              It looks that is affect and the building of lr-swanstation from Retropie-Extra repo

              It's going to affect more than one package, there are quite a few emulators that use uname -m to determine if the system is 32 or 64bit and set the build parameters accordingly. There's no point in keeping track of them, since running a mixed 64/32bit kernel/userspace is not a very common configuration.

              1 Reply Last reply Reply Quote 0
              • S
                stabicron @mitu
                last edited by 7 May 2023, 17:32

                @mitu Thank you. Just tried it and worked for xpad and a couple of the others that were running into the same thing

                1 Reply Last reply Reply Quote 0
                • M
                  MaXxOnRP @mitu
                  last edited by MaXxOnRP 5 Sept 2023, 13:21 9 May 2023, 10:31

                  @mitu Thanks for your help. Read it yesterday, tried it and it helped my build too. Best Regards

                  1 Reply Last reply Reply Quote 1
                  • W
                    windg
                    last edited by 9 May 2023, 14:19

                    It looks that the change that was added to Raspi Buster Lite, was a mistake. Soon an update will fix this.

                    M 1 Reply Last reply 11 May 2023, 11:49 Reply Quote 2
                    • M mitu referenced this topic on 10 May 2023, 02:44
                    • M
                      mitu Global Moderator
                      last edited by 11 May 2023, 08:45

                      @windg said in Installation of Xpad driver failed.:

                      Soon an update will fix this

                      The updated packages (kernel/firmware-bootloader) for have been released for Buster, the modifications suggested earlier to config.txt should not be needed anymore.

                      1 Reply Last reply Reply Quote 2
                      • M
                        MaXxOnRP @windg
                        last edited by 11 May 2023, 11:49

                        @windg Nice.

                        1 Reply Last reply Reply Quote 0
                        • M mitu unpinned this topic on 15 May 2023, 03:14
                        15 out of 16
                        • First post
                          15/16
                          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.

                          This community forum collects and processes your personal information.
                          consent.not_received