xf86-video-intel

Lukas Hejtmanek xhejtman at ics.muni.cz
Tue Nov 20 16:34:59 PST 2007


On Tue, Nov 20, 2007 at 12:49:57PM -0800, Jesse Barnes wrote:
> Ooh, that's actually a bug I think... does this work better for you?

actually this fixes the problem. I use value 0 as the correct value, it should
not be altered to max. But I guess your patch will be needed as well. Thanks.


diff --git a/src/i830_lvds.c b/src/i830_lvds.c
index a3a56f7..50e3fa4 100644
--- a/src/i830_lvds.c
+++ b/src/i830_lvds.c
@@ -403,8 +403,8 @@ i830_lvds_save (xf86OutputPtr output)
     /*
      * If the light is off at server startup, just make it full brightness
      */
-    if (dev_priv->backlight_duty_cycle == 0)
-       dev_priv->backlight_duty_cycle = dev_priv->backlight_max;
+//    if (dev_priv->backlight_duty_cycle == 0)
+//     dev_priv->backlight_duty_cycle = dev_priv->backlight_max;
 }

 static void

-- 
Lukáš Hejtmánek



More information about the xorg mailing list