Created
September 28, 2024 05:46
-
-
Save logic/cecbc5827211a3aa69011af90eaa6d04 to your computer and use it in GitHub Desktop.
Getting USB OTG on a Banana Pi CM4 board working
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Borrowed from the Armbian forum, this snippet makes it possible to force the USB interface on a Banana Pi CM4 to be operated in host mode, which turns out to be necessary when said Banana Pi CM4 is mounted on a Turing Pi 2 cluster board using one of their CM4 adapters.
Save this to
meson-g12b-bananapi-cm4-waveshare-usb.dts
, then (as root) runarmbian-add-overlay meson-g12b-bananapi-cm4-waveshare-usb.dts
, and reboot. Suddenly, you should have a working USB port that you can attach exciting devices to, like keyboards!