This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:edge2:configurations:usb-gadget [2025/09/18 05:59] jacobe |
products:sbc:edge2:configurations:usb-gadget [2025/09/18 06:07] (current) jacobe |
||
---|---|---|---|
Line 24: | Line 24: | ||
===== Enable Other USB Functions ===== | ===== Enable Other USB Functions ===== | ||
- | You can dynamically switch USB functions by writing to ``/ | + | You can dynamically switch USB functions by writing to '' |
* **Enable RNDIS** | * **Enable RNDIS** | ||
Line 54: | Line 54: | ||
uvc-gadget rockchip/ | uvc-gadget rockchip/ | ||
</ | </ | ||
- | > Note: Replace | + | > Note: Replace |
* **Enable UMS** | * **Enable UMS** | ||
Line 63: | Line 63: | ||
</ | </ | ||
- | UMS mode requires the empty ``ums_shared.img`` file (1GB in the example above), which will be recognized as a storage drive by the host system. | + | UMS mode requires the empty '' |
===== RNDIS Setup IP Address ===== | ===== RNDIS Setup IP Address ===== | ||
- | After enabling RNDIS, configure the IP address manually. For example, set the device IP to ``192.168.35.100``: | + | After enabling RNDIS, configure the IP address manually. For example, set the device IP to '' |
<code shell> | <code shell> | ||
Line 73: | Line 73: | ||
</ | </ | ||
- | Also configure the IP on the host PC, for example | + | Also configure the IP on the host PC, for example |
Test the network connection: | Test the network connection: |