sudo sed -i 's/^enable_ums=1$/enable_ums=0/' $D/nv-l4t-usb-device-mode-config.sh
sudo systemctl restart nv-l4t-usb-device-mode # link drops for a few seconds
ls /sys/kernel/config/usb_gadget/l4t/configs/*/ # acm.GS0, ncm.usb0, rndis.usb0. No mass_storage
```
⚠ The file is **not** a dpkg conffile, so an `nvidia-l4t-init` upgrade silently restores `enable_ums=1`. The only effect is that the drive
comes back. After a JetPack/L4T upgrade, check `grep ^enable_ums $D/nv-l4t-usb-device-mode-config.sh` and re-apply.
(`dpkg-divert` was rejected: it would also hide upstream changes to the file's format, which fails worse than a returning drive.)
RNDIS is left enabled. It's unused but harmless; `enable_rndis=0` would remove it the same way.
## Charging the tablet
With one port on the tablet, the data cable to the Orin is also its only charging path, and the Orin doesn't charge it.
**The Orin can't be the charger on this port, whatever the network protocol.** RNDIS vs NCM is irrelevant; power is separate from data:
- In USB-C, *data* role (host/device) and *power* role (source/sink) are negotiated separately. "Tablet is host but gets charged" is normal,
but it needs a power source that negotiates USB Power Delivery.
- The Orin's USB-C port controller is a **FUSB301**. It only detects attachment and orientation, has no PD, and is wired as the flashing/device port.
The kernel registers no USB-C port or PD device (`/sys/class/typec` is empty, there is no `usb_power_delivery` class).
So the port can't offer charging power to the tablet.
Options:
| Option | Charging | Notes |
|--------|----------|-------|
| **PD hub with one data port** (on hand) | Full PD from the car charger, through to the tablet | Tablet → hub's USB-C host/PD port, charger → hub's PD-in, Orin USB-C → hub's data port. Same gadget/NCM setup, nothing changes on the Orin. Some hubs briefly re-enumerate when PD power appears or disappears (ignition), so the app should reconnect |
| Reverse roles: Orin USB-A host + tablet USB tethering | ~4.5 W at most (5 V, USB-A) | Tablet becomes the router, tethering has to be enabled by hand on Android, and it needs `never-default` on the Orin so the Orin's traffic doesn't leave via the tablet |
#### The "silence" is Android sleeping, not the link
| Test (2026-10-09) | Tablet state after PD unplug | Result |
|---|---|---|
| Idle, 3 min window | screen times out | Clean for ~60 s, then pings answered only in brief bursts right at its 30 s DHCP renewals, then silent. **No kernel link events**: USB stayed up throughout |
| Video playing, 150 s window | kept awake | 3.1 s outage at the unplug, then **zero loss for 2 min+** |
| Video playing, PD off → **plugged in** (90 s window) | kept awake | No USB-C detach; one gadget reconnect (link down 0.7 s), fresh DHCP, **~2.2 s** to ping replies, then zero loss |
- Rule of thumb: **about 3 s blank per power-state change**. The app keeping the tablet awake (full UI or an overlay widget) takes sleep off the table.
- Known edge case, not a blocker: an underpowered or marginal charger that keeps falling back between PD and 5 V/1 A would cut the link on
every renegotiation, possibly every few seconds. Use a solid PD charger. If the link ever flaps periodically, suspect the charger first.