[lkml]   [2003]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Turning off automatic screen clanking
On Wed, 30 Jul 2003, Erik Andersen wrote:

> Here ya go... This rips out the screen blanking code by the
> roots since the kind and gentle approach didn't seem to be what
> you were looking for. :-)

Come on...

That's not necessary! I'm looking for either making it default
to "no blanking" so startup scripts need to enable this feature,
or an ioctl to turn it off.

The 'kindest and gentlist' approach was to simply set the timer
variable "blankinterval" (line 165 in console.c) to 0 instead of
10*60*HZ. This doesn't work. The screen still blanks in 10 minutes.

The next approach was to make an ioctl function. I was supplied with
1/2 what was necessary and, if I add the rest (a trivial call), it
will work, however that extra code may probably be rejected as

What I'm working on now, when I can get the time, is trying to
find out how come initialization to zero doesn't work and making
it work. Once this is done, there should not be any technical
reasons why it can't be included in the standard kernel.

The current enabling of the blanker by default is clearly policy
and it has been well established that policy decisions should be
outside the kernel.

[SNIPPED (neat) patch...]

Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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