This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
products:sbc:vim1:configurations:usb-gadget [2022/07/13 21:25] frank |
products:sbc:vim1:configurations:usb-gadget [2022/09/07 03:00] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== VIM1 USB Gadget ====== | ====== VIM1 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 ''/ | + | |
| - | + | ||
| - | ```sh | + | |
| - | khadas@khadas:~$ sudo vim / | + | |
| - | ``` | + | |
| - | + | ||
| - | Add '' | + | |
| - | + | ||
| - | ``` | + | |
| - | overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 otg-device | + | |
| - | ``` | + | |
| - | + | ||
| - | ==== Enable Service ==== | + | |
| - | + | ||
| - | ```sh | + | |
| - | khadas@khadas:~$ sudo systemctl enable | + | |
| - | ``` | + | |
| - | + | ||
| - | Reboot to effect. | + | |
| - | + | ||
| - | ```sh | + | |
| - | khadas@khadas: | + | |
| - | khadas@khadas: | + | |
| - | ``` | + | |