-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add endpoint FIFO ioctls #12
Comments
It should be possible. What's the use case for this? |
Actually i ended up implementing it quickly myself and just testing to see if it fixed an error i was having, but it didnt resolve it This call is in gadgetfs and not in raw-gadget so i suspect there will probably be a request sooner or later for it anyway |
Those ioctls are in GadgetFS, but I'm wondering what's the actual use case for them. |
Unfortunately im not exactly sure, im still learning the gadget subystem myself (i usually work on drivers on the other (host) side). Im using raw-gadget to help passthrough a USB from a remote machine transparently and it was jamming sometimes so i figured this call might be the missing part. |
Is it possible to add an ioctl to get status/clear fifo for an endpoint? Essentially passing these functions through
int usb_ep_fifo_status(struct usb_ep *ep);
void usb_ep_fifo_flush(struct usb_ep *ep);
The text was updated successfully, but these errors were encountered: