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 help needed

Featured Replies

ls /sys/class/udc > UDC
ls:write error: Device or resource busy

I'm trying to get an armbian device (banana pi m2 zero and/or the orange pi zero LTS) to function as a USB client, but I can't seem to get the above step working. Any suggestions? lsof UDC returns nothing.

 

On the RaspberryPI 4 this worked without issue 

Edited by mongoose

The driver for USB OTG gadgets in most (all?) Allwinner chips is limited to PIO (polled I/O). That would have a couple of important implications including very high CPU utilization and limited data throughput. It's might be possible to improve the driver to give it DMA support, which could improve performance and reduce CPU usage. But it looks like nobody's working on it right now.

 

https://linux-sunxi.org/Linux_mainlining_effort#Drivers_that_can_still_be_improved.2Fadded

 

That being said, it should at least be possible even if it may be sub-optimal. Maybe you're missing a device tree overlay? Or maybe the relevant USB gadget kernel modules aren't compiled/installed? I'm hoping to spin up a new orange pi zero in the next little while; hopefully I can remember to take a look.

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.