Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1606628

[PATCH linux-next V2] tty: Disable default console blanking interval

From Tim Gardner <tim.gardner@canonical.com>
Newsgroups linux.kernel
Subject [PATCH linux-next V2] tty: Disable default console blanking interval
Date 2017-03-22 16:10 +0100
Message-ID <tnQ3D-4lf-3@gated-at.bofh.it> (permalink)
References <tnOXV-3fe-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---

I'm not particularly knowledgable about console issues. Is a blaknking interval
relevant in a post CRT world ? The argument in the bug description seems
compelling.

V2 - expanded commit log with relevant context.

 drivers/tty/vt/vt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
index 5c4933b..9c99452 100644
--- a/drivers/tty/vt/vt.c
+++ b/drivers/tty/vt/vt.c
@@ -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);
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH linux-next] tty: Disable default console blanking interval Tim Gardner <tim.gardner@canonical.com> - 2017-03-22 15:00 +0100
  Re: [PATCH linux-next] tty: Disable default console blanking interval "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2017-03-22 15:20 +0100
  Re: [PATCH linux-next] tty: Disable default console blanking interval Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-22 16:00 +0100
  [PATCH linux-next V2] tty: Disable default console blanking interval Tim Gardner <tim.gardner@canonical.com> - 2017-03-22 16:10 +0100
    Re: [PATCH linux-next V2] tty: Disable default console blanking  interval Scot Doyle <lkml14@scotdoyle.com> - 2017-03-23 02:40 +0100
      Re: [PATCH linux-next V2] tty: Disable default console blanking  interval "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2017-03-23 13:50 +0100
        Re: [PATCH linux-next V2] tty: Disable default console blanking  interval Scot Doyle <lkml14@scotdoyle.com> - 2017-03-24 03:30 +0100
  Re: [PATCH linux-next] tty: Disable default console blanking interval Adam Borowski <kilobyte@angband.pl> - 2017-03-23 03:10 +0100

csiph-web