> > Am Donnerstag, 4. Januar 2007 17:39 schrieb Mike King: > > CLASS_SPECIFIC CMD (secret command) value=0, index=1, length=0 > > SET_CONFIGURATION config value = 1,index=0,length=0 > > reset > > reset > > reset > > GET_DESCRIPTOR DEVICE > > SET_ADDRESS > > GET_DESCRIPTOR DEVICE > > GET_DESCRIPTOR CONFIG (9 bytes) > > bMaxPower = 500ma, all other settings are same as previous > > 0x09 0x02 0x2e 0x00 0x01 0x01 0x00 0x80 0xfa > > GET_DESCRIPTOR CONFIG (full config) > > GET_DESCRIPTOR STRING (repeated 4 times with different indexes) > > SET_CONFIGURATION config value = 1, index=0,length=0 > > Hi, > > this looks very informative. This sequence should be emulateable with > usb_reset_configuration(). > > Regards > Oliver >
Oliver, I tried it and it didn't work. For some reason the device is sensitive to the order in which descriptor requests and SET_CONFIG are made. When I comment out the USB_REQ_SET_CONFIGURATION in usb_set_configuration() and usb_reset_configuration() and then perform the USB_REQ_SET_CONFIGURATION from within my driver it works just fine. Thanks, Mike ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel