I'm working to update the USB drivers, because soon the way altsettings are stored will be changed. The arrays will no longer be guaranteed to be sorted in numerical order by bAlternateSetting.
The usbaudio driver appears to need only a couple of changes, and maybe the usbmidi driver too. The usbmixer driver may need more than that. But I'm a little unsure. Each of these drivers refers to altsetting[0] in a few spots. When this is done only to retrieve the descriptor's bInterfaceNumber it is harmless, since every altsetting will have the same interface number. However in other places it's not clear whether this should be changed to use usb_altnum_to_altsetting() to look up the actual altsetting 0, or whether the driver really does want to use the first entry in the altsetting array (regardless of which one that happens to be). Please let me know how the drivers should be changed. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel