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

usbdev/composite: composite should send only one request for USB_REQ_SETCONFIGURATION #8883

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

raiden00pl
Copy link
Contributor

Summary

  • usbdev-composite: ep0 submit should be send only once for the composite class
    Some of USB controllers handle USB_REQ_SETCONFIGURATION by hardware, so we had a situation that some of composite configurations worked (eg. spresense) but other not (eg. stm32 otg).
    I think this problem was quite old (probably related thread on the old mailing list - https://nuttx.yahoogroups.narkive.com/Y6ZpMpFe/composite-usb-device-on-stm32f4-issues and annoing to find.

  • rndis: use composite_ep0submit to send the ep0 when composite

Impact

Testing

composite rndis + cdcacm on stm32 OTG

@acassis acassis merged commit 50cf84c into apache:master Mar 24, 2023
@raiden00pl raiden00pl deleted the usbdev_composite branch March 27, 2023 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants