linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: How to disable blanking of the screen in the kernel ?
@ 2001-08-28 12:24 Patrick Allaire
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Allaire @ 2001-08-28 12:24 UTC (permalink / raw)
  To: Robert Love; +Cc: Linux Kernel List

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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to disable blanking of the screen in the kernel ?
  2001-08-27 20:50 Patrick Allaire
  2001-08-27 21:14 ` Robert Love
@ 2001-08-28 13:53 ` Luigi Genoni
  1 sibling, 0 replies; 4+ messages in thread
From: Luigi Genoni @ 2001-08-28 13:53 UTC (permalink / raw)
  To: Patrick Allaire; +Cc: Linux Kernel List

with older kernels 2.0 you could find the source fora nice program called
setvesablank, but i think also setterm could fit your needs

On Mon, 27 Aug 2001, Patrick Allaire wrote:

>
> Hi,
>
> 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 ...
>
> thank you
>
> 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.
>
>
> -
> 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/
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to disable blanking of the screen in the kernel ?
  2001-08-27 20:50 Patrick Allaire
@ 2001-08-27 21:14 ` Robert Love
  2001-08-28 13:53 ` Luigi Genoni
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Love @ 2001-08-27 21:14 UTC (permalink / raw)
  To: Patrick Allaire; +Cc: Linux Kernel List

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* How to disable blanking of the screen in the kernel ?
@ 2001-08-27 20:50 Patrick Allaire
  2001-08-27 21:14 ` Robert Love
  2001-08-28 13:53 ` Luigi Genoni
  0 siblings, 2 replies; 4+ messages in thread
From: Patrick Allaire @ 2001-08-27 20:50 UTC (permalink / raw)
  To: Linux Kernel List


Hi,

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 ...

thank you

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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-28 13:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-28 12:24 How to disable blanking of the screen in the kernel ? Patrick Allaire
  -- strict thread matches above, loose matches on Subject: below --
2001-08-27 20:50 Patrick Allaire
2001-08-27 21:14 ` Robert Love
2001-08-28 13:53 ` Luigi Genoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).