Allow stalling non-0-length control OUT transfers #71
Labels
gadget subsystem
Requires changes in USB Gadget subsystem
kernel
Requires kernel changes
raw gadget
Requires changes in Raw Gadget
This issue is caused by a limitation of the USB Gadget API.
Right now, all UDC drivers auto-complete the status stage of non-0-length control OUT transfers. As a result, it's impossible to stall such transfers. There was a patch series that intended to address this, but it was never merged. See the discussion for more details.
To resolve this, we would need to extend the Gadget API, add support into all/relevant UDC drivers, and then extend the Raw Gadget UAPI interface.
The text was updated successfully, but these errors were encountered: