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

Strip down proxied device interface altsettings based on UDC capabilities #24

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

Comments

@xairy
Copy link
Contributor

xairy commented Jun 21, 2024

As encountered in #23 (comment), the UDC might not provide enough capabilities (e.g. max packet size) to emulate the proxied device. Failing to proxy the device would be the expected behavior in this case.

However, we could also dynamically edit the device descriptor exposed to the host to remove interface altsettings that cannot be supported by the UDC. This will sever the proxied device functionality available to the host, but this might good enough for certain use cases.

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

No branches or pull requests

1 participant