tty: Disable default console blanking interval 33/250933/1 accepted/tizen_6.0_unified tizen_6.0 accepted/tizen/6.0/unified/20210107.080409 accepted/tizen/unified/20210107.123417 submit/tizen/20210107.014139 submit/tizen_6.0/20210107.014309 submit/tizen_6.0/20210107.042850
authorTim Gardner <tim.gardner@canonical.com>
Wed, 22 Mar 2017 15:07:20 +0000 (09:07 -0600)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 6 Jan 2021 01:25:56 +0000 (10:25 +0900)
BugLink: http://bugs.launchpad.net/bugs/869017
Console blanking is not enabling DPMS power saving (thereby negating any
power-saving benefit), and is simply turning the screen content blank. This
means that any crash output is invisible which is unhelpful on a server
(virtual or otherwise).

Furthermore, CRT burn in concerns should no longer govern the default case.
Affected users could always set consoleblank on the kernel command line.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: Adam Borowski <kilobyte@angband.pl>
Cc: Scot Doyle <lkml14@scotdoyle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[sw0312.kim: backport mainline commit a4199f5eb809 to disable default vtcon blank]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ibccf73a8598b8470d8f010dc8f589ba90de36803

drivers/tty/vt/vt.c

index ff3286fc22d8296994572ad7199f3fd285c3bfb1..47584b24d948a717acc42941578db72ff2f984d0 100644 (file)
@@ -181,7 +181,7 @@ int console_blanked;
 
 static int vesa_blank_mode; /* 0:none 1:suspendV 2:suspendH 3:powerdown */
 static int vesa_off_interval;
-static int blankinterval = 10*60;
+static int blankinterval;
 core_param(consoleblank, blankinterval, int, 0444);
 
 static DECLARE_WORK(console_work, console_callback);