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

Recognize interface in usb_hid_get_feature_report_start #73

Open
lam2398 opened this issue Dec 17, 2024 · 0 comments
Open

Recognize interface in usb_hid_get_feature_report_start #73

lam2398 opened this issue Dec 17, 2024 · 0 comments

Comments

@lam2398
Copy link

lam2398 commented Dec 17, 2024

Hi,
I try to create 2 interfaces (to have 2 devices /dev/hiddraw... in linux) but i am struggling with the function usb_hid_get_feature_report_start. My idea is these 2 interfaces will send 2 different reports in this function before they get data from host. I don't know how to identify which interface is requested
My question: Is there any way to to identify first interface or second interface in usb_hid_get_feature_report_start function.

I have no knowledge about USB, just custom available examples in this repo to achieve my purpose of use. Please forgive me if my question sounds silly.

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