This is an old revision of the document!
This document mainly introduces USB gadget. You will learn how to configure and enable USB gadget Usage.
Follow Upgrade System to upgrade system.
Open /boot/env.txt
:
khadas@khadas:~$ sudo vim /boot/env.txt
Add otg-device
to overlays node to make USB OTG Device enable:
overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 otg-device
khadas@khadas:~$ sudo systemctl enable usb-gadget-khadas.service
Reboot to effect.
khadas@khadas:~$ sync khadas@khadas:~$ sudo reboot