Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > e265b08b6bebf8514a189c80db57a2d3 > files > 29

x11-server-1.3.0.0-25.1mdv2008.0.src.rpm

From bacb7b93f56c2dbc00c87420083871eecb5b638d Mon Sep 17 00:00:00 2001
From: Daniel Ciocea <daniel.ciocea@eosystems.ro>
Date: Fri, 8 Jun 2007 18:12:21 -0700
Subject: [PATCH] Fix sync polarity on Samsung SyncMaster 205BW monitor.

need to use standard VESA sync polarity instead of the
EDID provided -hsync -vsync values.
---
 hw/xfree86/modes/xf86EdidModes.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/modes/xf86EdidModes.c b/hw/xfree86/modes/xf86EdidModes.c
index edcd636..ca9243c 100644
--- a/hw/xfree86/modes/xf86EdidModes.c
+++ b/hw/xfree86/modes/xf86EdidModes.c
@@ -71,7 +71,11 @@ static Bool quirk_dt_sync_hm_vp (int scrnIndex, xf86MonPtr DDC)
     if (memcmp (DDC->vendor.name, "VSC", 4) == 0 &&
 	DDC->vendor.prod_id == 58653)
 	return TRUE;
-
+    /* Samsung SyncMaster 205BW */
+    if (memcmp (DDC->vendor.name, "SAM", 4) == 0 &&
+	DDC->vendor.prod_id == 541)
+	return TRUE;
+     
     return FALSE;
 }
 
-- 
1.5.2.4