[Lcdproc] Implement a new feature to turn off LCD backlight during idle/inactivity periods

Vallevand, Mark K Mark.Vallevand@UNISYS.com
Thu Apr 12 14:22:03 2007


This is a multi-part message in MIME format.

------_=_NextPart_001_01C77D0D.CD713940
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

We had a similar requirement, but implemented the backlight timeout in
our client.

=20

Regards.=20
Mark K Vallevand=20

"If there are no dogs in Heaven, then when I die I want to go where they
went."
-Will Rogers

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

________________________________

From: lcdproc-admin@lists.omnipotent.net
[mailto:lcdproc-admin@lists.omnipotent.net] On Behalf Of Roger Lu
Sent: Wednesday, April 11, 2007 5:06 PM
To: lcdproc@lists.omnipotent.net
Subject: [Lcdproc] Implement a new feature to turn off LCD backlight
during idle/inactivity periods

=20

Hello,

=20

I am new to this mailing list and lcdproc.  Our LCD supplies informed us
that the LCD backlight we use has a mean life of 10000 hour tp 1/2 or
less intensity. I am thinking about adding a new feature to lcdproc
server to turn off backlight during idle or inactive priods (for example
if it is idle for 1 minute). Resumption of backlight can be set upon
touching any of the keypad keys.

=20

Has anybody thought about this feature before?

=20

For implementation details, I took a look lcdproc souce code. One
possiblity is to record key stroke time history in handle_input()
functions. Then in render_screen() we can set tmp_state properly based
on key stroke activities and when calling drivers_backlight() pass in
the proper brightness value to turn backlight on or off. Does that sound
right?

=20

Thanks.

=20

Roger Lu

=20


------_=_NextPart_001_01C77D0D.CD713940
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>We had a similar requirement, but
implemented the backlight timeout in our =
client.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>Regards.</span></font><font color=3Dnavy><span
style=3D'color:navy'> <br>
</span></font><st1:PersonName w:st=3D"on"><font size=3D2 color=3Dnavy =
face=3DArial><span
 style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Mark K =
Vallevand</span></font></st1:PersonName><font
color=3Dnavy><span style=3D'color:navy'> <o:p></o:p></span></font></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>&quot;If there are no dogs in Heaven, then when I die =
I want
to go where they went.&quot;<br>
-Will Rogers<br>
</span></font><font color=3Dnavy><span style=3D'color:navy'><br>
</span></font><font size=3D2 color=3Dnavy><span =
style=3D'font-size:10.0pt;color:navy'>THIS
COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY =
MATERIAL
and is thus for use only by the intended recipient. If you received this =
in
error, please contact the sender and delete the e-mail and its =
attachments from
all computers.</span></font><o:p></o:p></p>

</div>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
lcdproc-admin@lists.omnipotent.net =
[mailto:lcdproc-admin@lists.omnipotent.net] <b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Roger Lu<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, April =
11, 2007
5:06 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
lcdproc@lists.omnipotent.net<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Lcdproc] =
Implement a new
feature to turn off LCD backlight during idle/inactivity =
periods</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello,</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am new to this mailing list and lcdproc.&nbsp; Our =
LCD
supplies informed us that the LCD backlight we use has a mean life of =
10000
hour tp 1/2 or less intensity. I am thinking about adding a new feature =
to
lcdproc server to turn off backlight during idle or inactive priods (for
example if it is idle for 1 minute). Resumption of backlight can be set =
upon
touching any of the keypad keys.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Has anybody thought about this feature =
before?</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>For implementation details, I took a look lcdproc =
souce
code. One possiblity is to record key stroke time history in =
handle_input()
functions. Then in render_screen() we can set tmp_state properly based =
on key
stroke activities&nbsp;and when calling drivers_backlight() pass in the =
proper
brightness value to turn backlight on or off. Does that sound =
right?</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Roger Lu</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>

------_=_NextPart_001_01C77D0D.CD713940--