All the drivers do not handle devices with multiple configurations very well. I could not locate any sample code to change the default configuration.
/* We don't handle multi-config */
/*
if (dev->descriptor.bNumConfigurations != 1)
return NULL;
*/Here is the example of configuration 1. Only two endpoint, which neither are the audio endpoint.
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I: If#= 0 Alt= 1 #EPs= 2 Cls=00(>ifc ) Sub=00 Prot=00 Driver=USBVision Video Grabber
E: Ad=01(B) Atr=00(Ctrl) MxPS= 8 Ivl=0ms
E: Ad=82(I) Atr=01(Isoc) MxPS= 959 Ivl=1ms
Here is the configuration I'm trying to have the usbvision device use.
C: #Ifs= 1 Cfg#= 2 Atr=80 MxPwr=200mA
I: If#= 0 Alt= 1 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=
E: Ad=01(B) Atr=00(Ctrl) MxPS= 8 Ivl=0ms
E: Ad=82(I) Atr=01(Isoc) MxPS= 959 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 66 Ivl=1ms <----- This is the audio endpoint!!!!!1111
I have also read that the configuration of a usb device is handled by the usb-core, and can not be changed. Is this true?
I'm looking for some hints on how to code the change to configuration #2.
Thanks
Dwaine.
------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
