On Sun, 11 Jun 2006, naveen kumar wrote:

> Hi ,
> 
> I changed my kernel to 2.6.14 version.Still the same
> piece of code is present in this kernel also.Who will
> call suspend if linux.
> 
> Which is the function call for suspend (
> usb_suspend_device (or) ehci_hub_suspend ).What is the
> exact difference between these two
> calls.ehci_hub_suspend is under CONFIG_USB_SUSPEND
> option in kernel config.

You can call ehci_hub_suspend by doing this (as root):

        echo -n 2 >/sys/bus/usb/devices/1-0:1.0/power/state

if your EHCI controller is registered as the first USB bus.  If it is 
registered under a different bus number, change the "1-0" above to "B-0" 
where B is the actual bus number.

Alan Stern



_______________________________________________
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