All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: vichy <vichy.kuo@gmail.com>
Cc: linux-pm@vger.kernel.org
Subject: Re: Auto suspend not working on usb hid devices
Date: Fri, 16 Jan 2015 10:23:04 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44L0.1501161021260.1469-100000@iolanthe.rowland.org> (raw)
In-Reply-To: <CAOVJa8E28LTMMUa7tjNSitYb33VZNiWH9Nob=Zt_J81fmV8TUw@mail.gmail.com>

On Fri, 16 Jan 2015, vichy wrote:

> I found the usb storage interface driver also set supports_autosuspend
> =1 and I found the runtime_usage =1 .
> But the device doesn't go into runtime suspend, even I put control as auto.
> is there any condition purposely abandon usb storage device to do so?

In order to suspend a USB storage device, you have to enable suspend 
not just for that device but also for all its children.  In particular, 
if the device is a disk or flash drive then you have to enable suspend 
for the corresponding SCSI device.

Alan Stern


      reply	other threads:[~2015-01-16 15:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-11 13:23 Auto suspend not working on usb hid devices vichy
2015-01-11 15:53 ` Alan Stern
2015-01-12 10:45   ` vichy
2015-01-12 12:45     ` vichy
2015-01-12 15:18       ` Alan Stern
2015-01-13  9:35         ` vichy
2015-01-13 12:11           ` vichy
2015-01-13 15:37           ` Alan Stern
2015-01-16 11:21             ` vichy
2015-01-16 15:23               ` Alan Stern [this message]

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=Pine.LNX.4.44L0.1501161021260.1469-100000@iolanthe.rowland.org \
    --to=stern@rowland.harvard.edu \
    --cc=linux-pm@vger.kernel.org \
    --cc=vichy.kuo@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.