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
wget https://dl.khadas.com/.fixup/libcutils.so -O /tmp/libcutils.so sudo cp /tmp/libcutils.so /usr/lib sudo systemctl enable usb-gadget-khadas.service
Reboot to effect.
sync sudo reboot