Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

USB OTG serial console enable

Featured Replies

Hi.

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.

 

Quote

 

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

  • Author
19 hours ago, Igor said:


I told you that, didn't I ?:) 

 

Thanks for the help and guide to here.

I think I have to dig in this forum for a while. :)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.