i have found the document Thank you very much.

current to the USB host controllers during hibernation.  (It's
possible to work around the hibernation-forces-disconnect problem by
using the USB Persist facility.)

The reset_resume method is used by the USB Persist facility (see
Documentation/usb/persist.txt) and it can also be used under certain
circumstances when CONFIG_USB_PERSIST is not enabled.  Currently, if a
device is reset during a resume and the driver does not have a
reset_resume method, the driver won't receive any notification about
the resume.  Later kernels will call the driver's disconnect method;
2.6.23 doesn't do this.




gavin.kx

From: Alan Stern
Date: 2013-01-11 23:11
To: gavin.kx
CC: linux-usb
Subject: Re: how to disable usb hub suspend function
On Fri, 11 Jan 2013, gavin.kx wrote:

> Dear sir:
> i have a project that need disable usb hub suspend function, How can i do ? 
> Thank you !

You can prevent any USB device from suspending by doing:

echo on >/sys/bus/usb/devices/.../power/control

Fill in the "..." part with the path for the device you want.

Alan 
SternN�����r��y����b�X��ǧv�^�)޺{.n�+����{������^n�r���z���h�����&���G���h�(�階�ݢj"���m������z�ޖ���f���h���~�m�

Reply via email to