-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Fix usb enumeration stage error for some device (IDFGH-9778) #11113
Conversation
Thanks for your contribution. |
Hi @20051231, There is another ticket here which is also related to the configuration value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@20051231 Thank you for your contribution, Changes LGTM. I'll add an extra commit to update some comments and docs.
sha=9d1c8f4f1815ce1d4bcea32ab7ef2cb830e90a08 |
…eration This commit updates some comments and documentation regarding changes made in PR #11113.
…eration This commit updates some comments and documentation regarding changes made in PR #11113.
…eration This commit updates some comments and documentation regarding changes made in PR #11113.
…eration This commit updates some comments and documentation regarding changes made in PR #11113.
Fix enumeration process crashed with stall status when enumerating devices which return
bConfigurationValue
with non standard value in the configuration description.I encounter the bug when I try to connect a serial device from Netchip Technology. The device responses the request for first configuration with bConfigurationValue = 2. But in current code, the
config_num
is hardcoded to beENUM_CONFIG_INDEX + 1
which is 1.Here is the pcapng when I connect the device into PC.
usbmon.zip