How to permanently remove one of these two usb connections

Hi. I’m using Orin NX.

I found when I connect it to PC, it would generate two usb connections: usb0 and rndis0.

Is it possible to remove one of these permanently?

Thanks in advance.

You could disable /opt/nvidia/l4t-usb-device-mode/nv-l4t-usb-device-mode.service.

Along that line for what @WayneWWW mentions:

# Temporary stop:
sudo systemctl stop nv-l4t-usb-device-mode.service
# disable:
sudo systemctl disable nv-l4t-usb-device-mode.service
# enable:
sudo systemctl enable nv-l4t-usb-device-mode.service
# query status:
sudo systemctl status nv-l4t-usb-device-mode.service

@WayneWWW @linuxdev Thanks for your replies.

I found that maybe it’s more straightforward to do this:

open /opt/nvidia/l4t-usb-device-mode/

set enable-rndis=0 to disable rndis0, or set enable-ecm=0 to disable usb0

Then, run systemctl restart nv-l4t-usb-device-mode.service to take effect.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.