From: AceLan Kao Date: Wed, 13 Jun 2012 07:32:07 +0000 (+0200) Subject: asus-wmi: enable resume on lid open X-Git-Tag: v3.6-rc1~48^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0b91b6d5226247fa4fe894eb592bcc56bc7e9fd;p=pandora-kernel.git 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//lid_resume so that userspace apps can enable/disable this feature by themselves. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed