18c2ecf20Sopenharmony_ciWhat: /sys/class/leds/dell::kbd_backlight/als_enabled 28c2ecf20Sopenharmony_ciDate: December 2014 38c2ecf20Sopenharmony_ciKernelVersion: 3.19 48c2ecf20Sopenharmony_ciContact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, 58c2ecf20Sopenharmony_ci Pali Rohár <pali@kernel.org> 68c2ecf20Sopenharmony_ciDescription: 78c2ecf20Sopenharmony_ci This file allows to control the automatic keyboard 88c2ecf20Sopenharmony_ci illumination mode on some systems that have an ambient 98c2ecf20Sopenharmony_ci light sensor. Write 1 to this file to enable the auto 108c2ecf20Sopenharmony_ci mode, 0 to disable it. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciWhat: /sys/class/leds/dell::kbd_backlight/als_setting 138c2ecf20Sopenharmony_ciDate: December 2014 148c2ecf20Sopenharmony_ciKernelVersion: 3.19 158c2ecf20Sopenharmony_ciContact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, 168c2ecf20Sopenharmony_ci Pali Rohár <pali@kernel.org> 178c2ecf20Sopenharmony_ciDescription: 188c2ecf20Sopenharmony_ci This file allows to specifiy the on/off threshold value, 198c2ecf20Sopenharmony_ci as reported by the ambient light sensor. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciWhat: /sys/class/leds/dell::kbd_backlight/start_triggers 228c2ecf20Sopenharmony_ciDate: December 2014 238c2ecf20Sopenharmony_ciKernelVersion: 3.19 248c2ecf20Sopenharmony_ciContact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, 258c2ecf20Sopenharmony_ci Pali Rohár <pali@kernel.org> 268c2ecf20Sopenharmony_ciDescription: 278c2ecf20Sopenharmony_ci This file allows to control the input triggers that 288c2ecf20Sopenharmony_ci turn on the keyboard backlight illumination that is 298c2ecf20Sopenharmony_ci disabled because of inactivity. 308c2ecf20Sopenharmony_ci Read the file to see the triggers available. The ones 318c2ecf20Sopenharmony_ci enabled are preceded by '+', those disabled by '-'. 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci To enable a trigger, write its name preceded by '+' to 348c2ecf20Sopenharmony_ci this file. To disable a trigger, write its name preceded 358c2ecf20Sopenharmony_ci by '-' instead. 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci For example, to enable the keyboard as trigger run:: 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci To disable it:: 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci Note that not all the available triggers can be configured. 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ciWhat: /sys/class/leds/dell::kbd_backlight/stop_timeout 488c2ecf20Sopenharmony_ciDate: December 2014 498c2ecf20Sopenharmony_ciKernelVersion: 3.19 508c2ecf20Sopenharmony_ciContact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, 518c2ecf20Sopenharmony_ci Pali Rohár <pali@kernel.org> 528c2ecf20Sopenharmony_ciDescription: 538c2ecf20Sopenharmony_ci This file allows to specify the interval after which the 548c2ecf20Sopenharmony_ci keyboard illumination is disabled because of inactivity. 558c2ecf20Sopenharmony_ci The timeouts are expressed in seconds, minutes, hours and 568c2ecf20Sopenharmony_ci days, for which the symbols are 's', 'm', 'h' and 'd' 578c2ecf20Sopenharmony_ci respectively. 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ci To configure the timeout, write to this file a value along 608c2ecf20Sopenharmony_ci with any the above units. If no unit is specified, the value 618c2ecf20Sopenharmony_ci is assumed to be expressed in seconds. 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ci For example, to set the timeout to 10 minutes run:: 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci echo 10m > /sys/class/leds/dell::kbd_backlight/stop_timeout 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ci Note that when this file is read, the returned value might be 688c2ecf20Sopenharmony_ci expressed in a different unit than the one used when the timeout 698c2ecf20Sopenharmony_ci was set. 708c2ecf20Sopenharmony_ci 718c2ecf20Sopenharmony_ci Also note that only some timeouts are supported and that 728c2ecf20Sopenharmony_ci some systems might fall back to a specific timeout in case 738c2ecf20Sopenharmony_ci an invalid timeout is written to this file. 74