Installation of Xpad driver failed.
-
@mitu Thanks you, now the installation was succesful with
arm_64bit=0
. I didn't add anything to theconfig.txt
file.
It looks that something changed from the Raspberry OS.: https://forums.raspberrypi.com/viewtopic.php?t=349291Edit: i try with
arm_64bit=1
and it's failing too. -
@windg said in Installation of Xpad driver failed.:
It looks that something changed from the Raspberry OS.: https://forums.raspberrypi.com/viewtopic.php?t=349291
Yes, that happened some time ago on the Raspi OS bullseye release when the kernel was upgraded to 6.1, but RetroPie uses the old (buster) release, which still uses the old LTS kernel (5.10.x).
Seems like this change was added also to the legacy Raspi OS, which is unfortunate and a poor move for a system which should get only security updates.EDIT: I've asked in the RPI forums if the change was an error or the bootloader upgrade was intended. We'll see how we tackle this depending on the response.
-
-
-
-
@mitu I am not sure if this helps very much and yeah I am new but. Same issue and I think the issue is more that the recent update is failing to install the headers. When I look at the file system both folder /lib/modules/5.10.103-v8+/build or /lib/modules/5.10.103-v8+/source are not there. Attempting to reinstall the raspberrypi-kernel-headers package errors out (after a long time but it eventually gives up). Example error that happen are "Error! Bad return status for module build on kernel: 5.10.103-v8+ (aarch64)" and says to consult the make.log. Does this for both xpad and xpadneo. Other errors are the exact same however referencing different kernel numbers. When looking at the log for xpad that specially is for this kernel:
The end result seems to be that after this retroarch no longer recognizes the old controller combos to both exit or go to retroarch menu (my controller still works thankfully). Workaround for that for me has been to manually set hotkey button combos inside of retroarch and save the config
-
@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.
-
It looks that is affect and the building of
lr-swanstation
from Retropie-Extra repo. So, if someone want to install this emulator add thearm_64bit=0
toconfig.txt
file, reboot and then try again.log from fail building : https://pastebin.com/yCkm9L2U
-
@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?
-
This post is deleted! -
@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 runsudo nano /boot/config.txt
to edit the file after you exit EmulationStation.
-
@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. -
@mitu Thank you. Just tried it and worked for xpad and a couple of the others that were running into the same thing
-
@mitu Thanks for your help. Read it yesterday, tried it and it helped my build too. Best Regards
-
It looks that the change that was added to Raspi Buster Lite, was a mistake. Soon an update will fix this.
-
-
@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. -
@windg Nice.
-
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.