|
From: Tim R. <ti...@pr...> - 2012-12-12 18:07:43
|
Walker, Richard wrote: > I'm working on bringing up a new USB device that overloaded the OTHER_SPEED_CONFIGURATION > string to output debugging information about the internal state of one of the ICs. OTHER_SPEED_CONFIGURATION is not a string. It's a descriptor. The terminology is important. > I've been trying to write a small executable that will find and print out the ASCII value of the OTHER_SPEED_CONFIGURATION string. Is this possible with libusb? I've been able to print > out manufacturers ID, serial number, and so forth, but can't figure out how to get descriptor #7. Are you fetching descriptor type 7, or are you fetching string (type 3) descriptor number 7? Those are two different things. Rather than subvert the meaning of the actual OTHER_SPEED_CONFIGURATION descriptor (which might accidentally get used if there were a bus problem), it might be easier just to add another string descriptor for this. You can have as many string descriptors as you want -- Tim Roberts, ti...@pr... Providenza & Boekelheide, Inc. |