2021-02-04 05:57:19 +08:00
|
|
|
What: /sys/bus/platform/devices/VPC2004:*/camera_power
|
2010-12-13 18:00:27 +08:00
|
|
|
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.
|
2011-06-30 19:50:40 +08:00
|
|
|
|
2021-02-04 05:57:19 +08:00
|
|
|
What: /sys/bus/platform/devices/VPC2004:*/fan_mode
|
2012-07-06 16:08:11 +08:00
|
|
|
Date: June 2012
|
|
|
|
KernelVersion: 3.6
|
|
|
|
Contact: "Maxim Mikityanskiy <maxtram95@gmail.com>"
|
|
|
|
Description:
|
|
|
|
Change fan mode
|
|
|
|
There are four available modes:
|
2020-10-30 15:40:39 +08:00
|
|
|
|
2012-07-06 16:08:11 +08:00
|
|
|
* 0 -> Super Silent Mode
|
|
|
|
* 1 -> Standard Mode
|
|
|
|
* 2 -> Dust Cleaning
|
|
|
|
* 4 -> Efficient Thermal Dissipation Mode
|
2011-06-30 19:50:40 +08:00
|
|
|
|
2021-02-04 05:57:19 +08:00
|
|
|
What: /sys/bus/platform/devices/VPC2004:*/touchpad
|
platform/x86: ideapad-laptop: Add sysfs interface for touchpad state
Lenovo Yoga (many variants: Yoga, Yoga2 Pro, Yoga2 13, Yoga3 Pro, Yoga 3
14, etc) has multiple modles that are a hybrid laptop, working in laptop
mode as well as tablet mode.
Currently, there is no easy interface to determine the touchpad status,
which in case of the Yoga family of machines, can also be useful to
assume tablet mode status.
Note: The ideapad-laptop driver does not provide a SW_TABLET_MODE either.
For a detailed discussion on why we want either of the interfaces,
please see:
https://bugs.launchpad.net/onboard/+bug/1366421/comments/43
This patch adds a sysfs interface for read/write access under:
/sys/bus/platform/devices/VPC2004\:00/touchpad_mode
Signed-off-by: Ritesh Raj Sarraf <rrs@debian.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2017-02-18 02:47:56 +08:00
|
|
|
Date: May 2017
|
|
|
|
KernelVersion: 4.13
|
|
|
|
Contact: "Ritesh Raj Sarraf <rrs@debian.org>"
|
|
|
|
Description:
|
|
|
|
Control touchpad mode.
|
|
|
|
* 1 -> Switched On
|
|
|
|
* 0 -> Switched Off
|
2018-05-14 00:05:07 +08:00
|
|
|
|
2021-02-04 05:57:26 +08:00
|
|
|
What: /sys/bus/platform/devices/VPC2004:*/conservation_mode
|
|
|
|
Date: Aug 2017
|
|
|
|
KernelVersion: 4.14
|
|
|
|
Contact: platform-driver-x86@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Controls whether the conservation mode is enabled or not.
|
|
|
|
This feature limits the maximum battery charge percentage to
|
|
|
|
around 50-60% in order to prolong the lifetime of the battery.
|
|
|
|
|
2021-02-04 05:57:19 +08:00
|
|
|
What: /sys/bus/platform/devices/VPC2004:*/fn_lock
|
2018-05-14 00:05:07 +08:00
|
|
|
Date: May 2018
|
|
|
|
KernelVersion: 4.18
|
|
|
|
Contact: "Oleg Keri <ezhi99@gmail.com>"
|
|
|
|
Description:
|
|
|
|
Control fn-lock mode.
|
2020-10-30 15:40:39 +08:00
|
|
|
|
2018-05-14 00:05:07 +08:00
|
|
|
* 1 -> Switched On
|
|
|
|
* 0 -> Switched Off
|
|
|
|
|
2020-10-30 15:40:39 +08:00
|
|
|
For example::
|
|
|
|
|
|
|
|
# echo "0" > \
|
|
|
|
/sys/bus/pci/devices/0000:00:1f.0/PNP0C09:00/VPC2004:00/fn_lock
|
2021-02-04 05:57:13 +08:00
|
|
|
|
|
|
|
What: /sys/bus/platform/devices/VPC2004:*/usb_charging
|
|
|
|
Date: Feb 2021
|
|
|
|
KernelVersion: 5.12
|
|
|
|
Contact: platform-driver-x86@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Controls whether the "always on USB charging" feature is
|
|
|
|
enabled or not. This feature enables charging USB devices
|
|
|
|
even if the computer is not turned on.
|