linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
To: linux-pm@vger.kernel.org, "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Pavel Machek <pavel@ucw.cz>
Cc: Derek Basehore <dbasehore@google.com>,
	Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Subject: selective wakeups
Date: Tue, 03 Feb 2015 10:54:15 +0100	[thread overview]
Message-ID: <54D09AC7.5080503@collabora.com> (raw)

Hello,

I'm looking at how to support wakeup sources that resume a subset of the
suspended devices. The goal is for the machine to be able to wakeup the
CPU but not the display or sound card when the wakeup source isn't
user-initiated, such as RTC or a network card (we can call it automatic
resume).

http://www.chromium.org/chromium-os/packages/power_manager/suspend-and-resume#TOC-Dark-Resume

My first idea is for userspace to be able to configure via sysfs which
devices aren't going to be resumed when a given wakeup source fires.
We'll also need a way to resume the display and sound card if there's
user interaction when the system has resumed automatically.

Any comments?

Thanks,

Tomeu


             reply	other threads:[~2015-02-03  9:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03  9:54 Tomeu Vizoso [this message]
2015-02-03 12:14 ` selective wakeups Pavel Machek
2015-02-03 15:33 ` Alan Stern
2015-02-04  9:05 ` Oliver Neukum
2015-02-09  9:48   ` Tomeu Vizoso
2015-02-09 15:45     ` Alan Stern

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=54D09AC7.5080503@collabora.com \
    --to=tomeu.vizoso@collabora.com \
    --cc=dbasehore@google.com \
    --cc=javier.martinez@collabora.co.uk \
    --cc=linux-pm@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rjw@rjwysocki.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;
as well as URLs for NNTP newsgroup(s).