aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/macmodes.h
diff options
context:
space:
mode:
authorChristian Trefzer <ctrefzer@gmx.de>2006-06-26 03:26:55 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 12:58:31 -0400
commit4efefd1d8ea4eaf71bacc4f71fa017c202fa67ec (patch)
treea4dfb7b415cc9591f3450ee2220b520af9517c38 /drivers/video/macmodes.h
parentdc1c43e972c95b82416cc87258dbc037d6de5923 (diff)
[PATCH] neofb: fix unblank logic interfering with lid toggled backlight
This is a fix for the most annoying problem that remained with neofb: After "setterm -powersave powerdown" the console blanker will disable the backlight after the given timeout expires. If this happens after the lid has been shut, we read "LCD off" from the register and store that in the driver. Once the lid is opened, the backlight turns on, but any key press that would awaken the blanked console will switch the backlight off again. The workaround so far was to use the "display config toggle" Fn key combo - once if no external display is attached, otherwise as often as required to restore the desired display setup. The following patch fixes the issue at least for the LCD-only case, with no external monitor attached. Other display setup permutations are pending further testing, but so far I can guarantee at least no negative change in behaviour, if any at all. Signed-off-by: Christian Trefzer <ctrefzer@gmx.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/macmodes.h')
0 files changed, 0 insertions, 0 deletions