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.

RK3399: does dwc3 actually negotiate SuperSpeed in peripheral mode?

Featured Replies

I need a USB gadget that enumerates at SuperSpeed, not High-Speed, and I can't find a straight answer for RK3399.

On a ROCK Pi 4 with mainline, setting dr_mode = "peripheral" on usbdrd_dwc3_0 gives a working UDC and gadgets bind fine. What I can't find is what speed it actually trains at.

For RK3588 it's reported that the Type-C port does USB 3.x in host mode but is capped to USB 2.0 in device mode. Does the same cap apply to RK3399, or does its dwc3 really do SuperSpeed peripheral?

If anyone has an RK3399 board running in peripheral mode, two outputs would settle it. On the board:

cat /sys/class/udc/*/maximum_speed /sys/class/udc/*/current_speed

And on the PC it is plugged into:

lsusb -t | grep 5000M

Asking before I buy one. Thanks.

Edited by well0nez

On Armbian/mainline, RK3399 should support SuperSpeed peripheral mode through DWC3. Try explicitly setting both:

dts

dr_mode = "peripheral";
maximum-speed = "super-speed";

There are reports of current_speed reaching super-speed on the ROCK Pi 4C+. However, confirmation on the exact ROCK Pi 4 model and Armbian kernel version would be appreciated.

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.