-
1. Re: Multiple configuration descriptors with FX2
gayathriv_16 Apr 5, 2012 1:25 AM (in response to andrew.sobotka)Hi,
Cy[press Usb device driver, CyUSB.sys, and our libraries currently doesn't support multiple configurations. It supports only one configuration as of now.
Regards,
Gayathri
-
2. Re: Multiple configuration descriptors with FX2
andrew.sobotka Apr 5, 2012 10:13 AM (in response to andrew.sobotka)Hi Gayathri, thanks for the information. A quick google suggests that WinUSB also has a one-configuration limitation.
Would it be possible to "fake" multiple configurations by doing what amounts to Re-Numeration? For example, my descriptors will report that I only have one configuration, but my software will know that I secretly have two configurations. So it will issue a vendor command which would force a disconnect with USBCS |= 0x80; wait three seconds; change which configuration descriptor I report for enumeration; and then reconnect with USBCS &= ~0x80.
I think that will accomplish my goal, but I would be interested to hear if you have any other suggestions.
-
3. Re: Multiple configuration descriptors with FX2
ananda_26 Apr 6, 2012 3:17 AM (in response to andrew.sobotka)Hi Andrew,
When you say two configuration are they both implementing 2 separate classes or are they both vendor specific class. CyUSB.sys will just pass up the descriptor irrespective of what it contains. It comes down to the matter of being able to set configuration (I remember windows low level drivers not letting us do that). I'll check on that and get back to you.
Regards,
Anand