Re: i.MX31 usb device support and power supply

Valentin Longchamp <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization EPFL STI-IPR-LSRO1
Message-ID <[email protected]>
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.