2005/12/19, Alan Stern <[EMAIL PROTECTED]>:
> On Mon, 19 Dec 2005, Franck wrote:
>
> > > The new code is supposed to work okay, even with values between 0 and 500.
> > > If it doesn't, maybe Franck has found a real problem with it.
> > >
> >
> > setting hcd->power_budget to 0 (meaning power budget illimeted) fixes
> > the problem.
> >
> > I actually do not understand that comment that can be found in hub.c:
> >
> >               /* consecutive bus-powered hubs aren't reliable; they can
> >                * violate the voltage drop budget.  [...]
> >                */
> >               if (udev->descriptor.bDeviceClass == USB_CLASS_HUB
> >                       && hub->power_budget
> >                       && (devstat & (1 << USB_DEVICE_SELF_POWERED)) == 0) {
> >                               /* FAIL */
> >               }
> >
> > In my case, hub is the root hub and hub->power_budget is set to 250.
> > the connected device is an embedded hub which is bus powered. So it
> > fails. Could you put some ligth on that point ?
>
> You should be using the current development kernel, which means using Greg
> KH's USB patches.  You can find them at
>
> http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
>
> I always work with the gregkh-all-... patch set.  You'll find this section
> of code is now completely different.
>

Indeed, there are a lot of changes on that part. I'll do that...

Thanks
--
               Franck


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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