Need help! Can't get device mode to work.
#6
(12-29-2021, 04:47 PM)djonathan Wrote: @scanboy , were you able to get the device to enumerate?

I am running a Debian 5.15 kernel that does not have USB_OTG or device-tree OVERLAY enabled.  The original device-tree has dr_mode="host", so:
  • on the  running system I edited and replaced the dtb so that dr_mode="peripheral"
  • I can set up the configfs  /sys/kernel/config/usb_gadget/g1/ with files according to recipes for enabling RNDIS
  • /sys/class/udc has content, so I no longer get the "could not find an available udc" complaint
  • modprobe what look like the right drivers, and I see the kernel message g_ether gadget: g_ether ready
  • ip address shows usb0


I am trying to connect to a Windows 10 PC, and I get USB device not recognized when I plug in the cable, and running usbview.exe I see the real problem is FailedEnumeration.

So I think we are at the same point: the rockpro64 gadget is not responding to enumeration requests.

I was pretty much stuck at the same point you are, no matter what I changed in configfs, it didn't seemed to matter which made me think that dt overlay is necessary. I haven't had much time to mess with this lately, the last thing I did was trying to recompile the kernel to include dt overlay, but failed, haven't had time to look into it.
  Reply


Messages In This Thread
RE: Need help! Can't get device mode to work. - by scanboy - 12-29-2021, 05:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  USB3 xhci-hcd in SuperSpeed mode swan 0 523 05-11-2023, 05:35 AM
Last Post: swan
  RockPro64 linux console video mode callegar 0 894 09-06-2022, 02:32 PM
Last Post: callegar
  Using the PCIe slot of ROCKPro64 as EndPoint mode nonoriri 1 1,854 11-20-2021, 10:53 AM
Last Post: fire219
  slave mode on Rockpro64 Radhika.gabani 1 2,370 09-22-2021, 05:35 AM
Last Post: mahtew
  Linux distro that will work with Kodi? SBCraok 9 11,876 09-18-2019, 02:12 AM
Last Post: mtrcycllvr
  USB device mode tikonen 1 2,830 07-02-2019, 05:49 AM
Last Post: tikonen
Information PCIe -> SATA and NVMe work as of 0.6.59 Luke 13 15,255 08-06-2018, 11:33 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)