Re: Backlight off timeout

Micah Dowty <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
This is a bug in pgserver, it seems. The backlight timer uses the same
code as the cursor hide timer, and I've noticed a similar problem with it.

On Fri, Jan 31, 2003 at 05:47:47PM +0100, Thierry Th?voz wrote:
> Hello!
> 
> I'm trying to bring our old backlight timeout back to life.
> 
> To toggle the backlight, I'm launching pgserver with a specific option :
> pgserver --timers.backlightoff=100
> (this should be a 10 sec timeout).
> 
> Now, in the fbdev.c framebuffer file, I catch the driver messages :
> - PGDM_BACKLIGHT=0         (turn off)  
> - PGDM_POWER=PG_POWER_FULL (turn on)
> and I do an ioctl on the lowlevel framebuffer driver accordingly.
> 
> Trouble is, when I start up pgserver : 
> 1. I immediately get a PGDM_BACKLIGHT event. Not even waiting for the 
>    timeout to occur.
> 2. I correctly get the PGDM_POWER events, but no more any PGDM_BACKLIGHT
>    timeout event, even after being idle for a loooong time.
> 
> Is the backlight timeout not supported anymore?
> Any idea before I dig further into the timers?
> 
> I thanks you in advance!
> Thierry
> -- 
> Thierry Th?voz 
> Software Engineer
> 
> SMARTDATA
> PSE-B / EPFL
> CH-1015 Lausanne
> 
> http://www.smartdata.ch
> mailto:[email protected]
> phone: +41(0) 21 693 84 98
> fax:   +41(0) 21 693 84 91
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Pgui-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pgui-devel

-- 
Only you can prevent creeping featurism!


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.