This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
products:sbc:vim2:configurations:usb-gadget [2022/09/07 02:45] nick |
products:sbc:vim2:configurations:usb-gadget [2022/09/07 02:53] (current) nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== VIM2 USB Gadget ====== | ====== VIM2 USB Gadget ====== | ||
- | ===== Introduction ===== | + | {{page>products:sbc:vim3:configurations:usb-gadget& |
- | + | ||
- | This document mainly introduces USB gadget. You will learn how to configure and enable USB gadget Usage. | + | |
- | + | ||
- | ===== System Configuration ===== | + | |
- | + | ||
- | ==== Upgrade System ==== | + | |
- | + | ||
- | Follow [[/products/sbc/ | + | |
- | + | ||
- | ==== Configure DTS Overlays ==== | + | |
- | + | ||
- | Open ''/ | + | |
- | + | ||
- | ```shell | + | |
- | khadas@khadas:~$ sudo vim / | + | |
- | ``` | + | |
- | + | ||
- | Add '' | + | |
- | + | ||
- | ```shell | + | |
- | overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 otg-device | + | |
- | ``` | + | |
- | + | ||
- | ==== Enable Service ==== | + | |
- | + | ||
- | ```shell | + | |
- | khadas@khadas:~$ sudo systemctl enable | + | |
- | ``` | + | |
- | + | ||
- | Reboot to effect. | + | |
- | + | ||
- | ```shell | + | |
- | khadas@khadas: | + | |
- | khadas@khadas: | + | |
- | ``` | + |