* LCD blanking?
@ 2009-08-25 13:55 Gary Thomas
2009-08-25 20:42 ` Cliff Brake
2009-08-26 0:36 ` Frederik Kriewitz
0 siblings, 2 replies; 4+ messages in thread
From: Gary Thomas @ 2009-08-25 13:55 UTC (permalink / raw)
To: linux-omap@vger.kernel.org; +Cc: Tomi Valkeinen
I have a system with an LCD, running Tomi's DSS2 support.
One problem I'm having is that after a while, the LCD blanks
out (I do have fbcon support enabled so I can use it as a
glass TTY - no keyboard)
How can I keep this from happening?
Once it does, is there any way to get it back on (remember,
no keyboard)?
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LCD blanking?
2009-08-25 13:55 LCD blanking? Gary Thomas
@ 2009-08-25 20:42 ` Cliff Brake
2009-08-26 0:36 ` Frederik Kriewitz
1 sibling, 0 replies; 4+ messages in thread
From: Cliff Brake @ 2009-08-25 20:42 UTC (permalink / raw)
To: Gary Thomas; +Cc: linux-omap@vger.kernel.org, Tomi Valkeinen
On Tue, Aug 25, 2009 at 9:55 AM, Gary Thomas<gary@mlbassoc.com> wrote:
> I have a system with an LCD, running Tomi's DSS2 support.
> One problem I'm having is that after a while, the LCD blanks
> out (I do have fbcon support enabled so I can use it as a
> glass TTY - no keyboard)
>
> How can I keep this from happening?
> Once it does, is there any way to get it back on (remember,
> no keyboard)?
There are ways to do this from user space, but a quick hack I sometimes use is:
diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 60359c3..eda7c14 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -172,7 +172,8 @@ int do_poke_blanked_console;
int console_blanked;
static int vesa_blank_mode; /* 0:none 1:suspendV 2:suspendH 3:powerdown */
-static int blankinterval = 10*60*HZ;
+//static int blankinterval = 10*60*HZ;
+static int blankinterval = 0;
static int vesa_off_interval;
Cliff
=================
http://bec-systems.com
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: LCD blanking?
2009-08-25 13:55 LCD blanking? Gary Thomas
2009-08-25 20:42 ` Cliff Brake
@ 2009-08-26 0:36 ` Frederik Kriewitz
2009-08-26 3:00 ` Hiremath, Vaibhav
1 sibling, 1 reply; 4+ messages in thread
From: Frederik Kriewitz @ 2009-08-26 0:36 UTC (permalink / raw)
To: linux-omap@vger.kernel.org
On Tue, Aug 25, 2009 at 3:55 PM, Gary Thomas<gary@mlbassoc.com> wrote:
> I have a system with an LCD, running Tomi's DSS2 support.
> One problem I'm having is that after a while, the LCD blanks
> out (I do have fbcon support enabled so I can use it as a
> glass TTY - no keyboard)
>
> How can I keep this from happening?
> Once it does, is there any way to get it back on (remember,
> no keyboard)?
check man console_codes
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: LCD blanking?
2009-08-26 0:36 ` Frederik Kriewitz
@ 2009-08-26 3:00 ` Hiremath, Vaibhav
0 siblings, 0 replies; 4+ messages in thread
From: Hiremath, Vaibhav @ 2009-08-26 3:00 UTC (permalink / raw)
To: frederik@kriewitz.eu, linux-omap@vger.kernel.org
> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Frederik Kriewitz
> Sent: Wednesday, August 26, 2009 6:07 AM
> To: linux-omap@vger.kernel.org
> Subject: Re: LCD blanking?
>
> On Tue, Aug 25, 2009 at 3:55 PM, Gary Thomas<gary@mlbassoc.com>
> wrote:
> > I have a system with an LCD, running Tomi's DSS2 support.
> > One problem I'm having is that after a while, the LCD blanks
> > out (I do have fbcon support enabled so I can use it as a
> > glass TTY - no keyboard)
> >
> > How can I keep this from happening?
> > Once it does, is there any way to get it back on (remember,
> > no keyboard)?
>
[Hiremath, Vaibhav] The default console timeout is 10 min, so after this time LCD will blank, from user space you can do following -
SYSFS entry -
# echo 0 > /sys/class/graphics/fb0/blank
IOCTL -
You can call the ioctl FBIOBLANK with argument FB_BLANK_UNBLANK.
Thanks,
Vaibhav
> check man console_codes
> --
> To unsubscribe from this list: send the line "unsubscribe linux-
> omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-26 3:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25 13:55 LCD blanking? Gary Thomas
2009-08-25 20:42 ` Cliff Brake
2009-08-26 0:36 ` Frederik Kriewitz
2009-08-26 3:00 ` Hiremath, Vaibhav
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox