public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: Patrick Allaire <pallaire@gameloft.com>
Cc: Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: How to disable blanking of the screen in the kernel ?
Date: 27 Aug 2001 17:14:13 -0400	[thread overview]
Message-ID: <998946860.11858.23.camel@phantasy> (raw)
In-Reply-To: <9A1957CB9FC45A4FA6F35961093ABB84041F9D2F@srvmail-mtl.ubisoft.qc.ca>
In-Reply-To: <9A1957CB9FC45A4FA6F35961093ABB84041F9D2F@srvmail-mtl.ubisoft.qc.ca>

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


  reply	other threads:[~2001-08-27 21:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-27 20:50 How to disable blanking of the screen in the kernel ? Patrick Allaire
2001-08-27 21:14 ` Robert Love [this message]
2001-08-28 13:53 ` Luigi Genoni
  -- strict thread matches above, loose matches on Subject: below --
2001-08-28 12:24 Patrick Allaire

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=998946860.11858.23.camel@phantasy \
    --to=rml@tech9.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pallaire@gameloft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox