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

Proxy-based Raw Gadget tests #53

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

Proxy-based Raw Gadget tests #53

xairy opened this issue Oct 31, 2023 · 0 comments
Labels
raw gadget Requires changes in Raw Gadget userspace Requires userspace changes

Comments

@xairy
Copy link
Owner

xairy commented Oct 31, 2023

Proxying USB devices proves to be an effective way to test Raw Gadget features.

A few ideas for testing Raw Gadget via proxying:

  • Provide a simple in-repo proxy that supports all of the features Raw Gadget currently exposes. This proxy can evolve alongside with the new Raw Gadget features added to the dev branch. External proxies can rely on this implementation as a guideline or directly reuse it.

  • Implement automatic virtual testing of Raw Gadget based on proxying the existing functions of the composite framework via Dummy HCD/UDC and USB/IP.

  • Document instructions for manual testing of Raw Gadget with various physical devices, hardware UDCs, and both Linux and Windows hosts.

Also see the TODOs in the existing Raw Gadget testing tooling.

@xairy xairy added userspace Requires userspace changes raw gadget Requires changes in Raw Gadget labels Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
raw gadget Requires changes in Raw Gadget userspace Requires userspace changes
Projects
None yet
Development

No branches or pull requests

1 participant