# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
  Option "BlankTime"	"10"
  Option "StandbyTime"	"11"
  Option "SuspendTime"	"12"
  Option "OffTime"	"13"
	Option	    "Xinerama" "on"
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
  Load  	"speedo"
  Load  	"bitmap"
  Load  "record"
#  Load  "xie"
  Load  "xtrap"
    Load "freetype"
    Load "dbe"
    Load "GLcore"
    Load "glx" # 3D layer
  Load  	"dri"
#No hay DRI con Xinerama?
##  Load  "pex5"
##  Load  	"xtt"
# /usr/X11R6/lib/modules/fonts: bitmap freetype speedo type1 xtt
# /usr/X11R6/lib/modules/extensions: dbe dri extmod pex5 record xie
  
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
#      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "es"
    Option "XkbCompat" ""
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
  Driver  	"mouse"
  Identifier  	"Mouse[0]"
#  Option 	"CorePointer"
  Option 	"Device"  	"/dev/psaux"
#  Option 	"InputFashion"  	"Mouse"
#  Option 	"Name"  	"Autodetection"
#  Option 	"Protocol"  	"auto"
#  Option 	"Protocol"  	"ps/2"
  Option 	"Protocol"  	"MouseManPlusPS/2"
#  Option 	"Emulate3Buttons"  	"on"
#  Option 	"Vendor"  	"Sysp"
  Option 	"ZAxisMapping"	"4 5"
EndSection


Section "InputDevice"
  Driver  	"mouse"
  Identifier  	"Mouse[1]"
  Option 	"Device"  	"/dev/input/mice"
#  Option 	"InputFashion"  	"Mouse"
#  Option 	"Name"  	"Autodetection"
#  Option 	"Protocol"  	"ps/2"
  Option 	"Protocol"  	"imps/2"
#  Option 	"Vendor"  	"Sysp"
  Option 	"ZAxisMapping"	"4 5"
EndSection

Section "InputDevice"
        Identifier  "LIRC-Mouse"
        Driver      "mouse"
        Option      "Device" "/dev/lircm"
        Option      "Protocol" "IntelliMouse"
        Option      "SendCoreEvents"
        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5"
EndSection

#Modeline (xvidtune): PixelClock HDisplay HSyncStart HSyncEnd HTotal VDisplay VSyncStart VSyncEnd VTotal
Section "Modes"
  Identifier 	"Modes[0]"
  Modeline 	"1600x1200" 162.00 1600 1656 1848 2160 1200 1200 1203 1250
#  Modeline 	"1600x1200" 189.00 1600 1664 1856 2160 1200 1201 1204 1250
  Modeline 	"1400x1050" 130.80 1400 1416 1704 1816 1050 1050 1057 1097
  Modeline 	"1280x1024" 120.20 1280 1296 1552 1664 1024 1024 1031 1070
  Modeline 	"1280x960" 83.20 1280 1296 1552 1664 960 960 967 1003
  Modeline 	"1152x864" 74.80 1152 1168 1384 1496 864 864 871 902
  Modeline 	"1024x864" 66.40 1024 1040 1216 1328 864 864 871 902
  Modeline 	"1024x768" 66.40 1024 1040 1216 1328 768 768 775 802
  Modeline 	"800x600" 43.06 800 848 960 1040 600 600 607 626
  Modeline 	"640x480" 27.56 640 656 720 864 480 480 487 501
EndSection

Section "Modes"
  Identifier 	"Modes[1]"
  Modeline 	"1280x1024" 120.20 1280 1296 1552 1664 1024 1024 1031 1070
  Modeline 	"1024x864" 66.40 1024 1040 1216 1328 864 864 871 902
  Modeline 	"800x600" 43.06 800 848 960 1040 600 600 607 626
  Modeline 	"640x480" 27.56 640 656 720 864 480 480 487 501
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1600x1200"
    HorizSync 75
    VertRefresh 60
    Option	"DPMS"
    UseModes  	"Modes[0]"
EndSection

Section "Monitor"
    Identifier "monitor2"
    VendorName	"NEC"
    ModelName  	"1760"
    HorizSync  	80
    VertRefresh 75
    UseModes  	"Modes[1]"
    Option	"DPMS"
EndSection

Section "Device"
    Identifier "device1"
    VendorName "ATI"
    BoardName "ATI Radeon"
    Driver "radeon"
    Screen 0
    BusID "PCI:1:0:0"
    Option "DPMS"
    Option "AGPMode" "2"
#    Option "CloneDisplay" "2"
EndSection

Section "Device"
    Identifier "device2"
    VendorName "ATI Technologies Inc"
    BoardName "ATI Radeon"
    Driver "radeon"
    Screen 1
    BusID "PCI:1:0:0"
#    BusID "PCI:1:0:1"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
#        Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	Virtual 1600 1200
    EndSubsection
    
    Subsection "Display"
        Depth 15
#        Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	Virtual 1600 1200
    EndSubsection
    
    Subsection "Display"
        Depth 16
#        Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	Virtual 1600 1200
    EndSubsection
    
    Subsection "Display"
        Depth 24
#        Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	Virtual 1600 1200
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen2"
    Device "device2"
    Monitor "monitor2"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
#        Modes "1024x768" "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "800x600" "640x480"
	Virtual 1280 1024
    EndSubsection
    
    Subsection "Display"
        Depth 15
#        Modes "1024x768" "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "800x600" "640x480"
	Virtual 1280 1024
    EndSubsection
    
    Subsection "Display"
        Depth 16
#        Modes "1024x768" "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "800x600" "640x480"
	Virtual 1280 1024
    EndSubsection
    
    Subsection "Display"
        Depth 24
#        Modes "1024x768" "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "800x600" "640x480"
	Virtual 1280 1024
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice	"Mouse[0]" 	"CorePointer"
#   InputDevice	"Mouse[1]" 	"SendCoreEvents"
    InputDevice    "LIRC-Mouse"
    Option "Xinerama" "on"
    Screen 0 "screen1" 0 0
    Screen 1 "screen2" RightOf "screen1"
#    Screen "screen1"
#   Screen 0 "screen1"
EndSection

Section "DRI"
  Group  	"video"
  Mode   	0666
EndSection