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

Facedancer backend #9

Open
xairy opened this issue May 30, 2020 · 3 comments
Open

Facedancer backend #9

xairy opened this issue May 30, 2020 · 3 comments

Comments

@xairy
Copy link
Owner

xairy commented May 30, 2020

It should be possible to use Raw Gadget as a backend for Facedancer. At least for UDCs with configurable (direction and transfer type) gadget endpoints.

@trevor403
Copy link

This would be quite interesting, it would be great to have accessible tools for teaching USB, like the PI Zero or even the some Intel Atom and Quark boards with UDC capabilities.

@xairy
Copy link
Owner Author

xairy commented Dec 9, 2022

kirill9617 implemented a prototype Facedancer backend based on Raw Gadget.

Some notes:

  1. Facedancer processes all requests in a single service_irqs() handler, which is incompatible with Raw Gadget's blocking fetch/read/write ioctls. A potential solution is to add timeouts for the ioctls.

  2. Running some of Facedancer examples fails, the failures looks similar to how to send configuration descriptor in 2 parts #29.

@xairy
Copy link
Owner Author

xairy commented May 7, 2023

Finished up the prototype and made most Facedancer examples work with Dummy and dwc2 UDCs, see the details 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

2 participants