Re: [PATCH] console: make blank timeout value a boot option

From: Daniel Mack
Date: Thu Jun 04 2009 - 03:44:55 EST


On Thu, Jun 04, 2009 at 12:23:25AM -0700, Andrew Morton wrote:
> > --- 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.

That's already possible - there is an ioctl for that. It's just not
configurable at boot time, and that occured to be very annoying when
developing systems that won't fully boot up for >10mins. You have no way
to wake up the console then.

Is there any concern why that shouldn't be a kernel option?

Daniel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/