From: Corentin Chary Date: Fri, 26 Jan 2007 13:04:45 +0000 (+0100) Subject: asus-laptop: add backlight support X-Git-Tag: v2.6.21-rc1~92^2~32^2^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b7091e74fe176da97917ca60524e2b3554305f0;p=pandora-kernel.git asus-laptop: add backlight support Adds backlight support using backlight class. We now change the brightness *and toggle the backlight !* via /sys/class/backlight/asus-laptop/. If the user switchs the backlight using the keyboard, asus_hotk_notify looks for ATKD_LCD_OFF and ATKD_LCD_ON events, and stores the right state into hotk->status and bd->props->power . Signed-off-by: Corentin Chary Signed-off-by: Len Brown --- Reading git-diff-tree failed