This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:configurations:usb-gadget [2024/10/15 20:51] nick |
products:sbc:vim4:configurations:usb-gadget [2025/07/11 03:40] (current) nick [Troubleshooting] |
||
---|---|---|---|
Line 7: | Line 7: | ||
{{page>/ | {{page>/ | ||
- | ====== RNDIS Setup IP Address | + | ===== RNDIS Setup IP Address ===== |
Setup IP address manyally, e.g. setup IP address as '' | Setup IP address manyally, e.g. setup IP address as '' | ||
Line 32: | Line 32: | ||
rtt min/ | rtt min/ | ||
``` | ``` | ||
+ | |||
+ | ===== Usage of ADB ===== | ||
+ | |||
+ | Try to access the devices via adb. | ||
+ | |||
+ | ```shell | ||
+ | $ adb kill-server | ||
+ | $ adb devices | ||
+ | * daemon not running; starting now at tcp:5037 | ||
+ | * daemon started successfully | ||
+ | List of devices attached | ||
+ | 12036c819990 | ||
+ | $ adb shell | ||
+ | root@Khadas:/# | ||
+ | root@Khadas:/# | ||
+ | root@Khadas:/# | ||
+ | root@Khadas:/# | ||
+ | ``` | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | If adb not work on windows, you can edit ''/ | ||
+ | |||
+ | ```diff | ||
+ | diff --git a/ | ||
+ | index 520a9b9a..299569f0 100755 | ||
+ | --- a/ | ||
+ | +++ b/ | ||
+ | @@ -57,7 +57,7 @@ echo " | ||
+ | echo " | ||
+ | |||
+ | # Bind function to configuration | ||
+ | -ln -s $F_RNDIS $GADGET/ | ||
+ | +#ln -s $F_RNDIS $GADGET/ | ||
+ | ln -s $GADGET/ | ||
+ | |||
+ | # Enable the Gadget | ||
+ | ``` | ||
+ |