[Pgui-devel] Backlight off timeout

2003-01-31 Thread Thierry Thévoz
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 lng 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



Re: [Pgui-devel] Backlight off timeout

2003-01-31 Thread Micah Dowty
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 lng 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
___
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel