~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/admin-guide/laptops/lg-laptop.rst

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php