On Tue, 2002-05-14 at 00:15, Marco Coli wrote: > Some months ago I enterd a question about the impossibility to activate > DPMS on flat panels with radeon VE. > > Unfortunately no definite answer was given to the question. > > Now, I received by mail an interesting suggestion from Prof. Jaijeet > Roychowdhury. > > His suggestion, as you'll read, requires a little modification of the > source code of Xfree. > > Now I do nomore have xfree tree on my machine, and no time at all. If > someone of you is able to verify it, it would be a wonderful thing. > > Here it is: > > I found a post by you on the Xpert mailing list about DPMS not > working with a Radeon card and flat panel displays. I had a similar > problem > that I was able to fix by a small change to the XFree86 4.2.0 source > code. > (For me, DPMS stopped working on the CRT when I connected the Svideo > output > of my Radeon VE to a TV). > > The file to change is: > xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c in the > XFree86 > 4.2.0 code. I changed line 2869 to: > > if ((info->DisplayType == MT_CRT) || (info->UseCRT)) > > from the original: > > if (info->DisplayType == MT_CRT) > > The original code seems to initialize DPMS only if the first display it > detects is a CRT. If you want DPMS on a flat panel or LCD, I suspect > something > like > > if ((info->DisplayType == MT_CRT) || (info->DisplayType == > MT_DFP) > || (info->DisplayType == MT_LCD)) > > will work.
It looks like current CVS has these limitations removed. -- Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
