Any example of USB gadget for DRD device mode on Intel Gemini Lake?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

I'm confused by the USB gadget mode on the recent Intel SoCs, such as
Gemini Lake. The /sys/class/udc is empty, and a SoC can't present
itself as a IoT gadget this way, yet definitely being designed as
such. I've noticed the concept of dual-role-device, which seems to
replace the OTG. Particularly, Harry Pan mentioned that Gemini Lake
supports DRD in port 0.

Indeed, if I do:

sudo sh -c "echo device >/sys/class/usb_role/intel_xhci_usb_sw-role-switch/role"


then one of the ports gets successfully recognized as a new USB
device, if connected with a cable to another laptop.

But I'm wondering, how exactly could I construct a logical device
class for this case, e.g. similarly to uvc gadget for OTG? Completely
lacking any example of code, currently it's a big confusion.

Thanks & Kind regards,
- Dmitry.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux