On Wed, 24 May 2006, Daniel Drake wrote:

> Alan Stern wrote:
> > The idea is that the kernel now keeps track of USB power budgets.  When a 
> > bus-powered device requires more current than its upstream hub is capable 
> > of providing, the kernel will not configure it.
> 
> Thanks for the explanation. I wrote a quick patch to make the reasoning 
> visible to users. Any comments?

It looks good, except that perhaps you might want to move the final log 
message outside the "if (best)..." statement, so that it will get printed 
even when a configuration _is_ selected.

Alan Stern



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
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