Am Donnerstag, 4. Januar 2007 12:26 schrieb David Brownell:
> On Thursday 04 January 2007 12:27 am, Oliver Neukum wrote:
> 
> > > I'll check tomorrow and see.  Does HUB electronics include over-current
> > > sensing to detect that a device that says it wants 100ma is in fact
> > > attemping to draw 500ma ?
> > 
> > No, protection is per hub, not port.
> 
> ... on some hardware, yes it can be ganged.
> On other hardware, the reporting is per-port.
> 
> The hub descriptor says which kind the hub uses.
> But there are wierd cases too, like when power
> switching is ganged but OC reporting isn't, and
> those cases aren't visible in the descriptors.

Yes, if this hack works, I'll add a function that requests additional
power to usbcore. It'll fail in the bus powered case. This is much
nicer than to mess with device initialisation.

> That magic command thing is an ugly hack, and I've
> not seen such a thing before.  Better would be to
> just have two different configurations.

Definitely. But wishes don't help for existing hardware.
 
        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

Reply via email to