Backlight off timeout

Thierry Thévoz <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <1044031667.503.8.camel@main>
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
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.