Skip to content

Instantly share code, notes, and snippets.

@lukicdarkoo
Created July 30, 2019 09:32
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukicdarkoo/a87f79b1c25cd86bdc47a8784d6eee9c to your computer and use it in GitHub Desktop.
Save lukicdarkoo/a87f79b1c25cd86bdc47a8784d6eee9c to your computer and use it in GitHub Desktop.
USB OTG Console for Armbian
sudo su
echo 'g_serial' >> etc/modules
echo 'ttyGS0' >> etc/securetty
echo 'echo 2 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role' > etc/init.d/otg_config.sh
chmod +x etc/init.d/otg_config.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment