Xpad driver installation issue - not existing commit
-
Hi all
Today i installed RetroPie on an RPi4 by using RaspberryPi Imager:
RespberryPi4 - RetroPie 4.8 (RPi 4/400)After installing & Updating I inserted controller and it didn't work.
After some tries, i took a look into this forum, but findings didn't resolve the issue.Do you have an idea? Thanks a lot :)
At the end it seems a wrong reference to git repo is part of any config or execution script:
Log started at: Sat 25 Jan 20:59:55 GMT 2025 RetroPie-Setup version: 4.8.9 (ded0a28e) System: rpi4 (armv7l) - Raspbian GNU/Linux 10 (buster) - Linux retropie 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux = = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'xpad' : Updated Xpad Linux Kernel driver = = = = = = = = = = = = = = = = = = = = = /home/pi/RetroPie-Setup/tmp/build/xpad /home/pi = = = = = = = = = = = = = = = = = = = = = Getting sources for 'xpad' : Updated Xpad Linux Kernel driver = = = = = = = = = = = = = = = = = = = = = git clone --recursive --branch master "https://github.com/paroj/xpad.git" "/opt/retropie/supplementary/xpad" Cloning into '/opt/retropie/supplementary/xpad'... Winding back https://github.com/paroj/xpad.git->master to commit: #af6ff9b fatal: 'af6ff9b' is not a commit and a branch 'af6ff9b' cannot be created from it HEAD is now in branch 'master' at commit 'ffc6910bf4e089288a500935bee49216a5017836' patching file xpad.c Hunk #1 succeeded at 85 with fuzz 2 (offset -1 lines). Hunk #2 succeeded at 2367 with fuzz 2 (offset 583 lines). Successfully applied patch: /home/pi/RetroPie-Setup/scriptmodules/supplementary/xpad/01_enable_leds_and_trigmapping.diff patching file dkms.conf Successfully applied patch: /home/pi/RetroPie-Setup/scriptmodules/supplementary/xpad/02_dkms_updates_folder.diff patching file xpad.c Hunk #1 succeeded at 2606 with fuzz 2 (offset 109 lines). Successfully applied patch: /home/pi/RetroPie-Setup/scriptmodules/supplementary/xpad/03_xpad_add_version.diff patching file xpad.c Hunk #1 FAILED at 1470. Hunk #2 succeeded at 1562 with fuzz 1 (offset 57 lines). Hunk #3 FAILED at 1571. Hunk #4 FAILED at 1591. Hunk #5 FAILED at 1605. Hunk #6 FAILED at 1621. Hunk #7 succeeded at 1900 with fuzz 2 (offset 182 lines). Hunk #8 FAILED at 1726. Hunk #9 FAILED at 1736. Hunk #10 FAILED at 1745. Hunk #11 FAILED at 1752. Hunk #12 FAILED at 1818. Hunk #13 FAILED at 1874. Hunk #14 FAILED at 1907. Hunk #15 FAILED at 2037. Hunk #16 FAILED at 2060. Hunk #17 FAILED at 2522. Hunk #18 FAILED at 2536. 16 out of 18 hunks FAILED -- saving rejects to file xpad.c.rej Error running 'git -C /opt/retropie/supplementary/xpad checkout -f af6ff9b -b af6ff9b' - returned 128 xpad patch /home/pi/RetroPie-Setup/scriptmodules/supplementary/xpad/04-revert-guard-usage.diff failed to apply /home/pi Log ended at: Sat 25 Jan 20:59:58 GMT 2025 Total running time: 0 hours, 0 mins, 3 secs
-
@00Hugo said in Xpad driver installation issue - not existing commit:
After installing & Updating I inserted controller and it didn't work.
What type of controller(s) ? Please add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first to your pos.t
At the end it seems a wrong reference to git repo is part of any config or execution script [...]
Remove the
xpad
package and install it again - but it will only be of use if you have an XBox (or Xbox compatible) wired controller. -
Hi
First: Thanks for the fast response.
You're right, i missed the information. This logging output was from third uninstall/install iteration from Xpad. So this will not resolve by doing it again. It seems there was some Merge happens in past, and the installation configuration / script references to some old branch, which doesn't exist anymore.
About the controllers:
They could be the best investment of the century or just cheap trash. I'm not sure.
They were sold as PS3 bluetooth controller. But Windows detect them as XBox controller. Also the bluetooth makes troubles and windows is not able to detect them. I will investigate further.By just plug them to the Pi (by cable), Pi detect the controller, but doesn't detect a ButtonPress.
So I install driver for PS3 -> as described in PS3 RetroPie description and tried both drivers (sixaxis/ps3controller) -> doesn't work. Buttons were not detected.So i tried if Win detect button pressed on an controller test web page. That works. So windows web page detect the button.
Should i provide more logs? Its no problem, then i will flash Pi again and push all logs here
-
@00Hugo said in Xpad driver installation issue - not existing commit:
This logging output was from third uninstall/install iteration from Xpad. So this will not resolve by doing it again. It seems there was some Merge happens in past, and the installation configuration / script references to some old branch, which doesn't exist anymore.
Try updating RetroPie-Setup now and install the driver, it should work.
-
Thanks a lot :)
That resolves the issue. Xpad was installed successfully :)
by connect the controller to usb the buttons was detected now and i was able to set them up :)in parrallel I was able to enable bluetooth :) And the controller was paired now in setup :)
One question regarding that: The controller is paired now in Bluetooth setup, but why it is not visible as device in "Configure Input"?
-
@00Hugo said in Xpad driver installation issue - not existing commit:
One question regarding that: The controller is paired now in Bluetooth setup, but why it is not visible as device in "Configure Input"?
Maybe it needs another driver (
xpadneo
) ? As I said,xpad
is used only for wired Xbox compatible drivers.
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.