Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contain USB_GADGET_DELAYED_STATUS within composite framework #70

Open
xairy opened this issue Jun 16, 2024 · 0 comments
Open

Contain USB_GADGET_DELAYED_STATUS within composite framework #70

xairy opened this issue Jun 16, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation gadget subsystem Requires changes in USB Gadget subsystem

Comments

@xairy
Copy link
Owner

xairy commented Jun 16, 2024

This is not an issue in Raw Gadget, but rather an inconsistency within the Linux kernel USB Gadget subsystem. It was discovered while investigating and fixing #45.

Quoting the related Linux kernel commit:

The proper solution to this issue would be to contain USB_GADGET_DELAYED_STATUS within the composite framework and make all UDC drivers to not complete the status stage for 0-length requests on their own.

Unfortunately, there is quite a few UDC drivers that need to get fixed and the required changes for some of them are not trivial.

@xairy xairy changed the title Contain USB_GADGET_DELAYED_STATUS within composite framework Contain USB_GADGET_DELAYED_STATUS within composite framework Jun 16, 2024
@xairy xairy added gadget subsystem Requires changes in USB Gadget subsystem docs documentation Improvements or additions to documentation and removed docs labels Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation gadget subsystem Requires changes in USB Gadget subsystem
Projects
None yet
Development

No branches or pull requests

1 participant