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.

[Armbian build PR] - rockchip: add patches to fix usb-gadget/peripheral mode

Featured Replies

This PR enables kernel modules for various USB Gadget applications for rockchip 32 bit platforms (rk322x, rk3288) for both current 6.6 and edge 6.7 kernels.

Also provides a bunch of patches to address issues with rk322x, whose peripheral mode does not really well with dwc2 driver yet. A couple of patches are self-produced after trial-and-error sessions, another pair are imported from rockchip 5.10 kernel and substitutes an older patch with a bit more refined code (see the "debounce" patch).

edit: the patches addressing the rk322x issues probably are worth also for rk3318 and rk3328, since the controller is the very same with similar issues. During my tests, I quickly checked an rk3318 device and found it has the same behaviour (disconnection, system freeze, ...). I will do further tests and, in case, import the same patches for rockchip64 too.

Jira reference number AR-2096

How Has This Been Tested?

  • [x] Installed on live rk322x system, tested mass storage :heavy_check_mark:, ethernet :heavy_check_mark:, uac1/2 :negative_squared_cross_mark:
  • [x] Installed on live rk3288 system in OTG mode, tested mass storage :heavy_check_mark:, uac1/2 :heavy_check_mark:

For sake of curiosity, iperf3 run on rk322x in ethernet gadget mode: image

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

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.