Re: [PATCH v2 resend] ACPI: generate wakeup events on fixed power button

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/28/2012 06:52 PM, Daniel Drake wrote:

> On Thu, May 10, 2012 at 2:08 PM, Rafael J. Wysocki <rjw@xxxxxxx> 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@xxxxxxxxxx>
>>> Acked-by: Zhang Rui <rui.zhang@xxxxxxxxx>
>>
>> Acked-by: Rafael J. Wysocki <rjw@xxxxxxx>
>>
>> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux