Only 1 USB port working on Rock Pi 4A+

Hi guys, I am having problems with 3 out of 4 of the USB ports. Only the USB3.0 OTG port works.

Plugging a USB hub, keyboard or mouse has no response. I am running Armbian 22.05.3 Jammy. This is a brand new Rock Pi 4A+

Any ideas what I can do to fix it?

lsusb when I plug my USB devices into the working port:

Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 007: ID 1a2c:0b23 China Resource Semico Co., Ltd USB Keyboard
Bus 005 Device 006: ID 275d:0ba6 USB OPTICAL MOUSE
Bus 005 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb when I plug my USB devices into the non-working port (obtained via ssh):

Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg output when I unplug a USB hub (keyboard + mouse attached) from one USB port that doesn’t work to another USB port that doesn’t work. Only disconnect event is detected, no connection event:

home@rockpi-4c:~$ dmesg | tail -10 | grep USB
[ 419.130899] usb 5-1.4: Manufacturer: USB
[ 419.214566] input: USB USB Keyboard as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.0/0003:1A2C:0B23.0005/input/input6
[ 419.273078] hid-generic 0003:1A2C:0B23.0005: input,hidraw1: USB HID v1.10 Keyboard [USB USB Keyboard] on usb-xhci-hcd.0.auto-1.4/input0
[ 419.278366] input: USB USB Keyboard Mouse as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0006/input/input7
[ 419.278735] input: USB USB Keyboard System Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0006/input/input8
[ 419.336736] input: USB USB Keyboard Consumer Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0006/input/input9
[ 419.337031] hid-generic 0003:1A2C:0B23.0006: input,hidraw2: USB HID v1.10 Mouse [USB USB Keyboard] on usb-xhci-hcd.0.auto-1.4/input1
[ 544.719121] usb 5-1: USB disconnect, device number 5
[ 544.719170] usb 5-1.3: USB disconnect, device number 6
[ 544.786909] usb 5-1.4: USB disconnect, device number 7
home@rockpi-4c:~$ dmesg | tail -10 | grep USB
[ 419.130899] usb 5-1.4: Manufacturer: USB
[ 419.214566] input: USB USB Keyboard as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.0/0003:1A2C:0B23.0005/input/input6
[ 419.273078] hid-generic 0003:1A2C:0B23.0005: input,hidraw1: USB HID v1.10 Keyboard [USB USB Keyboard] on usb-xhci-hcd.0.auto-1.4/input0
[ 419.278366] input: USB USB Keyboard Mouse as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0006/input/input7
[ 419.278735] input: USB USB Keyboard System Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0006/input/input8
[ 419.336736] input: USB USB Keyboard Consumer Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0006/input/input9
[ 419.337031] hid-generic 0003:1A2C:0B23.0006: input,hidraw2: USB HID v1.10 Mouse [USB USB Keyboard] on usb-xhci-hcd.0.auto-1.4/input1
[ 544.719121] usb 5-1: USB disconnect, device number 5
[ 544.719170] usb 5-1.3: USB disconnect, device number 6
[ 544.786909] usb 5-1.4: USB disconnect, device number 7

dmesg when I disconnect from a non-working USB port, to the only working one:

home@rockpi-4c:~$ dmesg | tail -30 | grep USB
[ 419.278366] input: USB USB Keyboard Mouse as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0006/input/input7
[ 419.278735] input: USB USB Keyboard System Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0006/input/input8
[ 419.336736] input: USB USB Keyboard Consumer Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0006/input/input9
[ 419.337031] hid-generic 0003:1A2C:0B23.0006: input,hidraw2: USB HID v1.10 Mouse [USB USB Keyboard] on usb-xhci-hcd.0.auto-1.4/input1
[ 544.719121] usb 5-1: USB disconnect, device number 5
[ 544.719170] usb 5-1.3: USB disconnect, device number 6
[ 544.786909] usb 5-1.4: USB disconnect, device number 7
[ 883.543101] usb 5-1: new high-speed USB device number 8 using xhci-hcd
[ 883.692480] usb 5-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice= 7.02
[ 883.692520] usb 5-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 883.692544] usb 5-1: Product: USB2.0 Hub
[ 883.755689] hub 5-1:1.0: USB hub found
[ 884.051063] usb 5-1.3: new low-speed USB device number 9 using xhci-hcd
[ 884.158367] usb 5-1.3: New USB device found, idVendor=275d, idProduct=0ba6, bcdDevice= 1.00
[ 884.158394] usb 5-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 884.158402] usb 5-1.3: Product: USB OPTICAL MOUSE
[ 884.205853] input: USB OPTICAL MOUSE as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.3/5-1.3:1.0/0003:275D:0BA6.0007/input/input10
[ 884.206245] hid-generic 0003:275D:0BA6.0007: input,hidraw0: USB HID v1.11 Mouse [USB OPTICAL MOUSE ] on usb-xhci-hcd.0.auto-1.3/input0
[ 884.291073] usb 5-1.4: new low-speed USB device number 10 using xhci-hcd
[ 884.410010] usb 5-1.4: New USB device found, idVendor=1a2c, idProduct=0b23, bcdDevice= 1.10
[ 884.410039] usb 5-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 884.410047] usb 5-1.4: Product: USB Keyboard
[ 884.410053] usb 5-1.4: Manufacturer: USB
[ 884.494304] input: USB USB Keyboard as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.0/0003:1A2C:0B23.0008/input/input11
[ 884.551740] hid-generic 0003:1A2C:0B23.0008: input,hidraw1: USB HID v1.10 Keyboard [USB USB Keyboard] on usb-xhci-hcd.0.auto-1.4/input0
[ 884.556812] input: USB USB Keyboard Mouse as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0009/input/input12
[ 884.557238] input: USB USB Keyboard System Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0009/input/input13
[ 884.619538] input: USB USB Keyboard Consumer Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1.4/5-1.4:1.1/0003:1A2C:0B23.0009/input/input14
[ 884.619923] hid-generic 0003:1A2C:0B23.0009: input,hidraw2: USB HID v1.10 Mouse [USB USB Keyboard] on usb-xhci-hcd.0.auto-1.4/input1

Edit: It has something to do with Armbian. When I use the Debian Buster image from Radxa, all four USB ports work.

It mostly like you installed the wrong images, you must installed the 4C images on the 4A+. Can you check your image download link?

1 Like

Hi Jack, thank you for your reply.

I downloaded the version here:
https://www.armbian.com/rockpi4/

It says it is compatible with Rock Pi 4A/B/C.

Better get a Braille reader since then you might be able to decipher the Armbian download pages more properly: “Images below are for model C. For A (without wireless) can be downloaded here and for B here.”

Light grey on lighter grey in the middle of some graphics chaos is one of the more sophisticated ways to hide text :slight_smile:

1 Like

image

Haha, OK this was what I was looking at :roll_eyes:.

I tried the Rock Pi 4A+ images and everything works perfectly. Thank you everyone! :grinning: