Re: [PATCH] USB: power-management documenation update

Tilman Schmidt <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Alan Stern schrieb:
> This patch (as1014) was partly written by Tilman Schmidt.  It
> clarifies the USB power-management documentation by explaining that
> when a disconnect occurs, a suspend method call might not be followed
> by either a resume or a reset_resume call.
> 
> Signed-off-by: Alan Stern <[email protected]>

Signed-off-by: Tilman Schmidt <[email protected]>

> ---
> 
> Index: usb-2.6/Documentation/usb/power-management.txt
> ===================================================================
> --- usb-2.6.orig/Documentation/usb/power-management.txt
> +++ usb-2.6/Documentation/usb/power-management.txt
> @@ -278,6 +278,14 @@ optional.  The methods' jobs are quite s
>  	(although the interfaces will be in the same altsettings as
>  	before the suspend).
>  
> +If the device is disconnected or powered down while it is suspended,
> +the disconnect method will be called instead of the resume or
> +reset_resume method.  This is also quite likely to happen when
> +waking up from hibernation, as many systems do not maintain suspend
> +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
> 


-- 
Tilman Schmidt                    E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 250 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHQpzaQ3+did9BuFsRAjbXAKCEnydmwGfd8lxbvTDEPtcX6vK60wCfVY8b
oYgq8vnlylLPICshREaBVOo=
=gVRd
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.