| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
With respect to your other problem: We do not just use the bNumInterfaces field of the config descriptor to figure out how many interfaces there are: We start with that and allocate our structures depending on bNumInterfaces. However, we then go and find all the interface descriptors using FindNextDescriptor. As you see in the sources, we iterate from i = 0 to i < bNumInterfaces. However, we then check to see if we actually found the interfaceDescritpor before proceeding. So, my guess is that your config descriptor does not actually have 6 interface descriptors but only 5. Do you have a CATC trace where we get the full configuration descriptor? This will show us how many interface descriptors there are. You could also look at your config descriptor dump, but I'm guessing that it would be painful to decode all the descriptors in it.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden This email sent to email@hidden
| References: | |
| >Re: Multiple configurations problem (From: Fernando Urbina <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.