Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge-2l: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:edge-2l:configurations:usb-gadget [2026/02/02 22:55]
gray update by using AI
products:sbc:edge-2l:configurations:usb-gadget [2026/05/11 02:29] (current)
nick
Line 1: Line 1:
 {{indexmenu_n>30}} {{indexmenu_n>30}}
  
-====== Edge-2L USB Gadget ======+====== Edge-2L USB gadget ======
  
-{{page>/products/sbc/common/configurations/usb-gadget&noheader}}+{{page>products:sbc:common:configurations:usb-gadget&noheader}}
  
 ===== Usage of ADB ===== ===== Usage of ADB =====
Line 30: Line 30:
 You should see a prompt like: ''root@Khadas:/#'' You should see a prompt like: ''root@Khadas:/#''
  
-===== Enable Other USB Functions =====+===== Enable other USB functions =====
  
 You can dynamically switch USB gadget functions by writing the desired mode to the file ''/tmp/.usb_config'' and restarting the 'usbdevice' service. You can dynamically switch USB gadget functions by writing the desired mode to the file ''/tmp/.usb_config'' and restarting the 'usbdevice' service.
Line 73: Line 73:
 UMS mode requires an empty disk image file (''ums_shared.img'' in the example above, 1GB size). This file will be presented to the host system as a removable storage drive. UMS mode requires an empty disk image file (''ums_shared.img'' in the example above, 1GB size). This file will be presented to the host system as a removable storage drive.
  
-===== RNDIS Setup IP Address =====+===== RNDIS setup IP address =====
  
 After enabling the RNDIS function, you need to configure the IP address manually on both the device and the host PC. After enabling the RNDIS function, you need to configure the IP address manually on both the device and the host PC.
Last modified: 2026/02/02 22:55 by gray