Please reply to the mailing list as well as to me.

On Thu, 11 May 2006, rakesh kn wrote:

> Hi,
> In the suspend/resume call back in platform driver structure, i am
> exactly doing the same,
> i call bus_suspend to suspend all the ports in the controller. and the
> i halt the controller.
> This is what is done in the suspend call back.
> 
> Then which function/call back is invoked when we try to suspend/resume
> from the /sys/bus/usb/devices/usb1/power/state .

Writing to that file doesn't invoke anything.  However, 
hcd->driver->bus_suspend and hcd->driver->bus_resume get invoked when you 
write to /sys/bus/usb/devices/usb1/1-0:1.0/power/state.

> Please clarify on the above, correct me if i am wrong.

All you have written above is a description of what you are doing.  How am
I supposed to know if your description is wrong and you're really doing
something else?


Did you read what I wrote in my previous message?

> > Second problem: You cannot suspend the host controller without first
> > suspending all the devices and interfaces beneath it in the device tree.

This includes suspending the storage device's interface (plus all the SCSI
stuff beneath it), the storage device itself, and the root hub interface.

Alan Stern



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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