Am Freitag, 5. Januar 2007 23:15 schrieb Alan Stern: > > > Furthermore, this would mean that the device continues to draw 500 mA of > > > current even though the descriptor reverts back to indicating only 100 > > > mA. > > > That doesn't make sense. > > > > I agree. Based on further experiments it stays at 500ma setting. Not that > > the device is drawing that much current. > > So maybe you don't need to worry about anything. Even though the > descriptor value changes back to 100 mA (which the USB core won't notice > since it pays attention only to the descriptor that it read during the > re-enumeration), the device may continue charging its battery and using up > to 500 mA of current.
Yes, please try to experimentally determine under which conditions the device will recharge. We can live with invalid descriptors, but we cannot mess with the fundamentals of enumeration. In particular please try simply sending only the magic command. It may be sufficient. Regards Oliver ------------------------------------------------------------------------- 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