12-29-2021, 04:47 PM
@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:
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 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.