zyfeier opened a new pull request, #8646: URL: https://github.com/apache/nuttx/pull/8646
## Summary 1. Use Linux Raw Gadget and Dummy UDC to set up virtual USB device; Get Raw Gadget: Get Raw Gadget code at https://github.com/xairy/raw-gadget. Make Raw Gadget: Run make in the raw_gadget and dummy_hcd directory. If raw_gadget build fail, you need to check which register interface meets your kenel version, usb_gadget_probe_driver or usb_gadget_register_driver. Install Raw Gadget: Run ./insmod.sh in the raw_gadget and dummy_hcd directory. 3. Simulate USB Host using libusb, it's possible to connect simulated USB devices and real USB devices based on the configured VID and PID. At this stage, only one USB device can be connected. ## Impact NA ## Testing sim:usbdev sim:usbhost test adb, rndis, cdcacm, cdcecm. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org