“Failed to start load kernel modules” (SOLVED)
-
@cynital From the looks of it, you're using
xboxdrv
- remove it and reboot. Then- update the RetroPie script
- update the
xpad
driver from the RetroPie driver section.
Reboot and then see if you can configure both your controllers.
-
@mitu i removed xboxdrv and rebooted then i updated retropie set up script then rebooted then updated xpad then rebooted still cant configure the xbox one afterglow wired controller, it also says in the command thing failed to start load kernel modules, the main goal is to get this controller to work
-
@mitu i pasted it again https://pastebin.com/DCFh33E7 also if you want me to do dmesg | nc termbin.com 9999 i can
-
@mitu ok so the error is gone and it and does say failed it says active heres a updated pastebin https://pastebin.com/twN4P9Hb and this http://termbin.com/abs5 that problem is solved but the controller will not config still
-
The controller appears right now, but I don't think it's picking the correct Xbox driver (
xpad
) - it's not recognised as an Xbox controller.[ 2.738041] usb 1-1.3: New USB device found, idVendor=0e6f, idProduct=02b8 [ 2.738079] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.738091] usb 1-1.3: Product: Afterglow Wired Controller for Xbox One [ 2.738099] usb 1-1.3: Manufacturer: Performance Designed Products [ 2.738108] usb 1-1.3: SerialNumber: 000094D554F64414
-
@mitu then what do i do?
-
@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?
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.