-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Currently (10.0.0-beta.2) the usb.core.Device
API sometimes returns null values (vid/pid of 0) or strings with random garbage when you try to access the .idVendor
, .idProduct
, .serial_number
, .product
, and .manufacturer
properties of usb.core.Device
.
I know this is very vague, but I haven't figured out how to reproduce it consistently. I've taken to using my own USB device descriptor parser as a workaround, so I haven't researched it carefully yet.
I'm posting this issue at tannewt's request to split out one of the points I mentioned in USB Host Improvement Quest Umbrella Issue #10551. The point of this issue is to let people know I'm planning to work on this myself and to ask for comments and feedback.
[edit: I'm not sure about the corrupted strings for 10.0.0-beta.2. I've definitely seen that in the past, but I've been having trouble reproducing it.]