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

Reply via email to