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

    USB Ports not working Retropie 4.7.1 / Raspberry Pi4B

    Scheduled Pinned Locked Moved Help and Support
    rp4raspberry pi 4busb portsnot workingretropie 4.7.1
    12 Posts 2 Posters 2.4k 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.
    • therealtitleistT
      therealtitleist
      last edited by

      Pi Model or other hardware: RPI 4B (4GB)
      Power Supply used: Model HNT-M530, 5v 3a output, plugged into commercial power
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.7.1
      Built From: retropie-buster-4.7.1-rpi4_400.img, burned to SD card with Raspberry Pi Imager 1.6.1
      USB Devices connected: (attempted) keyboard, mouse NES USB controller, SNES USB controller

      For some reason it doesn't appear that any of my USB ports are working with the most recent image of RestroPie. This is a brand new out of the box Pi4b. Because it won't recognize any controller or keyboard, the only thing I can do is plug it in to a network cable and SSH in. I tried to use both lbusb and dmesg | tail, see below:

      pi@retropie:~ $ dmesg | tail
      [ 34.400983] Bluetooth: L2CAP socket layer initialized
      [ 34.401014] Bluetooth: SCO socket layer initialized
      [ 34.409827] Bluetooth: HCI UART driver ver 2.3
      [ 34.409851] Bluetooth: HCI UART protocol H4 registered
      [ 34.409965] Bluetooth: HCI UART protocol Three-wire (H5) registered
      [ 34.410340] Bluetooth: HCI UART protocol Broadcom registered
      [ 34.600623] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
      [ 34.600631] Bluetooth: BNEP filters: protocol multicast
      [ 34.600646] Bluetooth: BNEP socket layer initialized
      [ 35.405026] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

      pi@retropie:~ $ lsusb
      pi@retropie:~ $

      So nothing is happening and no response. I tried a few different devices in different ports and ran lsusb a few times, no joy all around.

      Any thoughts? It's like the OS isn't even activating the hardware.

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

        What does dmesg | grep -i usb shows ? lsusb should at least show the built-in USB hub, regardless if you have any USB devices plugged in.

        therealtitleistT 1 Reply Last reply Reply Quote 0
        • therealtitleistT
          therealtitleist @mitu
          last edited by

          @mitu

          pi@retropie:~ $ dmesg | grep -i usb
          [ 0.132160] usbcore: registered new interface driver usbfs
          [ 0.132216] usbcore: registered new interface driver hub
          [ 0.132348] usbcore: registered new device driver usb
          [ 0.132687] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
          [ 21.444847] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x7dc took 20018182 usecs
          [ 21.585704] usbcore: registered new interface driver r8152
          [ 21.585769] usbcore: registered new interface driver lan78xx
          [ 21.585827] usbcore: registered new interface driver smsc95xx
          [ 21.586301] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
          [ 22.086409] xhci_hcd 0000:01:00.0: USB bus 1 deregistered
          [ 22.087762] usbcore: registered new interface driver uas
          [ 22.087824] usbcore: registered new interface driver usb-storage
          [ 22.098827] usbcore: registered new interface driver usbhid
          [ 22.098839] usbhid: USB HID core driver
          [ 25.591158] usbcore: registered new interface driver brcmfmac
          pi@retropie:~ $

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

            @therealtitleist said in USB Ports not working Retropie 4.7.1 / Raspberry Pi4B:

            [ 21.586301] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
            [ 22.086409] xhci_hcd 0000:01:00.0: USB bus 1 deregistered

            I see that the USB3 hub gets detected, but it's un-registered immediately. Post the full dmesg output on pastebin.com, maybe there's an indication in the full log. Do you get any under-voltage flash when booting ? Is this a new Pi ?

            therealtitleistT 2 Replies Last reply Reply Quote 0
            • therealtitleistT
              therealtitleist @mitu
              last edited by

              @mitu

              Thanks for all your help, here is the link for the full dmesg on Pastebin.

              This is a completely new Pi, just got it in the mail last Saturday. It had another OS on it for about a day (PiStar) and the USB ports were working just fine in that config. Also no under-voltage indication at this point.

              1 Reply Last reply Reply Quote 0
              • therealtitleistT
                therealtitleist @mitu
                last edited by

                @mitu

                Also, I ran:

                vcgencmd get_throttled
                

                which returned

                throttled=0x0
                

                So should be okay from a power perspective.

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

                  @therealtitleist The USB hardware doesn't get initialized:

                      0.946248] pci 0000:01:00.0: enabling device (0140 -> 0142)
                  [   21.444691] pci 0000:01:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x811
                  [   21.444847] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x7dc took 20018182 usecs
                  ...
                  [   21.585827] usbcore: registered new interface driver smsc95xx
                  [   21.586268] xhci_hcd 0000:01:00.0: xHCI Host Controller
                  [   21.586301] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
                  [   22.086380] xhci_hcd 0000:01:00.0: can't setup: -110
                  [   22.086409] xhci_hcd 0000:01:00.0: USB bus 1 deregistered
                  [   22.086477] xhci_hcd 0000:01:00.0: init 0000:01:00.0 fail, -110
                  [   22.086509] xhci_hcd: probe of 0000:01:00.0 failed with error -110
                  

                  Try doing a full system update and see if that changes anything, other than that I'm tempted to believe it's a hardware issue. Is the PiStart image still working (with USB) ?

                  therealtitleistT 2 Replies Last reply Reply Quote 0
                  • therealtitleistT
                    therealtitleist @mitu
                    last edited by

                    @mitu I will toss PiStar back on it and double check.

                    What is the command for update / upgrade I can do from SSH?

                    1 Reply Last reply Reply Quote 0
                    • therealtitleistT
                      therealtitleist @mitu
                      last edited by

                      @mitu I found

                      sudo ~/RetroPie-Setup/retropie_setup.sh
                      

                      and initiated an update from there - will that work?

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

                        @therealtitleist Yes, as long as you've chosen to update the OS & packages this should get your system up-to-date.

                        therealtitleistT 1 Reply Last reply Reply Quote 0
                        • therealtitleistT
                          therealtitleist @mitu
                          last edited by

                          @mitu

                          After the update to Retropie, still no change.

                          Also, after putting the Pistar image back on it, still deregisters the USB bus immediately.

                          Does that point to a hardware failure?

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

                            @therealtitleist said in USB Ports not working Retropie 4.7.1 / Raspberry Pi4B:

                            Does that point to a hardware failure?

                            Most likely yes.

                            1 Reply Last reply Reply Quote 1
                            • 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.