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.

Orange Pi Lite - Debian Stretch next - g_serial/g_ether does not work

Featured Replies

Hello,

 

I am trying to use g_serial but it does not work.

I'm using fresh install of armbian (Armbian_5.38_Orangepilite_Debian_stretch_next_4.14.14.7z),
with apt-get update/apt-get upgrade/armbianconfig Install headers.

 

Linux orangepilite 4.14.15-sunxi #28 SMP Mon Jan 29 07:24:48 CET 2018 armv7l GNU/Linux

This is the overlay I use to enable OTG:
sudo /usr/sbin/armbian-add-overlay usbotg.dts

 

/dts-v1/;
/plugin/;

/ {
  compatible = "allwinner,sun8i-h3";

  fragment@0 {
    target = <&usb_otg>;
    __overlay__ {
      dr_mode = "otg";
      status = "okay";
    };
  };

};


After rebooting OPi there are several errors like this in syslog


 

musb_g_ep0_irq 712: SetupEnd came in a wrong ep0stage out/status

The other computer is running Ubuntu 16.04 LTS
I use small USB hub (full speed only) between my PC and OPi lite but if I make direct connection the errors are same.
If I unplug and plug USB cable between OrangePi Lite and my computer (or if I plug the cable after OPi boots) I get same errors.
I got same errors when trying with .g_ether

usb 7-2.1: new full-speed USB device number 4 using uhci_hcd
usb 7-2.1: device descriptor read/64, error -71
usb 7-2.1: device descriptor read/64, error -71
usb 7-2.1: new full-speed USB device number 5 using uhci_hcd
usb 7-2.1: device descriptor read/64, error -71
usb 7-2.1: device descriptor read/64, error -71
usb 7-2.1: new full-speed USB device number 6 using uhci_hcd
usb 7-2.1: device not accepting address 6, error -71
usb 7-2.1: new full-speed USB device number 7 using uhci_hcd
usb 7-2.1: device not accepting address 7, error -71
usb 7-2-port1: unable to enumerate USB device

The result of sudo armbianmonitor -u is here http://ix.io/Fcb

 


Regards

Hello,

I have same issue (Armbian 5.65, fresh install). Did you sovle this problem? Does anyone have working OTG on Orange Pi Lite?

49 minutes ago, Igor Martsekha said:

image which built from this repo


Use it.

In case you want this function in a quality OS with mainline kernel ... here you can see some overview how the process of mainlining looks like:
https://elinux.org/images/d/dc/Petazzoni-soc-mainlining-lessons-learned.pdf

 

Mainlining is expensive and long process of porting board support from a static development kernel to the mainstream. Not all boards get there and very rare with all functions.

 

A bit more concrete information - for Allwiner devices, what works, what not:
https://linux-sunxi.org/Linux_mainlining_effort

... while bugs in the implementation are not there.

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.