X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Documentation%2Fusb%2Fpower-management.txt;h=b2fc4d4a99177be7bd48dce560d1f28417c60aa9;hb=a80f509f4a4f41ea8693733124470ad63a12664a;hp=97842deec47170dee0617d8767e5ebb5d8fa099e;hpb=4937ce87959629d31e9b09cf5bdf1e12a305c805;p=linux-2.6 diff --git a/Documentation/usb/power-management.txt b/Documentation/usb/power-management.txt index 97842deec4..b2fc4d4a99 100644 --- a/Documentation/usb/power-management.txt +++ b/Documentation/usb/power-management.txt @@ -278,6 +278,14 @@ optional. The methods' jobs are quite simple: (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