On Fri, 16 Dec 2005, Franck wrote:

> > No, that's not what it means.  Suspending all the devices attached to a
> > bus is different from suspending the bus itself.
> >
> 
> Well stopping any activity on the bus (that's what happen when
> suspending all devices from the bus) sounds to me like suspending the
> bus...

But suspending the devices _doesn't_ stop all activity on the bus.  It
doesn't stop SOF packets, for instance.  At least, it doesn't with UHCI, 
OHCI, or EHCI controllers.

> ok so bus_suspend is actually used to suspend  root hub or hcd
> circuitry related to bus activity ? If so I can't do anything useful
> here with my hardware.

Okay, then your routine won't end up doing very much.


> > > BTW, I notice a regression. I can not use anymore my usb stick with an
> > > embedded hub, I got the following error message:
> > > """
> > > usb 1-1: new full speed USB device using vusb-hcd and address 5
> > > usb 1-1: can't connect bus-powered hub to this port
> > > hub 1-0:1.0: state 5 ports 1 chg 0000 evt 0002
> >
> > That's not a regression -- it's what should have happened all along!
> >
> 
> weird...it didn't happen with 2.6.14

That's because the code was added since 2.6.14 was released.

> > This says that the embedded hub in your stick needs 100 mA to run.  You
> > didn't say how much power is available from your host controller's port,
> > but apparently it only provides 100 mA (otherwise the error message
> > wouldn't have appeared).
> 
> nope, my hcd->power_budget is set to 500mA. This error is printed by
> hub_port_connect_change in hub.c. The condition that refuses the new
> device is not related to power budget, is it ?

Yes it is.  It's trying to avoid having a bus-powered hub plugged into 
another bus-powered hub.

Alan Stern



-------------------------------------------------------
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_id=7637&alloc_id=16865&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