[Lcdproc] lcdproc doesn't switch off my backlight

Markus Dolze bsdfan at nurfuerspam.de
Sun Mar 22 22:08:49 UTC 2009



Sascha wrote:
> Am Montag 09 März 2009 07:30:38 schrieben Sie:
>> Sascha wrote:
>>> Hi,
>>>
>>> I set up my lcdproc.conf with these values:
>>>
>>> [Load]
>>> Active=true
>>> LowLoad=1.00
>>> HighLoad=5.00
>>>
>>> I started lcdproc while my load was under 1 and my Backlight was off.
>>> Then I started several burnMMX processes and watched my load.
>>> Right after the load goes > 5 the Backlight was starting blinking, I
>>> killed all burnMMX's and after the load was under 5 my backlight stays
>>> on. After a while all Load values were below 1.0 again and my backlight
>>> doesn't switch off.
>>>
>>> Does lcdpoc use all 3 Load values to check wether to turn the backlight
>>> on or off? Do the values have to stay at a specific time under the
>>> LowLoad?
>> Hi,
>>
>> lcdproc uses the 1 min avg load value.
>>
>> The behaviour could best be described as (its the actual code):
>>
>> if (lowLoad < highLoad) {
>>         status = (loadmax > lowLoad) ? BACKLIGHT_ON : BACKLIGHT_OFF;
>>         if (loads[lcd_wid - 2] > highLoad)
>>             status = BLINK_ON;
>>
>> In words this means:
>>
>>     * If you configured /highLoad/ to have a larger value than /lowLoad/
>>       it is updating the backlight. By setting /highLoad/ to a lower
>>       value than /lowLoad/ you can turn the whole feature off.
>>       Thereotically it would also be disabled if both are set to the
>>       same value, but I would set it to a lower value to turn it off.
>>     * BTW: The default value for the backlight is BACKLIGHT_ON, so if
>>       this feature is turned off, the backlight will always be on.
>>     * If /maxLoad/ is larger then /lowLoad/ the backlight is set to on,
>>       otherwise it is turned off. /maxLoad/ is the maximum off all
>>       displayed load values = maximum off all displayed vBars. If you
>>       are using this on your 40x4 display it could take a while until
>>       the high values have moved out of your screen.
>>     * If the newst (= rightmost) load value if above the /highLoad/
>>       limit, the display starts blinking. The blinking is turned off if
>>       the value dropped below the /highLoad/ limit on next screen update.
>>
>>
>> Works fine for me.
>>
>> Markus
> hi,
> 
> thanks for your explanation. This now works correct. I did set the lowLoad to 
> 0, because I want the display to be on, if I sit i my living room.
> I need something like a ccommandline option to toggle the backlight. 
> 
> Regards,
> Sascha
> 
> 

It is currently not possible to switch the backlight for the whole 
server on / off by a single client.

See http://lists.omnipotent.net/pipermail/lcdproc/2009-January/012603.html.

Markus


More information about the LCDproc mailing list