Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim3:configurations:usb-gadget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim3:configurations:usb-gadget [2025/07/11 03:40]
nick
products:sbc:vim3:configurations:usb-gadget [2025/08/13 03:55] (current)
nick
Line 4: Line 4:
  
 This document mainly introduces USB gadget. You will learn how to configure and enable USB gadget Usage. This document mainly introduces USB gadget. You will learn how to configure and enable USB gadget Usage.
 +
 +<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.
 +</WRAP>
  
 ===== System Configuration ===== ===== System Configuration =====
Line 28: Line 32:
 overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 otg-device overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 otg-device
 ``` ```
 +
 +<WRAP important >
 +If you have issues, please try the extra steps below:
 +
 +```shell
 +wget https://dl.khadas.com/.fixup/libcutils.so -O /tmp/libcutils.so
 +sudo cp /tmp/libcutils.so /usr/lib
 +```
 +</WRAP>
 +
 <tabbox VIM3/3L with 5.15 kernel> <tabbox VIM3/3L with 5.15 kernel>
  
Line 51: Line 65:
 sudo systemctl enable usb-gadget-khadas.service sudo systemctl enable usb-gadget-khadas.service
 ``` ```
- 
-<WRAP important > 
-If you have issues, please try the extra steps below: 
- 
-```shell 
-wget https://dl.khadas.com/.fixup/libcutils.so -O /tmp/libcutils.so 
-sudo cp /tmp/libcutils.so /usr/lib 
-``` 
-</WRAP> 
- 
  
 Reboot to effect. Reboot to effect.
Line 131: Line 135:
  
  # Enable the Gadget  # Enable the Gadget
-diff --git a/config/boards/VIM3.inc b/config/boards/VIM3.inc 
-index fa141c69..c15285aa 100644 
 ``` ```
Last modified: 2025/07/11 03:40 by nick