This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:common:configurations:usb-gadget [2022/07/06 02:12] nick created |
products:sbc:common:configurations:usb-gadget [2025/08/14 07:17] (current) hyphop |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~tag> | ||
| ====== USB Gadget ====== | ====== USB Gadget ====== | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | |||
| + | This document mainly introduces the usage of USB gadget. | ||
| + | |||
| + | <WRAP important > | ||
| + | From version **1.7.5**, USB gadget is enabled by default, no need any setup, you can just skip the overlay and service setup. | ||
| + | </ | ||
| + | |||
| + | ===== System Configuration ===== | ||
| + | |||
| + | ==== Upgrade System ==== | ||
| + | |||
| + | Follow [[upgrade-system|Upgrade System]] to upgrade the system to latest version. | ||
| + | |||
| + | |||
| + | ==== Enable USB Gadget Service ==== | ||
| + | |||
| + | You can follow the command below to enable the USB Gadget service. | ||
| + | |||
| + | ```shell | ||
| + | sudo systemctl enable usb-gadget-khadas.service | ||
| + | ``` | ||
| + | |||
| + | Reboot to effect. | ||
| + | |||
| + | ```shell | ||
| + | sync | ||
| + | sudo reboot | ||
| + | ``` | ||