public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum@suse.de>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: James Bottomley <James.Bottomley@suse.de>,
	Greg KH <greg@kroah.com>,
	Matthew Dharm <mdharm-usb@one-eyed-alien.net>,
	SCSI development list <linux-scsi@vger.kernel.org>,
	USB Storage list <usb-storage@lists.one-eyed-alien.net>
Subject: Re: [PATCH] usb-storage: implement autosuspend
Date: Mon, 2 Aug 2010 16:36:10 +0200	[thread overview]
Message-ID: <201008021636.10290.oneukum@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1007281702030.1744-100000@iolanthe.rowland.org>

Am Mittwoch, 28. Juli 2010, 23:12:39 schrieb Alan Stern:
> 
> This patch (as1400) adds runtime-PM support to usb-storage.  It
> utilizes the SCSI layer's runtime-PM implementation, so its scope is
> limited.  Currently the only effect is that disk-like devices (such as
> card readers or flash drives) will be autosuspended if they aren't
> mounted and their device files aren't open.  This would apply, for
> example, to card readers that don't contain a memory card.

So it will autosuspend devices that do contain a medium, which
is not mounted? This is a bit problematic, as some card readers
will report a medium change upon resumption?

How does user space deal with this?

	Regards
		Oliver

  parent reply	other threads:[~2010-08-02 14:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-28 21:12 [PATCH] usb-storage: implement autosuspend Alan Stern
2010-07-28 21:16 ` James Bottomley
2010-07-28 21:25   ` Greg KH
2010-07-28 21:29     ` James Bottomley
2010-07-28 21:35       ` Greg KH
2010-07-28 22:56         ` James Bottomley
2010-07-28 23:09           ` Greg KH
2010-07-29 14:14             ` Alan Stern
2010-07-29 14:19               ` Greg KH
2010-08-02 14:36 ` Oliver Neukum [this message]
2010-08-02 15:07   ` Alan Stern
2010-08-02 23:47 ` patch "USB: usb-storage: implement autosuspend" added to gregkh-2.6 tree gregkh

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=201008021636.10290.oneukum@suse.de \
    --to=oneukum@suse.de \
    --cc=James.Bottomley@suse.de \
    --cc=greg@kroah.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mdharm-usb@one-eyed-alien.net \
    --cc=stern@rowland.harvard.edu \
    --cc=usb-storage@lists.one-eyed-alien.net \
    /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