This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:configurations:usb-gadget [2022/07/06 08:32] frank Add USB Gadget |
products:sbc:common:configurations:usb-gadget [2025/08/14 07:17] (current) hyphop |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~tag> | ||
| ====== USB Gadget ====== | ====== USB Gadget ====== | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | This document mainly introduces USB gadget. | + | This document mainly introduces |
| + | |||
| + | <WRAP important > | ||
| + | From version **1.7.5**, | ||
| + | </ | ||
| ===== System Configuration ===== | ===== System Configuration ===== | ||
| Line 9: | Line 14: | ||
| ==== Upgrade System ==== | ==== Upgrade System ==== | ||
| - | Follow [[/ | + | Follow [[upgrade-system|Upgrade System]] to upgrade |
| - | ==== Configure DTS Overlays ==== | ||
| - | Open ''/ | + | ==== Enable |
| - | + | ||
| - | ```sh | + | |
| - | khadas@khadas: | + | |
| - | ``` | + | |
| - | + | ||
| - | Add '' | + | |
| - | + | ||
| - | ``` | + | |
| - | overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 otg-device | + | |
| - | ``` | + | |
| - | ==== Enable Service ==== | + | You can follow the command below to enable the USB Gadget service. |
| - | ```sh | + | ```shell |
| - | khadas@khadas: | + | sudo systemctl enable usb-gadget-khadas.service |
| ``` | ``` | ||
| Reboot to effect. | Reboot to effect. | ||
| - | ```sh | + | ```shell |
| - | khadas@khadas: | + | sync |
| - | khadas@khadas: | + | sudo reboot |
| ``` | ``` | ||