Jump to content
  • 0

USB OTG serial console enable





I am kind of linux newbie.

I want to use serial console with my Rock Pi S thru usb otg.

I googled and found this from https://gist.github.com/lukicdarkoo/a87f79b1c25cd86bdc47a8784d6eee9c.




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



I tried it but failed. And I found that there was not "sunxi_usb_duc" directory.

Any advice would be apreciated.


ok, I just found that these are for orange pi.

Any guide for rock pi s?


After install new image, now I can use serial console with usb otg.

Edited by kimwida
Found solution
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Help Armbian team helping you!

This topic is now closed to further replies.

  • Create New...