mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 10:45:09 +07:00
40760717f9
Some of latest Lenovo ideapad laptops do not have UEFI/BIOS setting for switching fn-lock mode. This commit adds related acpi calls to ideapad platform driver. However setting is available via sysfs. Signed-off-by: Oleg Keri <ezhi99@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
What: /sys/devices/platform/ideapad/camera_power
|
|
Date: Dec 2010
|
|
KernelVersion: 2.6.37
|
|
Contact: "Ike Panhc <ike.pan@canonical.com>"
|
|
Description:
|
|
Control the power of camera module. 1 means on, 0 means off.
|
|
|
|
What: /sys/devices/platform/ideapad/fan_mode
|
|
Date: June 2012
|
|
KernelVersion: 3.6
|
|
Contact: "Maxim Mikityanskiy <maxtram95@gmail.com>"
|
|
Description:
|
|
Change fan mode
|
|
There are four available modes:
|
|
* 0 -> Super Silent Mode
|
|
* 1 -> Standard Mode
|
|
* 2 -> Dust Cleaning
|
|
* 4 -> Efficient Thermal Dissipation Mode
|
|
|
|
What: /sys/devices/platform/ideapad/touchpad
|
|
Date: May 2017
|
|
KernelVersion: 4.13
|
|
Contact: "Ritesh Raj Sarraf <rrs@debian.org>"
|
|
Description:
|
|
Control touchpad mode.
|
|
* 1 -> Switched On
|
|
* 0 -> Switched Off
|
|
|
|
What: /sys/bus/pci/devices/<bdf>/<device>/VPC2004:00/fn_lock
|
|
Date: May 2018
|
|
KernelVersion: 4.18
|
|
Contact: "Oleg Keri <ezhi99@gmail.com>"
|
|
Description:
|
|
Control fn-lock mode.
|
|
* 1 -> Switched On
|
|
* 0 -> Switched Off
|
|
|
|
For example:
|
|
# echo "0" > \
|
|
/sys/bus/pci/devices/0000:00:1f.0/PNP0C09:00/VPC2004:00/fn_lock
|