linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Phillip Susi <psusi@cfl.rr.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Automatic S1 sleep
Date: Tue, 11 May 2010 18:19:00 +0100	[thread overview]
Message-ID: <20100511171900.GA17704@srcf.ucam.org> (raw)
In-Reply-To: <4BE97FC9.4040302@cfl.rr.com>

On Tue, May 11, 2010 at 12:03:21PM -0400, Phillip Susi wrote:

> Unlike S3, S1 keeps the Vcc power plane on and all devices remain in D0
> or D1, so the screen remains on and visible, so it should be possible to
> use this state transparently without the user even being aware of it.
> Since everything remains on, no hardware needs reinitialized when
> resuming from S1.  Here seems to be a problem with the current kernel code:

You'll need wakeup events on mouse, keyboard, network packets and so on. 
Some of these are possible, some aren't really.

> Does anyone have any thoughts on my conclusion or advice on how to
> trigger S1 without generating PM_EVENT_SUSPEND?

Just have suspend_devices_and_enter conditionalise the device suspend on 
whether or not it's PM_SUSPEND_STANDBY.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2010-05-11 17:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11 16:03 Automatic S1 sleep Phillip Susi
2010-05-11 17:19 ` Matthew Garrett [this message]
2010-05-11 18:18   ` Phillip Susi
2010-05-11 18:21     ` Matthew Garrett
2010-05-11 18:43       ` Phillip Susi
2010-05-11 20:19         ` Phillip Susi
2010-05-12  5:57 ` Len Brown
2010-05-12 13:39   ` Phillip Susi
2010-05-20  4:07     ` Len Brown
2010-05-20 13:51       ` Phillip Susi

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=20100511171900.GA17704@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=psusi@cfl.rr.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 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).