Rock 5b+ usb-2 ports not working

hello,

i tried the radxa debian and the joshua riek ubuntu images for the rock 5b+ and with both the usb-2 ports (so the not blue ones) do not seem to work - the usb-3 ports (the blue ones) work as expected - i tried it with different usb devices. did anyone else notice the same with a 5b+ maybe? i assume this is more a kernel/dtb issue which will hopefully get fixed soon, but i would like to make sure its not a hardware fault …

a lot of thanks in advance and best wishes - hexdump

how do you do the test, can you catch the kernel log from system starts up ?

@Peter.Wang - here is a dmesg from bootup: https://bpa.st/RWMQ … i had a small hub connected which had an usb keyboard and mouse connected to it - both were not detected when i plugged the hub into any of the two black usb ports and everything worked perfectly fine if i plugged it into any of the blue ports … also lsusb did not show anything if connected to any of the black ports, also not when i connected some small usb-flash-storage-stick to the black ports … the image used was this one here: https://github.com/radxa-build/rock-5b-plus/releases/tag/rsdk-b2 … this https://github.com/Joshua-Riek/ubuntu-rockchip/releases/tag/v2.3.0 showed the same problem … maybe its a problem with the v6.1 rockchip kernel? is it working well for you (or anyone else) with those images on a 5b+ if usb devices get plugged into the black usb ports?

a lot of thanks in advance and best wishes - hexdump

@ken please investigate this issue

If you directly connect the keyboard and mouse to the usb2.0 can it be used normally

@ken - with the above radxa b2 kde image also connecting something directly to the usb-2 ports did not help - nothing on them seems to be detected properly as usb device … do you maybe have the chance to flash the above mentioned radxa b2 kde image and run it on a 5b+ and see if you see anything on the usb-2 ports?

i now also tried the v5.10 kernel radxa image from https://github.com/radxa-build/rock-5b-plus/releases/tag/b2 and the result is the same: the usb-2 ports seem to be completely dead - they are not seen at all via lsusb whatever is connected to them and they also do not seem to provide power - here is the dmesg from this case: https://bpa.st/W52Q

so to me it looks like radxa definitely has a quality control problem here - either on hardware or on software side (i hope its only a software problem as i do not like the idea of having to send the boards back - i see the same problem on two boards btw which are the 16gb ram version and board revision v1.2) - please try to reproduce this on your end and let me know about your findings - i’m not that much interested to debug your hardware/software problems on products i have paid for.

also a question to others with a rock 5b+ - do you see the same problem of dead usb-2 ports or are they working for you with the radxa supplied images (@Goetterfunke @amazingfate or @Bruce_Costello maybe) ?

a lot of thanks in advance and best wishes - hexdump

Hi, I somehow hacked together a working image for rock 5b+ with pxe over the past few weeks and just tested usb ports for you: Everything is working as expected BUT: When its powered over usb-c (backside) and I connect my monitor (usb-c frontside) The board will reboot and I think I have read something with unexpeced power in the last MS the system was online…

@Goetterfunke - thanks a lot for testing - can your hand-built image also boot normally (i.e. not via pxe only)? if yes, could you please upload it somewhere, so that i can try that one as well? which board revision (printed on the pcb) do you have and which ram-config version?

it looks like i can confirm your reboot issue somehow: if i power the board via the usb-port on the side wirhout any other connector, then it will reboot at some point duting booting with a hdmi monitor connected. if i connect power on the usb-c port next to the hdmi ports it boots in a stable way, but the broken usb-2 ports are there in all cases tested.

i meanwhile also tried different power supplies and it did not make any change - as everything else except the usb-2 ports is working fine i also did expect that to not be the cause of the problem.

Hi There, I’m still working on it and it should be the same as the vendor one except with patched rtl8169 driver and some changes nothing usb-related. My ram config is 24 gb but I cannot see the revision because it’s build into a tower (and rock 5b+ is at bottom) but I guess it’s the first released one? IMG_20240811_062535

Do you have flashed your spi by any chance? Could you just zero it and try vendor sd card again?

dd if=/dev/zero of=/tmp/zero.img bs=1M count=64 && \

sudo dd if=/tmp/zero.img of=/dev/mtd0 && \

sync

Edit: And also for the not working usb ports: Do they provide power but no data or nothing at all? Could you take a picture of the bottom of your board? :smiley: I have rock5b and accidently broke one component off and got the same picture as yours. usb3 completely dead

thanks again for the quick reply - your image looks like a little sculpture :slight_smile:

it seems like its on radxa now to figure out what is the problem with my boards - so far to me it looks like a hardware problem then in the end maybe … as i see this problem on two boards this does not put a very good light on the radxa quality control i guess - i would prefer if those vendors would throw out half as many new boards all the time as they do with double the quality in hardware and software - i just had a milk-v (seems to be somewhat related to radxa) meles board which killed itself completely after booting the vendor supplied image and that same happened to lots of other users of this board in the same way …

a lot of thanks once more and now i’m waiting on some support from radxa to get this sorted out hopefully - hexdump

1 Like

zeroing the spi might be worth a try - i did not flash anything to it yet, so if there is something, then its as it was delivered … i checked one of the boards carefully with a loupe and there seems to be nothing missing on it - also i handled it very carefully all the time and it would be very strange if such a component would fall off on two boards in the same way :slight_smile:

The component was right below the usb port on the other side. It was a little thing with three legs in my case :wink: Good luck

i now dumped the current mtd0 and its empty, so that cannot be it … i also tried to connect an externally powered usb hub to the usb-2 ports and still nothing is shown, so looks like both data and power seem to be dead on both usb-2 ports …

i also tried the latest radxa image for the 5b (bookworm b5 kde) on my old 5b (non plus) and on that one with that image all my usb devices (keyboard, mouse, usb flash stick) are working perfectly fine on the usb-2 ports - so something is definitely wrong with my two 5b+ or the radxa images for them which makes the usb-2 ports not working on them.

@Peter.Wang @ken - any update from radxa side on this topic?

Is Bluetooth working properly on your 5bplus? Do you have an sd card reader with a light, so that you can confirm whether the usb2.0 interface is powered

pls show me this result: lsusb -t

as written above the usb-2 ports do not have power and not have data - bluetooth is not working and not probed/visible anywhere (i guess its connected internally to the same usb controller maybe?)

lsusb output:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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:0001 Linux Foundation 1.1 root hub
Bus 005 Device 004: ID 258a:0001 SINO WEALTH USB KEYBOARD
Bus 005 Device 003: ID 10c4:8108 Silicon Labs USB OPTICAL MOUSE
Bus 005 Device 002: ID 1a40:0101 Terminus Technology 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 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

the three devices seen are the mouse, kbd and the hub they are connected to which is connted to one of the usb-3 ports of the 5b+

were you able to reproduce my problem on your end with a 16g v1.2 5b+ board as well?

a lot of thanks and best wishes - hexdump

Bus 005 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
usb2.0 hub ic can be detected here, but you don’t have any usb2.0 to use, how many rock5b+ do you have, is it all the same phenomenon.
Do you have a tool to help measure the voltage at both ends of the two materials?

1 Like