lkml.org 
[lkml]   [2011]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] x86, olpc-xo15-sci: enable lid close wakeup control through sysfs
On Sat, Dec 03, 2011 at 05:14:01PM +0000, Daniel Drake wrote:
> Like most systems, OLPC's ACPI LID switch wakes up the system when the lid
> is opened, but not when it is closed.
>
> Under OLPC's opportunistic suspend model, the lid may be closed while the
> system was oportunistically suspended with the screen running. In this
> event, we want to wake up to turn the screen off.
>
> Enable control of normal ACPI wakeups through lid close events through a
> new sysfs attribute "lid_wake_on_closed". When set, and when LID wakeups
> are enabled through ACPI, the system will wake up on both open and close
> lid events.

As you are adding new sysfs files, you have to also include
Documentation/ABI entries for them as well. Please do so in this patch.

thanks,

greg k-h


\
 
 \ /
  Last update: 2011-12-10 18:21    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog