-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
AddDescriptor crashes adding duplicate key #54
Comments
You're seeing many "Key: 1"s, namely one entry for each device. The bug, however, seems to be a device with more than one Configuration descriptor. Those are very rare, so it may very well be I overlooked something there. If you are familiar with |
ScottUSBViewAll.txt |
I added more logging...seems like it's my USB Sound board from Mackie Designs, a ProFX6?
|
Confirmed, when I turn off the Mackie, I can get a list of USB devices:
|
Just like I suspected:
This device has more than 1 configuration, which (as stated before) is very rare.
I certainly did not account for that. The CAUTION above certainly indicates that this is indeed a multi-speed device, but will report only 1 of its two available configurations unless asked in this special way (which usbipd-win does not do). Without the device available to experiment with, this is not easily fixed. Also because there are a lot of other WARNINGS in the descriptor list. What I will do is make sure that such failures to decode will simply filter out the device from the list altogether. But I don't expect that usbipd-win can support this device in the near future (unless you are willing to send it to me). |
Sounds like a great deal @dorssel and I thank you for your patience and help! Yes, if it was either filtered out or filtered out with a warning that'd be cool. I am more than willing to apply any PRs/patches and test locally if that helps you! Would be happy to send it to you but it's a pretty obscure high end audio mixer so I suspect it's not worth the hassle. :) Thank you for all your great work! |
I have same issue for following device. (from usbview.exe)
|
Apparently not that rare and looks like Audio interfaces are the main offenders :) |
Looks good :)
|
When trying to run
./usbipd wsl list
I get:So I added some Console.WriteLine logging and get
But I'm confused. Why didn't the second "adding key: 1" fail, and what's config.bConfigurationValue expected to be?
It seems like my machine has some number of devices that you're not expecting to "be the same" when loaded into the hashtable. Two mice? Two webcams? Two identical brand Anker USB Hubs? Yes to all of these things.
Any ideas on the best way to debug?
The text was updated successfully, but these errors were encountered: