Merge tag 'rproc-v5.1' of git://github.com/andersson/remoteproc
[linux-2.6-block.git] / Documentation / laptops / lg-laptop.rst
CommitLineData
dbf0c5a6 1.. SPDX-License-Identifier: GPL-2.0+
c9389ad8 2
dbf0c5a6
MZA
3LG Gram laptop extra features
4=============================
5
6By Matan Ziv-Av <matan@svgalib.org>
7
8
9Hotkeys
10-------
11
12The following FN keys are ignored by the kernel without this driver:
c9389ad8 13
dbf0c5a6
MZA
14- FN-F1 (LG control panel) - Generates F15
15- FN-F5 (Touchpad toggle) - Generates F13
16- FN-F6 (Airplane mode) - Generates RFKILL
17- FN-F8 (Keyboard backlight) - Generates F16.
18 This key also changes keyboard backlight mode.
19- FN-F9 (Reader mode) - Generates F14
20
c9389ad8 21The rest of the FN keys work without a need for a special driver.
dbf0c5a6
MZA
22
23
24Reader mode
25-----------
26
27Writing 0/1 to /sys/devices/platform/lg-laptop/reader_mode disables/enables
28reader mode. In this mode the screen colors change (blue color reduced),
29and the reader mode indicator LED (on F9 key) turns on.
30
31
32FN Lock
33-------
34
35Writing 0/1 to /sys/devices/platform/lg-laptop/fn_lock disables/enables
36FN lock.
37
38
39Battery care limit
40------------------
41
42Writing 80/100 to /sys/devices/platform/lg-laptop/battery_care_limit
43sets the maximum capacity to charge the battery. Limiting the charge
44reduces battery capacity loss over time.
45
46This value is reset to 100 when the kernel boots.
47
48
49Fan mode
50--------
51
52Writing 1/0 to /sys/devices/platform/lg-laptop/fan_mode disables/enables
53the fan silent mode.
54
55
56USB charge
57----------
58
59Writing 0/1 to /sys/devices/platform/lg-laptop/usb_charge disables/enables
60charging another device from the USB port while the device is turned off.
61
62This value is reset to 0 when the kernel boots.
63
64
65LEDs
66~~~~
67
68The are two LED devices supported by the driver:
69
70Keyboard backlight
71------------------
72
73A led device named kbd_led controls the keyboard backlight. There are three
74lighting level: off (0), low (127) and high (255).
75
76The keyboard backlight is also controlled by the key combination FN-F8
77which cycles through those levels.
78
79
80Touchpad indicator LED
81----------------------
82
83On the F5 key. Controlled by led device names tpad_led.