^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/leds/dell::kbd_backlight/als_enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: December 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 3.19
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Pali Rohár <pali@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) This file allows to control the automatic keyboard
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) illumination mode on some systems that have an ambient
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) light sensor. Write 1 to this file to enable the auto
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) mode, 0 to disable it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) What: /sys/class/leds/dell::kbd_backlight/als_setting
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Date: December 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) KernelVersion: 3.19
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Pali Rohár <pali@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) This file allows to specifiy the on/off threshold value,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) as reported by the ambient light sensor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) What: /sys/class/leds/dell::kbd_backlight/start_triggers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Date: December 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) KernelVersion: 3.19
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Pali Rohár <pali@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) This file allows to control the input triggers that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) turn on the keyboard backlight illumination that is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) disabled because of inactivity.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Read the file to see the triggers available. The ones
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) enabled are preceded by '+', those disabled by '-'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) To enable a trigger, write its name preceded by '+' to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) this file. To disable a trigger, write its name preceded
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) by '-' instead.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) For example, to enable the keyboard as trigger run::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) To disable it::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Note that not all the available triggers can be configured.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) What: /sys/class/leds/dell::kbd_backlight/stop_timeout
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) Date: December 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) KernelVersion: 3.19
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Pali Rohár <pali@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) This file allows to specify the interval after which the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) keyboard illumination is disabled because of inactivity.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) The timeouts are expressed in seconds, minutes, hours and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) days, for which the symbols are 's', 'm', 'h' and 'd'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) respectively.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) To configure the timeout, write to this file a value along
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) with any the above units. If no unit is specified, the value
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) is assumed to be expressed in seconds.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) For example, to set the timeout to 10 minutes run::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) echo 10m > /sys/class/leds/dell::kbd_backlight/stop_timeout
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) Note that when this file is read, the returned value might be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) expressed in a different unit than the one used when the timeout
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) was set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) Also note that only some timeouts are supported and that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) some systems might fall back to a specific timeout in case
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) an invalid timeout is written to this file.