Pirlouwi wrote:
> 2009/1/24 Duncan Webb <dun...@freevo.org <mailto:dun...@freevo.org>>
> 
>     Pirlouwi wrote:
>     > Hello all,
>     > long time ago that I read this list, good news... it means that my
>     > freevo 1.7.3 is so rock solid, that I did'nt need support ;-)
>     >
>     > Ok. Here is my problem:
>     > i would like, when Freevo updates the LCD screen, that the backlight
>     > lights up for a specified number of seconds (let us set it to 10
>     > seconds), and then switches the backlight down back.
>     >
>     > It is very annoying to have this flashy backlight leds always on.
>     > Here is a link to the cw12832 documentation
>     > <http://www.cwlinux.com/images/Manual/CW12832/cw12832-manual.pdf>.
>     >
>     > If someone could give me some help to modify the Freevo LCD module, to
>     > support that feature, should be great!
> 
>     You have sort of lost me with the question. If I understand you the
>     problem is the the backlight has always illuminates when commands are
>     sent to the LCD.
> 
>     The problem here is that Freevo does not control LCD displays directly
>     but through the LCDproc daemon. You can try adding -backlight off to the
>     commands that set the heartbeat. If this fails maybe you should ask this
>     question on the LCDproc lists.
> 
>     Duncan
> 
> 
> I understand your reply, but I don't know how LCDproc could compute how
> much time has elapsed during the last LCDproc command.
> What should be great is that the backlight is ON during 10 seconds after
> a remotecontrol action for example, and then backlight could go back
> OFF.  It is more a task for the LCDproc client to handle such timeout
> for the backlight.
> 
> In the cw12832 manual, I see:
> 
>     * Backlight On (254 66 253): This command turns on the LED backlight
>       of the LCD with maximum brightness. Default is ON.
>     * Backlight Off (254 70 253): This command turns off the LED
>       backlight of the LCD. Default is OFF.
> 
> 
> I don't know if it should be possible to send such command from within
> Freevo.
> What is your advice?

>From what I understand there are two versions of the LCD board, USB and
serial. It depends on which board you have, if it is a USB board,
possibly the better choice as most motherboards have USB headers but
fewer have serial headers.

I first thing I would do is to write some simple test code to see if
LCDproc actually supports the backlight for the cwlinux driver. If it
does then I would modify the lcd.py code to dim the backlight when
playing something.

If the LCDproc driver does not support the backlight then take the
vfd.py code, assuming that it is a USB device, and modify it as you like
the display. Or modify the LCDproc driver to allow the control of the
backlight.

Duncan



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to