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
'bloat'.
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...]
Cheers,
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 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 : Thu Jul 31 2003 - 22:00:45 EST