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.

Can't enable host mode for otg usb on Bananapi M2 Zero running kernel 6.6.44-current-sunxi

Featured Replies

Hi you all. I'm trying for a couple of day now to solve an annoying problem with the USB and some Bananapi M2 zeros.

 

I have two cluster-hats with 4 Bananapi M2 zeros as nodes. The cluster hat presents itself as a USB gadget (USB ethernet interface) to the nodes allowing networking between the controller and the nodes.  The nodes work fine with kernel 5.9.8, the modules identify the hat as a network interface and everything works as expected. 

My trouble is that I'm creating new images for the nodes (bananapi m2 zero) from here, the nodes boots, but it seems like the OTG port is not behaving as expected. 

 

Followed instructions from these posts: 

https://forum.banana-pi.org/t/bpi-m2-zero-armbian-5-41-3-4-113-debian-jessie-ubuntu-xenial/5485/12

but I still can't make it work

 

I read here  that from kernet 5.17 micro-USB host mode is disabled, I'm a bit confused but I understand I need to enable this mode to make it work, or am I getting it wrong?

 

Any help will be appreciated

 

 

Hola Patricio!

 

Another guy re-installed Armbian with Linux 6.1 and g_serial was working... maybe g_ether will work too

 

https://forum.armbian.com/topic/44870-nanopi-duo2-microusb-serial-stop-working-on-24110/?do=findComment&comment=201229

 

Another thing to try:

 

Make sure that CONFIG_USB_ETHERNET=m is enabled (without #) in the /boot/linux.config file... if not, you need to learn how to make your own Armbian image, and enable this feature

 

https://linuxlink.timesys.com/docs/wiki/engineering/HOWTO_Use_USB_Gadget_Ethernet

 

Information about g_serial and g_ether together: https://forums.raspberrypi.com/viewtopic.php?t=238280

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.