Alan Stern wrote: > > Ok. So the hub code rejects a device needing 150 mA (which resluts in > > 300) althoug the MIC2536 is able to provide 150 mA. For me it rejects a > > configuration that should be accepted, doestn't it ? > > No, no. If c->desc.bMaxPower == 150 then the device really needs 300 mA. > Remember, the value in the descriptor is given in units of 2 mA. (That's > how it manages to pack values ranging up to 500 in a single byte.) So the > driver is rejecting a configuration which should be rejected. >
Oh, I was missing the fact that the unit for these values are 2 mA (and not 1 mA). Thank you Valentin ------------------------------------------------------------------------- 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