mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jslaby@suse.cz>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] vt: disable console blanking by default
Date: Sun, 22 Jun 2014 18:37:29 +0200	[thread overview]
Message-ID: <20140622163728.GA4461@amd.pavel.ucw.cz> (raw)
In-Reply-To: <20140618092730.GD22226@mother.pipebreaker.pl>

On Wed 2014-06-18 11:27:31, Tomasz Torcz wrote:
> 
> >From ea7cf47e3230eda63aa6c46092719437f9bbae8e Mon Sep 17 00:00:00 2001
> From: Tomasz Torcz <tomek@pipebreaker.pl>
> Date: Wed, 18 Jun 2014 11:18:06 +0200
> Subject: [PATCH] vt: disable console blanking by default
> 
>   Remove default 10 minute blank interval. Instead: never blank by
>   default.
>   "Screensaving" is no longer useful.  Today it only provides
>   obstacle when interacting with text console, especially through
>   remote lights-out management solutions.
> 
> Signed-off-by: Tomasz Torcz <tomek@pipebreaker.pl>

Dunno. You'll kill an LCD if you let same image there for too
long. Make it 10hours?

								Pavel

>  Documentation/kernel-parameters.txt | 4 ++--
>  drivers/tty/vt/vt.c                 | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index 6eaa9cd..0618648 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -710,8 +710,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
>  		For now, only VisioBraille is supported.
>  
>  	consoleblank=	[KNL] The console blank (screen saver) timeout in
> -			seconds. Defaults to 10*60 = 10mins. A value of 0
> -			disables the blank timer.
> +			seconds. A value of 0 disables the blank timer.
> +			Defaults to never blank.
>  
>  	coredump_filter=
>  			[KNL] Change the default value for
> diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
> index 5e0f6ff..dbd4f23 100644
> --- a/drivers/tty/vt/vt.c
> +++ b/drivers/tty/vt/vt.c
> @@ -176,7 +176,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);

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2014-06-22 16:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-18  9:27 Tomasz Torcz
2014-06-22 16:37 ` Pavel Machek [this message]
2014-06-25 11:41   ` Tomasz Torcz
2014-06-29 20:35     ` Pavel Machek
2014-06-25 12:39 ` One Thousand Gnomes
2014-06-25 19:21   ` Arkadiusz Miskiewicz
2014-06-26 21:35     ` One Thousand Gnomes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140622163728.GA4461@amd.pavel.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®