jbarnes at virtuousgeek.org
Wed Nov 28 13:16:57 PST 2007
On Wednesday, November 28, 2007 1:10 pm Lukas Hejtmanek wrote:
> On Wed, Nov 28, 2007 at 12:35:41PM -0800, Jesse Barnes wrote:
> > Does this patch work for you guys?
> > It properly gets the backlight at startup time, saves and restores it
> > across DPMS on/off calls, and doesn't mess with it at startup time (iow
> > it assumes you have it where you want it when you start X).
> did not try it yet but what happens if some application does something like
> xset dpms force off; xset dpms force off? i.e. it sets lvdspanelpower off
Ah good point, in that case it'll save a 0 backlight value... that might be
desired in some cases but probably not many.
I'll add a check to only save the value if the display is currently active.
More information about the xorg