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.

Compiling these changes will only affect radeon_drv.o, which can then be
copied to /usr/X11R6/lib/modules/drivers/.

Please feel free to post this on the Xpert mailing list if it works.

Best wishes,

Jaijeet Roychowdhury



-- 
Saluti - Marco Coli
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to