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