last updated at 2021-09-07 08:14
https://www.kernel.org/doc/html/v5.0/driver-api/usb/gadget.html#usb-on-the-go-otg posted by Ash at 2021-09-07 08:14
Ash: "Gadget drivers test the is_otg flag, and use it to determine whether or not to include an OTG descriptor in each of their configurations."
"How can I configure a RPi Zero W to start as a USB guest when a host is connected to the USB port, and to start as a host when there's no host connected to the USB port?" posted by kandinski at 2021-09-07 07:41