raw-gadget
raw-gadget copied to clipboard
Document or change behavior with 0-length setup requests
Currently, Raw Gadget considers all requests with wLength == 0 to be OUT requests regardless of bRequestType.
This follows the HCD drivers' behavior (also this), but I'm not sure if this makes sense for the gadget side.
We need to either document this behavior or change it.
I find this issue too,if usb_ctrlrequest carried option data, We cann't get it. how to fix this issue?
This issue is only related to 0-length requests, which carry no data. If your request transfers data, you're having a different issue.