Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4: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:vim4:configurations:usb-gadget [2025/07/11 03:38]
nick
products:sbc:vim4:configurations:usb-gadget [2025/07/11 03:40] (current)
nick [Troubleshooting]
Line 53: Line 53:
 ===== Troubleshooting ===== ===== Troubleshooting =====
  
-If adb not work on windows, you can edit `/usr/local/bin/usb-gadgetto comment `ln -s $F_RNDIS $GADGET/configs/c.1/and reboot.+If adb not work on windows, you can edit ''/usr/local/bin/usb-gadget'' to comment ''ln -s $F_RNDIS $GADGET/configs/c.1/'' and reboot. 
 + 
 +```diff 
 +diff --git a/archives/filesystem/special/VIM-COMMON/usr/local/bin/usb-gadget b/archives/filesystem/special/VIM-COMMON/usr/local/bin/usb-gadget 
 +index 520a9b9a..299569f0 100755 
 +--- a/usr/local/bin/usb-gadget 
 ++++ b/usr/local/bin/usb-gadget 
 +@@ -57,7 +57,7 @@ echo "RNDIS" > $F_RNDIS/os_desc/interface.rndis/compatible_id 
 + echo "5162001" > $F_RNDIS/os_desc/interface.rndis/sub_compatible_id 
 + 
 + # Bind function to configuration 
 +-ln -s $F_RNDIS $GADGET/configs/c.1/ 
 ++#ln -s $F_RNDIS $GADGET/configs/c.1/ 
 + ln -s $GADGET/configs/c.1/ $GADGET/os_desc 
 + 
 + # Enable the Gadget 
 +```
  
Last modified: 2025/07/11 03:38 by nick