summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing
diff options
context:
space:
mode:
authorAceLan Kao2012-06-13 09:32:07 +0200
committerMatthew Garrett2012-07-28 06:11:49 +0200
commitc0b91b6d5226247fa4fe894eb592bcc56bc7e9fd (patch)
treebdd3cde2c30bdf54a9bd9d287cdd1eb1f2a16925 /Documentation/ABI/testing
parentasus-wmi: control backlight power through WMI, not ACPI (diff)
downloadkernel-qcow2-linux-c0b91b6d5226247fa4fe894eb592bcc56bc7e9fd.tar.gz
kernel-qcow2-linux-c0b91b6d5226247fa4fe894eb592bcc56bc7e9fd.tar.xz
kernel-qcow2-linux-c0b91b6d5226247fa4fe894eb592bcc56bc7e9fd.zip
asus-wmi: enable resume on lid open
According to the ASUS WMI spec., to enable resume on lid open should use the device ID(0x00120032), but it doesn't work indeed. After discussing with ASUS' BIOS engineer, they say wake on lid open doesn't have a uniq device ID(0x00120032) in the BIOS. It shares the same device ID with deep S3(0x00120031), and the deep S3(resume on lid open) is disable by default. Adding this option in asus wmi sysfs /sys/devices/platform/<platform>/lid_resume so that userspace apps can enable/disable this feature by themselves. Signed-off-by: AceLan Kao <acelan.kao@canonical.com> Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'Documentation/ABI/testing')
-rw-r--r--Documentation/ABI/testing/sysfs-platform-asus-wmi7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-platform-asus-wmi b/Documentation/ABI/testing/sysfs-platform-asus-wmi
index 2e7df91620de..019e1e29370e 100644
--- a/Documentation/ABI/testing/sysfs-platform-asus-wmi
+++ b/Documentation/ABI/testing/sysfs-platform-asus-wmi
@@ -29,3 +29,10 @@ KernelVersion: 2.6.39
Contact: "Corentin Chary" <corentincj@iksaif.net>
Description:
Control the card touchpad. 1 means on, 0 means off.
+
+What: /sys/devices/platform/<platform>/lid_resume
+Date: May 2012
+KernelVersion: 3.5
+Contact: "AceLan Kao" <acelan.kao@canonical.com>
+Description:
+ Resume on lid open. 1 means on, 0 means off.