lkml.org 
[lkml]   [2001]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How to disable blanking of the screen in the kernel ?
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:58    [W:0.329 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site