Skip to contentSkip to conversation

LCD blanking?

DISCUSSION Gary Thomas 4 participants 4 messages Aug 25, 2009 – Aug 26, 2009 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 8 lines · Gary Thomas

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:

drivers/char/vt.c +2 -1
index 60359c3..eda7c14 100644
@@ -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

#2 lore raw
In reply to Gary Thomas
Quoted 8 lines · Gary Thomas

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

#3 lore raw
Quoted 8 lines

-----Original Message-----
From: [email protected] [mailto:linux-omap- [email protected]] On Behalf Of Frederik Kriewitz
Sent: Wednesday, August 26, 2009 6:07 AM
To: [email protected]
Subject: Re: LCD blanking?

Quoted 11 lines
Quoted 8 lines · Gary Thomas

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

Quoted 6 lines

check man console_codes
--
To unsubscribe from this list: send the line "unsubscribe linux- omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html