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

Can I act as a proxy for multiple devices at the same time? #21

Open
xucong1018 opened this issue Jan 22, 2024 · 1 comment
Open

Can I act as a proxy for multiple devices at the same time? #21

xucong1018 opened this issue Jan 22, 2024 · 1 comment

Comments

@xucong1018
Copy link

Can I act as a proxy for multiple devices at the same time?
i get the error "ioctl(USB_RAW_IOCTL_RUN)" ,when I'm acting for the second device.
Thank you for the answer.

@xairy
Copy link
Contributor

xairy commented Jan 22, 2024

If you have two separate UDCs connected, then it should be possible.

If you have only one UDC, then it's not. Emulating a USB hub is impossible through the Gadget subsystem AFAIK. It might be possible to implement parallel proxying of some 1-configuration 1-interface devices by combing them into a single device with two interfaces, but this likely won't work for many practical 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

2 participants