“Failed to start load kernel modules” (SOLVED)
-
@mitu is there a way i could make it work? or anything
-
@cynital Give me a few minutes to see if we can pull this off.
-
@mitu alright thank bro for all your time, at least we solved the "failed" issue, just let me know when you find a way or something
-
OK, since you're the only one with said controller, you have to compile a new driver version. So:
- exit Emulationstation
- open the driver's package script in an editor - run the command
nano /home/pi/RetroPie-Setup/scriptmodules/supplementary/xpad.sh
- edit line 28 and replace
gitPullOrClone "$md_inst" https://github.com/paroj/xpad.git
with
gitPullOrClone "$md_inst" https://github.com/cmitu/xpad.git
then save the file (
Ctrl+o
to save,confirm then exit withCtrl+X
).- reinstall the
xpad
driver from the RetroPie-Setup script then reboot. See if the controller is detected and you can configure it.
After you do the steps above, you need to revert the changes you've made
- exit ES
- execute
cd RetroPie-Setup
- then run
git reset --hard
Report back if it worked or not.
-
@mitu what line is 28
-
@mitu tu i replaced it and reinstalled xpad and rebooted still doesnt work did i have to update retropie setup script too?
-
@mitu did that too i went back and check if line 28 saved and it did, i uninstalled xpad then went to command made sure to save then i went to install xpad again rebooted then try to config it doesnt work
-
@mitu i found this if this will help https://retropie.org.uk/forum/topic/3200/afterglow-prismatic-wired-controller-for-xbox-one/3
-
Oh and also @mitu this is my controller https://amzn.to/2tOjFI6
The problem might be that you might be looking how to do this other one https://amzn.to/2tCPfsX
They are very similar but one has different firmware i think but its the same company, but ik my controller is still possible to be used on the pi I edited the 28 line like you said and did everything but still doesn’t work -
@cynital Post the
dmesg
after you updated the driver and rebooted, just to check if the gamepad is now detected as an Xbox controller.EDIT: I made some modifications, you should try to install it again as I mentioned in https://retropie.org.uk/forum/topic/18378/failed-to-start-load-kernel-modules/34 and reboot, then see if the controller gets detected. If not, execute
dmesg | nc termbin.com 9999
and post the link. -
i am trying it again @mitu and if it doesnt work ill post the dmesg
-
@mitu it finally works!! thank you so much i revert the changes and booted it up and still works thanks!!!
-
@cynital OK, now what you did was install a patched version of the
xpad
driver, but if you update it, it will install the default driver again and you'll be in the same situation.I'll submit the patch to the official driver page so it would be included in the future.
-
so im going always have to do this or they are going to add it?
-
@cynital Let's just give it a bit of time, the patch will probably be accepted.
-
@mitu you told them to pacth it?
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.