Bug#164217: xserver-xfree86: [radeon] screen blanking never turns off the LCD backlight
On Sam, 2002-10-12 at 22:58, Michael Shields wrote:
> In article <[🔎] 1034421886.1149.136.camel@tibook>,
> Michel Dänzer <daenzer@debian.org> wrote:
> > It's actually a limitation of the radeon driver in 4.2, it doesn't do
> > any power managmenet for digital flat panels. I think it's been fixed in
> > current CVS, but I'm not sure if backporting this particular feature is
> > feasible.
>
> Actually, it is quite easy. Adding this file to debian/patches will
> take care of it. This straightforward is the same one in the CVS HEAD.
[...]
> --- xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2002-10-12 18:41:02.000000000 +0000
> +++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2002-10-12 18:41:24.000000000 +0000
> @@ -2883,8 +2883,7 @@
>
> /* DPMS setup */
> #ifdef DPMSExtension
> - if (info->DisplayType == MT_CRT)
> - xf86DPMSInit(pScreen, RADEONDisplayPowerManagementSet, 0);
> + xf86DPMSInit(pScreen, RADEONDisplayPowerManagementSet, 0);
> #endif
>
> RADEONInitVideo(pScreen);
I doubt this is enough; RADEONDisplayPowerManagementSet() would also
have to handle the various display types at least.
--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
Reply to: