mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 17:46:40 +07:00
c0b91b6d52
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>
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
What: /sys/devices/platform/<platform>/cpufv
|
|
Date: Oct 2010
|
|
KernelVersion: 2.6.37
|
|
Contact: "Corentin Chary" <corentincj@iksaif.net>
|
|
Description:
|
|
Change CPU clock configuration (write-only).
|
|
There are three available clock configuration:
|
|
* 0 -> Super Performance Mode
|
|
* 1 -> High Performance Mode
|
|
* 2 -> Power Saving Mode
|
|
|
|
What: /sys/devices/platform/<platform>/camera
|
|
Date: Jan 2010
|
|
KernelVersion: 2.6.39
|
|
Contact: "Corentin Chary" <corentincj@iksaif.net>
|
|
Description:
|
|
Control the camera. 1 means on, 0 means off.
|
|
|
|
What: /sys/devices/platform/<platform>/cardr
|
|
Date: Jan 2010
|
|
KernelVersion: 2.6.39
|
|
Contact: "Corentin Chary" <corentincj@iksaif.net>
|
|
Description:
|
|
Control the card reader. 1 means on, 0 means off.
|
|
|
|
What: /sys/devices/platform/<platform>/touchpad
|
|
Date: Jan 2010
|
|
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.
|