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

Automatically remap endpoint addresses based on their capabilities #12

Open
xairy opened this issue Oct 28, 2023 · 0 comments
Open

Automatically remap endpoint addresses based on their capabilities #12

xairy opened this issue Oct 28, 2023 · 0 comments

Comments

@xairy
Copy link
Contributor

xairy commented Oct 28, 2023

Right now, USB Proxy tried to use the same addresses for UDC endpoints as the addresses that are provided in the USB descriptors of the proxied device. This doesn't always work, as UDC endpoints might not support the required addresses or capabilities.

Instead, we need to dynamically remap the endpoint addresses; see assign_ep_address in the Raw Gadget examples for reference.

This issue has previously came up here.

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