[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090604002325.5b1284de.akpm@linux-foundation.org>
Date: Thu, 4 Jun 2009 00:23:25 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Daniel Mack <daniel@...aq.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] console: make blank timeout value a boot option
On Tue, 2 Jun 2009 16:46:33 +0200 Daniel Mack <daniel@...aq.de> wrote:
> The console blank timer is currently hardcoded to 10*60 seconds which is
> ok for most applications but might be annoying when using the console
> for debugging and no userspace application was started to manually
> change this default behaviour.
>
> This patch defines a core_param for the variable in charge which allows
> users to entirely disable the blank feature by setting it 0.
>
> ...
>
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -545,6 +545,10 @@ and is between 256 and 4096 characters. It is defined in the file
> console=brl,ttyS0
> 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.
> +
It would be better to make this alterable at runtime, rather than at
boot time. Perhaps another VT ioctl.
In fact I'm rather surprised that this isn't already the case.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists