USB Ports not working Retropie 4.7.1 / Raspberry Pi4B
-
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 controllerFor 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 readypi@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.
-
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. -
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:~ $ -
@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 deregisteredI 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 ? -
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.
-
Also, I ran:
vcgencmd get_throttled
which returned
throttled=0x0
So should be okay from a power perspective.
-
@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) ?
-
@mitu I will toss PiStar back on it and double check.
What is the command for update / upgrade I can do from SSH?
-
@mitu I found
sudo ~/RetroPie-Setup/retropie_setup.sh
and initiated an update from there - will that work?
-
@therealtitleist Yes, as long as you've chosen to update the OS & packages this should get your system up-to-date.
-
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?
-
@therealtitleist said in USB Ports not working Retropie 4.7.1 / Raspberry Pi4B:
Does that point to a hardware failure?
Most likely yes.
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.