diff options
author | Daniel Drake <[email protected]> | 2012-03-05 15:01:00 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-03-06 09:57:11 +0100 |
commit | d1f42e314c9c50541c79a6edf2b4cab63fe02ee3 (patch) | |
tree | 6cfc1201e254e031b259e46674af814ef6520ef5 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | da4e3302949f4a702f1ddfefe067762232d363d5 (diff) |
x86/olpc/xo15/sci: Enable lid close wakeup control
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.
Signed-off-by: Daniel Drake <[email protected]>
Cc: Andres Salomon <[email protected]>
Cc: Matthew Garrett <[email protected]>
[ Fixed sscanf checking]
Signed-off-by: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
[ Did very minor readability tweaks ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions