mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tilman Schmidt <tilman@imap.cc>
To: Alan Stern <stern@rowland.harvard.edu>,
	Greg Kroah-Hartman <gregkh@suse.de>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-usb-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: [PATCH] USB: power-management.txt - disconnect clarification
Date: Mon, 12 Nov 2007 10:55:35 +0100 (CET)	[thread overview]
Message-ID: <20071112095535.B778111004B@xenon.ts.pxnet.com> (raw)

From: Tilman Schmidt <tilman@imap.cc>

Add a paragraph to Documentation/usb/power-management.txt about the
interaction between suspend and disconnect.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
---

--- linux-2.6/Documentation/usb/power-management.txt	2007-10-14 00:41:08.000000000 +0200
+++ linux-2.6.24-rc2-work/Documentation/usb/power-management.txt	2007-11-12 10:27:30.000000000 +0100
@@ -278,6 +278,12 @@
 	(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 will also happen if the system is resumed
+from hibernation, as the device could have been disconnected without
+the system being able to detect it.
+
 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

             reply	other threads:[~2007-11-12 10:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-12  9:55 Tilman Schmidt [this message]
2007-11-12 19:42 ` Alan Stern
2007-11-15 21:33   ` Tilman Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071112095535.B778111004B@xenon.ts.pxnet.com \
    --to=tilman@imap.cc \
    --cc=akpm@linux-foundation.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®