RE: How to disable blanking of the screen in the kernel ?

From: Patrick Allaire (pallaire@gameloft.com)
Date: Tue Aug 28 2001 - 07:24:54 EST


Thank you that what I was looking for ... I dont want to add 20k for the
setterm app.

Patrick Allaire
mailto:pallaire@gameloft.com
If you can see it, but it's not there, it's virtual.
If you can't see it, but it is there, it's hidden.
It you can't see it and it isn't there, it's gone.

> -----Original Message-----
> From: Robert Love [mailto:rml@tech9.net]
> Sent: August 27, 2001 5:14 PM
> To: Patrick Allaire
> Cc: Linux Kernel List
> Subject: Re: How to disable blanking of the screen in the kernel ?
>
>
> On Mon, 2001-08-27 at 16:50, Patrick Allaire wrote:
> > I am on a 2.2.19 kernel. I am doing an embedded box and I
> want to disable
> > the console blanking ... how can I do that ? I dont have
> apm support in the
> > kernel. there is no X on the box ...
>
> the userspace solution is simply `setterm -blank 0'
>
> if you dont want setterm, I wager it just uses an ioctl to set the
> appropriate option.
>
> if you want to disable it permanently, take a look around
> drivers/char/console.c
>
> there is a
> static int blankinterval = 10*60*HZ;
> setting that to 0 should do the job. you could take it
> further and rip
> out some of the *blank* functions that you wont be needing,
> to make your
> kernel smaller.
>
> --
> Robert M. Love
> rml at ufl.edu
> rml at tech9.net
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:28 EST