Thread (10 messages) 10 messages, 2 authors, 2004-12-16

Re: Re: [PATCH] GeForce 5200 on rivafb

From: Antonino A. Daplas <hidden>
Date: 2004-12-13 21:47:42

On Tuesday 14 December 2004 04:52, Antonino A. Daplas wrote:
Can you try this patch and enable nvidiafb-i2c. It adds your monitor model
to the database of displays with broken edid's and attempts a fix. It
checks first if the monitor is GTF capable, and if it is, sets the input
type from digital to analog. (I don't think digital inputs can be GTF
capable).
Apply this patch too, I forgot to adjust the checksum.

Tony

diff -Nru a/drivers/video/fbmon.c b/drivers/video/fbmon.c
--- a/drivers/video/fbmon.c	2004-12-14 04:38:30 +08:00
+++ b/drivers/video/fbmon.c	2004-12-14 05:46:20 +08:00
@@ -119,8 +119,10 @@
 				b = edid + EDID_STRUCT_DISPLAY;
 				/* Only if display is GTF capable will
 				   the input type be reset to analog */
-				if (b[4] & 0x01)
+				if (b[4] & 0x01) {
 					b[0] &= ~0x80;
+					edid[127] += 0x80;
+				}
 			}
 		}
 	}





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help