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

    Wired usb controllers not recognized after update

    Scheduled Pinned Locked Moved Help and Support
    usb portscontrollers
    15 Posts 4 Posters 2.0k 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.
    • T
      the_loaf
      last edited by the_loaf

      The other day my Pi 4 had an issue with emulationstation crashing upon booting. I ran the updater to update all the packages which allowed me to get all the way into ES

      Now, though, no wired USB controllers are recognized. I have a wireless usb keyboard which works, and a wireless usb controller is recognized

      I’ve attached a powered USB hub thinking it may be a power issue, but through that only the wireless items will work still

      Any ideas what may be happening? Not sure which logs to share that may shed light on it or which config file affects this. I cleared the ES controller config, so it only has the settings for my keyboard now

      Pi Model or other hardware: 4
      Power Supply used: 5V 3A
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.7.18?
      Built From:
      USB Devices connected: powered 7port usb hub, sandisk thumb drive
      Controller used: hori fighting commander switch, 8bitdo arcade stick, 8bitdo sn30pro+ (one at a time) - connected to pi directly or through hub
      Error messages received: no controllers connected message when emulationstation starts. Jstest shows “broken pipe”

      Verbose log (if relevant):

      Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)

      How to replicate the problem:

      1 Reply Last reply Reply Quote 0
      • windgW
        windg
        last edited by windg

        i think you are effected from the latest update of xpad driver that cause some problems. Read this topic , and if you want follow the instructions to downgrade the driver.

        My English isn't at a good level.

        T 1 Reply Last reply Reply Quote 0
        • T
          the_loaf @windg
          last edited by

          @windg ah thank you I’ll give that a try

          1 Reply Last reply Reply Quote 0
          • T
            the_loaf
            last edited by

            So when I downgrade per that thread, my emulationstation crashes on startup again

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

              @the_loaf Then it's not -entirely - the same issue. Looking at the original topic you opened, it happened before the update, so there's must be something else that's happening. Let's continue on your original topic.

              EDIT: sorry, this is the original topic, I got it confused with the xpad problems topic.

              ES may crash if one of the controllers may disconnect during initialization. Can you check with dmesg if the controller disconnects, after ES crashes to the terminal ? Running dmesg | tail should get you the last system messages, which should contain any disconnect messages.

              T 3 Replies Last reply Reply Quote 0
              • T
                the_loaf @mitu
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • T
                  the_loaf @mitu
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • T
                    the_loaf @mitu
                    last edited by mitu

                    @mitu sorry had a couple bad pastes initially with weird characters appearing

                    Thank you for checking - hopefully this was gathered correctly

                    [12131.031202] input: Microsoft X-Box 360 pad as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1.4/1-1.1.4:1.0/input/input3462
                    [12132.324786] usb 1-1.1.4: USB disconnect, device number 48
                    [12132.325126] xpad 1-1.1.4:1.0: xpad_try_sending_next_out_packet - usb_submit_urb failed with result -19
                    [12132.842246] usb 1-1.1.4: new full-speed USB device number 49 using xhci_hcd
                    [12133.093183] usb 1-1.1.4: New USB device found, idVendor=045e, idProduct=028e, bcdDevice= 1.14
                    [12133.093205] usb 1-1.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                    [12133.093224] usb 1-1.1.4: Product: Controller
                    [12133.093242] usb 1-1.1.4: Manufacturer: 8BitDo[12133.093259] usb 1-1.1.4: SerialNumber: 157F8F8
                    [12133.100276] input: Microsoft X-Box 360 pad as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1.4/1-1.1.4:1.0/input/input3463
                    
                    mituM R 2 Replies Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @the_loaf
                      last edited by

                      I reformatted the log to be more readable.
                      Looks like the gamepad does disconnect and then reconnects again. The log only shows the last disconnect/connect cycle, but judging by the device number 49 shown on connection this may have happened again.
                      Did you change anything in your configuration recently ? Overclocking settings ? Can you post your /boot/config.txt file ?

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        the_loaf @mitu
                        last edited by the_loaf

                        @mitu it is overclocked, but that was done well over a year ago. I havent made any changes recently.

                        I’ll have to share the config.txt in a bit. Thanks

                        1 Reply Last reply Reply Quote 0
                        • T
                          the_loaf
                          last edited by

                          sorry for the delay

                          here is the config.txt

                          https://pastebin.com/3Fzt9mnD

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

                            Apart from the overclocking, I don't see anything special - the configuration seems ok. You may try a larger over_voltage value, but if you're using a powered hub that shouldn't be necessary.
                            Can you try removing any non-default values and reboot ? Comment out the following lines from the file:

                            over_voltage=6
                            arm_freq=2000
                            gpu_freq=600
                            v3d_freq=750
                            
                            T 1 Reply Last reply Reply Quote 0
                            • T
                              the_loaf @mitu
                              last edited by

                              @mitu emulationstation is still crashing after making this change

                              Could some rom folder or emulator be causing this?

                              6C2421E4-B88C-4844-A74E-2B33335EBD38.jpeg

                              1 Reply Last reply Reply Quote 0
                              • T
                                the_loaf
                                last edited by

                                Update on this

                                I just put the overclocking settings back to normal and reinstalled the newest xpad, and I have joystick capability again

                                I can now control things with my 8bitdo arcade stick like before

                                Thanks again for looking into this

                                1 Reply Last reply Reply Quote 0
                                • R
                                  raspberry79 @the_loaf
                                  last edited by

                                  @the_loaf
                                  I noticed in the script above about
                                  (usb_submit_urb failed with result
                                  I have that problem. When it installing, i guess the emulates, at the end of the scripts on the tv screen
                                  i notice "usb_submit_urb failed with result-2"
                                  what is that and how to fixed that

                                  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.