From: Len Brown <lenb@kernel.org>
To: Daniel Drake <dsd@laptop.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org,
pgf@laptop.org, rui.zhang@intel.com
Subject: Re: [PATCH v2 resend] ACPI: generate wakeup events on fixed power button
Date: Fri, 01 Jun 2012 13:20:51 -0400 [thread overview]
Message-ID: <4FC8F9F3.5000100@kernel.org> (raw)
In-Reply-To: <CAMLZHHSxf0xeQi88=uOa+Fsf5iFApzFmGcjf9=ShjW3eAFdK6w@mail.gmail.com>
On 05/28/2012 06:52 PM, Daniel Drake wrote:
> On Thu, May 10, 2012 at 2:08 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
>> On Thursday, May 10, 2012, Daniel Drake wrote:
>>> When the system is woken up by the ACPI fixed power button, currently there
>>> is no way of userspace becoming aware that the power button was pressed.
>>>
>>> OLPC would like to know this, so that we can respond appropriately.
>>> For example, if the system was woken up by a network packet, we know
>>> we can go back to sleep very quickly. But if the user explicitly woke the
>>> system with the power button, we're going to want to stay awake for a
>>> while.
>>>
>>> The wakeup count mechanism seems like a good fit for communicating this.
>>> Mark the fixed power button as wakeup-enabled, and increment its wakeup
>>> counter when the system is woken with the power button. (The wakeup counter
>>> is also incremented when the power button is pressed during system
>>> operation; this is already handled by an existing acpi-button codepath).
>>>
>>> Signed-off-by: Daniel Drake <dsd@laptop.org>
>>> Acked-by: Zhang Rui <rui.zhang@intel.com>
>>
>> Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
>>
>> Len, this looks like v3.5 material to me, any chance to pick it up?
>
> Bump. Any news here? Would love to see it in 3.5.
it is in my tree via rafael's queue.
thanks,
-Len
prev parent reply other threads:[~2012-06-01 17:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-09 23:08 [PATCH v2 resend] ACPI: generate wakeup events on fixed power button Daniel Drake
2012-05-10 20:08 ` Rafael J. Wysocki
2012-05-28 22:52 ` Daniel Drake
2012-06-01 17:20 ` Len Brown [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=4FC8F9F3.5000100@kernel.org \
--to=lenb@kernel.org \
--cc=dsd@laptop.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pgf@laptop.org \
--cc=rjw@sisk.pl \
--cc=rui.zhang@intel.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.