RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    “Failed to start load kernel modules” (SOLVED)

    Scheduled Pinned Locked Moved Help and Support
    errorerror on loadcontrollers
    46 Posts 2 Posters 12.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator @cynital
      last edited by

      @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.

      1 Reply Last reply Reply Quote 0
      • cynitalC
        cynital
        last edited by

        @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

        1 Reply Last reply Reply Quote 0
        • cynitalC
          cynital
          last edited by

          @mitu i pasted it again https://pastebin.com/DCFh33E7 also if you want me to do dmesg | nc termbin.com 9999 i can

          1 Reply Last reply Reply Quote 0
          • cynitalC
            cynital
            last edited by

            @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

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              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
              
              cynitalC 1 Reply Last reply Reply Quote 0
              • cynitalC
                cynital
                last edited by

                @mitu then what do i do?

                mituM 1 Reply Last reply Reply Quote 0
                • cynitalC
                  cynital @mitu
                  last edited by

                  @mitu is there a way i could make it work? or anything

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @cynital
                    last edited by

                    @cynital Give me a few minutes to see if we can pull this off.

                    cynitalC 1 Reply Last reply Reply Quote 0
                    • cynitalC
                      cynital @mitu
                      last edited by cynital

                      @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

                      1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator
                        last edited by

                        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 with Ctrl+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.

                        1 Reply Last reply Reply Quote 0
                        • cynitalC
                          cynital
                          last edited by

                          @mitu what line is 28

                          1 Reply Last reply Reply Quote 0
                          • cynitalC
                            cynital
                            last edited by

                            @mitu tu i replaced it and reinstalled xpad and rebooted still doesnt work did i have to update retropie setup script too?

                            1 Reply Last reply Reply Quote 0
                            • cynitalC
                              cynital
                              last edited by

                              @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

                              mituM 1 Reply Last reply Reply Quote 0
                              • cynitalC
                                cynital
                                last edited by

                                @mitu i found this if this will help https://retropie.org.uk/forum/topic/3200/afterglow-prismatic-wired-controller-for-xbox-one/3

                                1 Reply Last reply Reply Quote 0
                                • cynitalC
                                  cynital
                                  last edited by

                                  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

                                  1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @cynital
                                    last edited by mitu

                                    @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.

                                    1 Reply Last reply Reply Quote 0
                                    • cynitalC
                                      cynital
                                      last edited by

                                      i am trying it again @mitu and if it doesnt work ill post the dmesg

                                      1 Reply Last reply Reply Quote 0
                                      • cynitalC
                                        cynital
                                        last edited by

                                        @mitu it finally works!! thank you so much i revert the changes and booted it up and still works thanks!!!

                                        mituM 1 Reply Last reply Reply Quote 0
                                        • mituM
                                          mitu Global Moderator @cynital
                                          last edited by

                                          @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.

                                          1 Reply Last reply Reply Quote 1
                                          • cynitalC
                                            cynital
                                            last edited by

                                            so im going always have to do this or they are going to add it?

                                            mituM 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.