[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#324500: G550 dualhead



Yo!

Updated to 6.8.99.902.dfsg.1-1 for xserver-{common,xorg} and xlibmesa-dri 
(for mga_dri, but I'm not sure if that's even used here).

Bug still persists, workaround still works.

The bug report at freedesktop lists a possible fix, will try to test this 
next week.

diff -Naur mga.6.8.99.900/mga_bios.c mga/mga_bios.c
--- mga.6.8.99.900/mga_bios.c	Tue Jul 26 03:14:50 2005
+++ mga/mga_bios.c	Tue Sep 13 21:54:35 2005
@@ -457,7 +457,7 @@
     }
         
     /* Get the output mode set by the BIOS */
-    pMga->BiosOutputMode = bios_data[0x7ff1];
+    pMga->BiosOutputMode = 0x1; /*alex: replaced bios_data[0x7ff1];*/
 
     /* Get the video BIOS info block */
     if (strncmp((char *)(&bios_data[45]), "MATROX", 6)) {
diff -Naur mga.6.8.99.900/mga_driver.c mga/mga_driver.c
--- mga.6.8.99.900/mga_driver.c	Tue Jul 26 22:29:39 2005
+++ mga/mga_driver.c	Tue Sep 13 21:55:51 2005
@@ -329,8 +329,8 @@
     NULL
 };
 #endif
-
-#define MGAuseI2C 1
+/*alex: */
+#define MGAuseI2C 0
 
 static const char *ddcSymbols[] = {
     "xf86DoEDID_DDC1",
@@ -345,6 +345,15 @@
 static const char *i2cSymbols[] = {
     "xf86CreateI2CBusRec",
     "xf86I2CBusInit",
+/*alex: add to avoid unresolved symbols warnings*/    
+    "xf86CreateI2CBusRec",
+    "xf86DestroyI2CBusRec",
+    "xf86DestroyI2CDevRec",
+    "xf86I2CBusInit",
+    "xf86I2CDevInit",
+    "xf86I2CProbeAddress",
+    "xf86I2CWriteByte",
+    "xf86I2CWriteVec",    
     NULL
 };
 


cheers
-- vbi

-- 
Beware of the FUD - know your enemies. This week
    * The Alexis de Toqueville Institue *
http://fortytwo.ch/opinion/adti

Attachment: pgpMz8MeZteN6.pgp
Description: PGP signature


Reply to: