16cff8d60SGabriele MazzottaWhat: /sys/class/leds/dell::kbd_backlight/als_enabled 26cff8d60SGabriele MazzottaDate: December 2014 36cff8d60SGabriele MazzottaKernelVersion: 3.19 46cff8d60SGabriele MazzottaContact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, 5149ed3d4SPali Rohár Pali Rohár <pali@kernel.org> 66cff8d60SGabriele MazzottaDescription: 76cff8d60SGabriele Mazzotta This file allows to control the automatic keyboard 86cff8d60SGabriele Mazzotta illumination mode on some systems that have an ambient 96cff8d60SGabriele Mazzotta light sensor. Write 1 to this file to enable the auto 106cff8d60SGabriele Mazzotta mode, 0 to disable it. 116cff8d60SGabriele Mazzotta 126cff8d60SGabriele MazzottaWhat: /sys/class/leds/dell::kbd_backlight/als_setting 136cff8d60SGabriele MazzottaDate: December 2014 146cff8d60SGabriele MazzottaKernelVersion: 3.19 156cff8d60SGabriele MazzottaContact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, 16149ed3d4SPali Rohár Pali Rohár <pali@kernel.org> 176cff8d60SGabriele MazzottaDescription: 18*ebab9426SBjorn Helgaas This file allows to specify the on/off threshold value, 196cff8d60SGabriele Mazzotta as reported by the ambient light sensor. 206cff8d60SGabriele Mazzotta 216cff8d60SGabriele MazzottaWhat: /sys/class/leds/dell::kbd_backlight/start_triggers 226cff8d60SGabriele MazzottaDate: December 2014 236cff8d60SGabriele MazzottaKernelVersion: 3.19 246cff8d60SGabriele MazzottaContact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, 25149ed3d4SPali Rohár Pali Rohár <pali@kernel.org> 266cff8d60SGabriele MazzottaDescription: 276cff8d60SGabriele Mazzotta This file allows to control the input triggers that 286cff8d60SGabriele Mazzotta turn on the keyboard backlight illumination that is 296cff8d60SGabriele Mazzotta disabled because of inactivity. 306cff8d60SGabriele Mazzotta Read the file to see the triggers available. The ones 316cff8d60SGabriele Mazzotta enabled are preceded by '+', those disabled by '-'. 326cff8d60SGabriele Mazzotta 336cff8d60SGabriele Mazzotta To enable a trigger, write its name preceded by '+' to 346cff8d60SGabriele Mazzotta this file. To disable a trigger, write its name preceded 356cff8d60SGabriele Mazzotta by '-' instead. 366cff8d60SGabriele Mazzotta 3754a19b4dSMauro Carvalho Chehab For example, to enable the keyboard as trigger run:: 3854a19b4dSMauro Carvalho Chehab 396cff8d60SGabriele Mazzotta echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers 4054a19b4dSMauro Carvalho Chehab 4154a19b4dSMauro Carvalho Chehab To disable it:: 4254a19b4dSMauro Carvalho Chehab 436cff8d60SGabriele Mazzotta echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers 446cff8d60SGabriele Mazzotta 456cff8d60SGabriele Mazzotta Note that not all the available triggers can be configured. 466cff8d60SGabriele Mazzotta 476cff8d60SGabriele MazzottaWhat: /sys/class/leds/dell::kbd_backlight/stop_timeout 486cff8d60SGabriele MazzottaDate: December 2014 496cff8d60SGabriele MazzottaKernelVersion: 3.19 506cff8d60SGabriele MazzottaContact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, 51149ed3d4SPali Rohár Pali Rohár <pali@kernel.org> 526cff8d60SGabriele MazzottaDescription: 536cff8d60SGabriele Mazzotta This file allows to specify the interval after which the 546cff8d60SGabriele Mazzotta keyboard illumination is disabled because of inactivity. 556cff8d60SGabriele Mazzotta The timeouts are expressed in seconds, minutes, hours and 566cff8d60SGabriele Mazzotta days, for which the symbols are 's', 'm', 'h' and 'd' 576cff8d60SGabriele Mazzotta respectively. 586cff8d60SGabriele Mazzotta 596cff8d60SGabriele Mazzotta To configure the timeout, write to this file a value along 606cff8d60SGabriele Mazzotta with any the above units. If no unit is specified, the value 616cff8d60SGabriele Mazzotta is assumed to be expressed in seconds. 626cff8d60SGabriele Mazzotta 6354a19b4dSMauro Carvalho Chehab For example, to set the timeout to 10 minutes run:: 6454a19b4dSMauro Carvalho Chehab 656cff8d60SGabriele Mazzotta echo 10m > /sys/class/leds/dell::kbd_backlight/stop_timeout 666cff8d60SGabriele Mazzotta 676cff8d60SGabriele Mazzotta Note that when this file is read, the returned value might be 686cff8d60SGabriele Mazzotta expressed in a different unit than the one used when the timeout 696cff8d60SGabriele Mazzotta was set. 706cff8d60SGabriele Mazzotta 716cff8d60SGabriele Mazzotta Also note that only some timeouts are supported and that 726cff8d60SGabriele Mazzotta some systems might fall back to a specific timeout in case 736cff8d60SGabriele Mazzotta an invalid timeout is written to this file. 74