I think the latest xpad driver (Aug 14, 2021) is broken
-
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.
-
After the update try to reconfigure your controller.
-
@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).
-
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
-
-
@mitu Yes is working with the commit (389e25)
-
@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.
-
-
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
-
@the_loaf You'll need to re-install the
xpad
driver package from RetroPie-Setup (after you've made the modification) and then reboot. -
@mitu oh thank you
-
@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-975523131It seems that they have fix the bug, but when I try to install the new version I have an error Failed to install xpad
-
@windg Yeah, it's a code error. Left a message on the issue with the compilation error.
-
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 -
@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.
-
@mitu I am using a ps4 controller so I probally don't need it at all? :-)
-
Got also the xpad compile error. Both shoulder buttons of my xpad were not recognized. After commit (389e25) all is fine again.
-
@tiedemann What controller are you using ?
-
@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 ?
-
@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!
-
-
-
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.