Need help! Can't get device mode to work.
#5
@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.
  Reply


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

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

Forum Jump:


Users browsing this thread: 3 Guest(s)