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