mitu Posted April 13 Posted April 13 (edited) Hello, I have installed the Armbian 26.2 minimal IOT image based on Debian 13 Trixie - with the 6.18.x kernel - and I noticed the USB2 port (the single, vertical port next to the Ethernet port) is not working. Is this a limitation of the mainstream kernel (6.18.x) - i.e. does this work only with the vendor kernel (6.1.x) ? NB: I upgraded to 6.19 using the 'edge' kernel, but I'm seeing the same behavior. Here's the armbianmonitor outpur - https://paste.armbian.com/raw/udefojuxuk Edited April 13 by mitu 0 Quote
tim zeng Posted April 13 Posted April 13 I encountered the same issue. When I used the Orange Pi 3B image based on the 6.18 kernel, USB was not available, but when using the 6.1 vendor image, USB worked. 0 Quote
mitu Posted April 14 Author Posted April 14 (edited) @tim zeng sure, but that's not - directly - related, since the Orange PI5 and the Orange Pi3 are different SOCs/SBCs. The only common trait is the poor SW support offered by the vendor. Edited April 14 by mitu 1 Quote
Alec Leamas Posted Wednesday at 06:50 AM Posted Wednesday at 06:50 AM (edited) I have also encountered this using Orange pi 5 and latest Armbian updated as of today. That the "standing" USB port does not work also means that the USB-C port doesn't work -- they are electrically connected. So Mitu's question is also mine: Is this a limitation of the mainstream kernel (6.18.x) - i.e. does this work only with the vendor kernel (6.1.x)? EDIT: typo Edited Wednesday at 06:52 AM by Alec Leamas Typo 0 Quote
zjd Posted 13 hours ago Posted 13 hours ago In mainline kernel 6.18 or above, the USB 2.0 port (and USB-C port) is configured as device mode. You can use following cmd to change to host mode to connect other USB devices, but you need to do it again after reboot. sudo bash -c "echo host > /sys/kernel/debug/usb/fc000000.usb/mode" It could be done by dtb overlay but there is no one available now. 0 Quote
Werner Posted 13 hours ago Posted 13 hours ago The upstream default seems to be "otg" to allow users in userspace to change the usb port behavior. Try this and use armbian-add-overlay /dts-v1/; /plugin/; / { fragment@0 { target = <&usb_host0_xhci>; __overlay__ { dr_mode = "host"; }; }; }; 0 Quote
mitu Posted 10 hours ago Author Posted 10 hours ago (edited) On 5/6/2026 at 9:50 AM, Alec Leamas said: I have also encountered this using Orange pi 5 and latest Armbian updated as of today. That the "standing" USB port does not work also means that the USB-C port doesn't work -- they are electrically connected. Not really. The USB-C port does work, I actually connected an USB hub to be able to add a keyboard/mouse to the SBC and it worked without issue. Quote In mainline kernel 6.18 or above, the USB 2.0 port (and USB-C port) is configured as device mode. You can use following cmd to change to host mode to connect other USB devices, but you need to do it again after reboot. I'll try this , thank you for the instructions. The USB-C port does work though if I connect a hub to it, I'm able to use the devices connected to the HUB without issue. Edited 10 hours ago by mitu 0 Quote
mitu Posted 1 hour ago Author Posted 1 hour ago OK, I checked and the USB port is already set to host: Quote $ sudo cat /sys/kernel/debug/usb/fc000000.usb/mode host $ uname -r 7.0.2-edge-rockchip64 The USB-A port is still not functional, but - as said in my previous reply - the USB-C port is working fine. 0 Quote
Werner Posted 1 hour ago Posted 1 hour ago I verified the overlay above working with diy kernel 7.1.0-rc1 and kernel 6.18.10 from apt repo. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.