safesys
Group: Members
Posts: 49
Joined: Mar. 2006 |
|
Posted: Mar. 26 2006,22:26 |
|
Might be useful for anyone else wanting to use a matrox g200 quad monitor pci card with dsl - this is what I did to get it working:
download the XFree86.dsl and copy it into the backup device so its there on restart.
download the mga_drv.o and mga_drv_hal.o drivers from the matrox site:
http://www.matrox.com/mga/support/drivers/latest/home.cfm
copy them both to:
/usr/X11R6/lib/modules/drivers
get the busid's for the card by using lspci
then edit:
/etc/X11/XF86Config-4
to something like this (set for 3 screens):
Section "ServerLayout" Identifier "XFree86 Configured" Screen "Screen2" LeftOf "Screen0" Screen "Screen0" LeftOf "Screen1" Screen "Screen1" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "Xinerama" "on" EndSection
Section "ServerFlags" DontZap AllowMouseOpenFail EndSection
Section "Files" # RgbPath "/usr/X11R6/lib/X11/rgb" # ModulePath "/usr/X11R6/lib/modules" # FontPath "unix/:7100" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" #FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/Speedo" #FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module" Load "dbe" Load "extmod" # Load "fbdevhw" Load "dri" Load "glx" Load "record" Load "freetype" Load "type1" EndSection
Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "4 5" EndSection
Section "Monitor" Identifier "Monitor1" EndSection
Section "Monitor" Identifier "Monitor2" EndSection
Section "Monitor" Identifier "Monitor3" EndSection
Section "Device" Identifier "Card1_1" VendorName "Matrox" BoardName "MGA G200" Driver "mga" BusID "PCI:2:0:0" Option "HWcursor" "on" Option "MGASDRAM" EndSection
Section "Device" Identifier "Card1_2" VendorName "Matrox" BoardName "MGA G200" Driver "mga" BusID "PCI:2:4:0" Option "HWcursor" "on" Option "MGASDRAM" EndSection
Section "Device" Identifier "Card1_3" VendorName "Matrox" BoardName "MGA G200" Driver "mga" BusID "PCI:2:8:0" Option "HWcursor" "on" Option "MGASDRAM" EndSection
Section "Screen" Identifier "Screen0" Device "Card1_1" Monitor "Monitor1" DefaultDepth 24
SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection
Section "Screen" Identifier "Screen1" Device "Card1_2" Monitor "Monitor2" DefaultDepth 24
SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection
Section "Screen" Identifier "Screen2" Device "Card1_3" Monitor "Monitor3" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection
--- (the: Option "ZAxisMapping" "4 5" - enables the mouse scroll wheel/middle button)
edit /home/dsl/.xserverrc
comment out the existing exec /usr/bin/X11/Xvesa... line and add:
exec /usr/X11R6/bin/XFree86 -nolisten tcp
so that the system used XFree86 on restart
then just edit the /home/dsl/filetool.lst to add the following so they're backed up/restored:
/etc/X11/XF86Config-4 /usr/X11R6/lib/modules/drivers/mga_drv.o /usr/X11R6/lib/modules/drivers/mga_hal_drv.o
|