Skip to content

Instantly share code, notes, and snippets.

@cnjax
Created June 18, 2025 01:58
Show Gist options
  • Save cnjax/58dbd5c5861ab16cb7585f88f76f53cb to your computer and use it in GitHub Desktop.
Save cnjax/58dbd5c5861ab16cb7585f88f76f53cb to your computer and use it in GitHub Desktop.
enable N1 for usb gether.
echo device | tee /sys/bus/platform/drivers/dwc3-meson-g12a/d0078080.usb/usb_role/d0078080.usb-role-switch/role
echo c9100000.usb | tee /sys/bus/platform/drivers/dwc2/unbind
echo c9100000.usb | tee /sys/bus/platform/drivers/dwc2/bind
/sbin/modprobe g_ether
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment