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

gadget-ffs example #46

Open
nandra opened this issue Feb 10, 2020 · 0 comments
Open

gadget-ffs example #46

nandra opened this issue Feb 10, 2020 · 0 comments

Comments

@nandra
Copy link

nandra commented Feb 10, 2020

Hi,

this is not an issue but general question. I want to check sending data over USB gadget so I used ffs gadget. This case input and output endpoints are created. I wrote small program using libusb1 to sent data to device. What bit puzzled me how to read data from endpoint. I see ffs/ep1 but when run cat ffs/ep1 got nothing. I tried to use simple aio-examples from kernel sources but result is same. Am I missing something? Thanks a lot.

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