0001 .. SPDX-License-Identifier: GPL-2.0+
0002
0003
0004 LG Gram laptop extra features
0005 =============================
0006
0007 By Matan Ziv-Av <matan@svgalib.org>
0008
0009
0010 Hotkeys
0011 -------
0012
0013 The following FN keys are ignored by the kernel without this driver:
0014
0015 - FN-F1 (LG control panel) - Generates F15
0016 - FN-F5 (Touchpad toggle) - Generates F21
0017 - FN-F6 (Airplane mode) - Generates RFKILL
0018 - FN-F9 (Reader mode) - Generates F14
0019
0020 The rest of the FN keys work without a need for a special driver.
0021
0022
0023 Reader mode
0024 -----------
0025
0026 Writing 0/1 to /sys/devices/platform/lg-laptop/reader_mode disables/enables
0027 reader mode. In this mode the screen colors change (blue color reduced),
0028 and the reader mode indicator LED (on F9 key) turns on.
0029
0030
0031 FN Lock
0032 -------
0033
0034 Writing 0/1 to /sys/devices/platform/lg-laptop/fn_lock disables/enables
0035 FN lock.
0036
0037
0038 Battery care limit
0039 ------------------
0040
0041 Writing 80/100 to /sys/class/power_supply/CMB0/charge_control_end_threshold
0042 sets the maximum capacity to charge the battery. Limiting the charge
0043 reduces battery capacity loss over time.
0044
0045 This value is reset to 100 when the kernel boots.
0046
0047
0048 Fan mode
0049 --------
0050
0051 Writing 1/0 to /sys/devices/platform/lg-laptop/fan_mode disables/enables
0052 the fan silent mode.
0053
0054
0055 USB charge
0056 ----------
0057
0058 Writing 0/1 to /sys/devices/platform/lg-laptop/usb_charge disables/enables
0059 charging another device from the USB port while the device is turned off.
0060
0061 This value is reset to 0 when the kernel boots.
0062
0063
0064 LEDs
0065 ~~~~
0066
0067 The are two LED devices supported by the driver:
0068
0069 Keyboard backlight
0070 ------------------
0071
0072 A led device named kbd_led controls the keyboard backlight. There are three
0073 lighting level: off (0), low (127) and high (255).
0074
0075 The keyboard backlight is also controlled by the key combination FN-F8
0076 which cycles through those levels.
0077
0078
0079 Touchpad indicator LED
0080 ----------------------
0081
0082 On the F5 key. Controlled by led device names tpad_led.