diff options
author | Corentin Chary <corentincj@iksaif.net> | 2009-08-28 14:56:50 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-28 21:21:13 +0200 |
commit | b7d3fbc2ed624cc216adda0f2574570e6d6d6aed (patch) | |
tree | f15a61d393a6e12618ba7074aa5cf1eb14813a70 /tools/perf/perf.h | |
parent | asus-laptop: set maximum led brightness (diff) | |
download | linux-b7d3fbc2ed624cc216adda0f2574570e6d6d6aed.tar.xz linux-b7d3fbc2ed624cc216adda0f2574570e6d6d6aed.zip |
asus-laptop: Add support for Keyboard backlight
Add support for keyboard backlight found in Asus U50VG.
The SMC driver for the Apples does it via LED. To be
consistent with that we create /sys/class/leds/asus::kbd_backlight/
to control the keyboard backlight.
SLKB and GLKB are used to get/set the backlight. On
the U50VG is supports 4 brightness level, but this may
change with other models.
SLKB take a 8 bit integer where the higher bit is used
to toggle the backlight, and the over 7 bits control the
brightness level.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/perf.h')
0 files changed, 0 insertions, 0 deletions