All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Oliver Neukum <oneukum@suse.de>
Cc: pingc@wacom.com, Dmitry Torokhov <dtor@mail.ru>,
	Linux kernel mailing list <linux-kernel@vger.kernel.org>,
	linux-input@vger.kernel.org,
	linux-pm <linux-pm@lists.linux-foundation.org>,
	Jiri Slaby <jslaby@suse.cz>
Subject: Re: wacom + runtime PM = AA deadlock
Date: Tue, 14 Sep 2010 12:05:22 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44L0.1009141203460.1648-100000__21210.9512686313$1284480466$gmane$org@iolanthe.rowland.org> (raw)
In-Reply-To: <201009141730.38215.oneukum@suse.de>

On Tue, 14 Sep 2010, Oliver Neukum wrote:

> Am Dienstag, 14. September 2010, 17:23:15 schrieb Alan Stern:
> > On Tue, 14 Sep 2010, Oliver Neukum wrote:
> > 
> > > > > Should I have used usb_autopm_get_interface_no_resume()?
> > > > 
> > > > That actually would work.  It's a good idea.  The only drawback (not a
> > > > big one) is that if the device _was_ suspended with remote wakeup
> > > > enabled, doing this wouldn't turn off remote wakeup.  I think that
> > > > doesn't matter.
> > > 
> > > I am afraid it does matter as devices whose remote wakeup is enabled
> > > may draw more power.
> > 
> > I doubt it, or at least, not very much more.  They are still limited by 
> > the USB spec as to the total amount of current they can draw while 
> > suspended.
> 
> 7.2.3 Sources of remote wakeup may draw 2.5mA when suspended
> as opposed to 0.5 mA

Okay, then we may as well wake it up in order to turn off remote 
wakeup.  For drivers that don't need remote wakeup, it's better to use 
the _no_resume form.

Alan Stern

  reply	other threads:[~2010-09-14 16:05 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13 12:24 wacom + runtime PM = AA deadlock Jiri Slaby
2010-09-13 14:25 ` Alan Stern
2010-09-13 14:25 ` [linux-pm] " Alan Stern
2010-09-13 14:25   ` Alan Stern
2010-09-13 14:56 ` Oliver Neukum
2010-09-13 15:17   ` [linux-pm] " Alan Stern
2010-09-13 15:17     ` Alan Stern
2010-09-13 19:05     ` Oliver Neukum
2010-09-13 19:05     ` [linux-pm] " Oliver Neukum
2010-09-13 20:02       ` Alan Stern
2010-09-13 20:02       ` [linux-pm] " Alan Stern
2010-09-13 20:02         ` Alan Stern
2010-09-13 20:28         ` Dmitry Torokhov
2010-09-13 20:28         ` Dmitry Torokhov
2010-09-14  8:13         ` Oliver Neukum
2010-09-14  8:13         ` [linux-pm] " Oliver Neukum
2010-09-14 14:01           ` Alan Stern
2010-09-14 14:01             ` Alan Stern
2010-09-14 14:03             ` Oliver Neukum
2010-09-14 15:23               ` Alan Stern
2010-09-14 15:23                 ` Alan Stern
2010-09-14 15:30                 ` Oliver Neukum
2010-09-14 15:30                 ` [linux-pm] " Oliver Neukum
2010-09-14 16:05                   ` Alan Stern [this message]
2010-09-14 16:05                   ` Alan Stern
2010-09-14 16:05                     ` Alan Stern
2010-09-14 15:23               ` Alan Stern
2010-09-14 14:03             ` Oliver Neukum
2010-09-14 14:01           ` Alan Stern
2010-09-13 15:17   ` Alan Stern
2010-09-13 17:10   ` Dmitry Torokhov
2010-09-13 17:10   ` Dmitry Torokhov
2010-09-13 19:20     ` Oliver Neukum
2010-09-13 19:20     ` [linux-pm] " Oliver Neukum
2010-09-14  0:52       ` Dmitry Torokhov
2010-09-14  0:52       ` [linux-pm] " Dmitry Torokhov
2010-09-14  6:07         ` Oliver Neukum
2010-09-14  6:07         ` [linux-pm] " Oliver Neukum
2010-10-04 16:13           ` Dmitry Torokhov
2010-10-04 18:33             ` Oliver Neukum
2010-10-04 18:33             ` [linux-pm] " Oliver Neukum
2010-10-04 18:38               ` Dmitry Torokhov
2010-10-04 18:38               ` [linux-pm] " Dmitry Torokhov
2010-10-04 19:24                 ` Oliver Neukum
2010-10-05  5:41                   ` Dmitry Torokhov
2010-10-05  5:41                   ` [linux-pm] " Dmitry Torokhov
2010-10-05  5:54                     ` Oliver Neukum
2010-10-05  5:54                     ` Oliver Neukum
2010-10-04 19:24                 ` Oliver Neukum
2010-10-04 16:13           ` Dmitry Torokhov
2010-09-13 14:56 ` Oliver Neukum
  -- strict thread matches above, loose matches on Subject: below --
2010-09-13 12:24 Jiri Slaby

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.1009141203460.1648-100000__21210.9512686313$1284480466$gmane$org@iolanthe.rowland.org' \
    --to=stern@rowland.harvard.edu \
    --cc=dtor@mail.ru \
    --cc=jslaby@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=oneukum@suse.de \
    --cc=pingc@wacom.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.