# generic XFree86 4.x configuration file

Section "Files"
  FontPath		"/usr/X11R6/lib/X11/fonts/truetype/"
  FontPath		"/usr/X11R6/lib/X11/fonts/URW/"
  FontPath		"/usr/X11R6/lib/X11/fonts/uni/"
  FontPath		"/usr/X11R6/lib/X11/fonts/misc/"
  ModulePath	"/usr/X11R6/lib64/modules"
  RgbPath		"/usr/X11R6/lib/X11/rgb"
  InputDevices	"/dev/ttyS0"
  InputDevices	"/dev/ttyS1"
  InputDevices	"/dev/ttyS2"
  InputDevices	"/dev/ttyS3"
  InputDevices	"/dev/ttyS4"
  InputDevices	"/dev/ttyS5"
  InputDevices	"/dev/ttyS6"
  InputDevices	"/dev/ttyS7"
  InputDevices	"/dev/ttyS8"
  InputDevices	"/dev/psaux"
  InputDevices	"/dev/logibm"
  InputDevices	"/dev/sunmouse"
  InputDevices	"/dev/atibm"
  InputDevices	"/dev/amigamouse"
  InputDevices	"/dev/atarimouse"
  InputDevices	"/dev/inportbm"
  InputDevices	"/dev/gpmdata"
  InputDevices	"/dev/usbmouse"
  InputDevices	"/dev/adbmouse"
  InputDevices	"/dev/input/mice"
  InputDevices	"/dev/input/event0"
EndSection

Section "ServerFlags"
  Option	"AllowMouseOpenFail"
  Option	"BlankTime"	"0"
EndSection

Section "Module"
  Load	"dbe"
  Load	"extmod"
  Load	"glx"
EndSection

Section "InputDevice"
  Driver		"kbd"
  Identifier	"Keyboard[0]"
  Option		"Protocol"		"Standard"
  Option		"XkbRules"		"xfree86"
  Option		"XkbKeycodes"	"xfree86"
  Option		"XkbModel"		"pc104"
  Option		"XkbLayout"		"us"
EndSection

Section "InputDevice"
  Driver     "mouse"
  Identifier "Mouse[1]"
  Option     "Protocol" "explorerps/2"
  Option     "Device"   "/dev/input/mice"
  Option     "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  HorizSync		25-40	
  Identifier	"Monitor[0]"
  ModelName		"Initial"
  VendorName	"Initial"
  VertRefresh	47-75
  UseModes		"Modes[0]"
EndSection


Section "Modes"
  Identifier	"Modes[0]"
  Modeline		"640x480" 31.5   640 656 720 840 480 481 484 500 # 6. Try
  Modeline		"640x480" 31.5   640 680 720 864 480 488 491 521 # 5. Try
  Modeline		"640x480" 28     640 664 760 800 480 491 493 525 # 4. Try
  Modeline		"640x480" 28.32  640 664 760 800 480 491 493 525 # 3. Try
  Modeline		"640x480" 25.18  640 664 760 800 480 491 493 525 # 2. Try
  Modeline		"640x480" 25.175 640 664 760 800 480 491 493 525 # 1. Try
EndSection

Section "Monitor"
  HorizSync		28-33
  Identifier	"Monitor[vmware]"
  ModelName		"Initial"
  VendorName	"Initial"
  VertRefresh	43-72
  UseModes		"Modes[vmware]"
EndSection
    
Section "Modes"
  Identifier	"Modes[vmware]"
  Modeline		"800x600" 29.38 800 816 896 992 600 601 604 617
EndSection

Section "Monitor"
  HorizSync		31-48
  Identifier	"Monitor[vesa]"
  ModelName		"VESA"
  VendorName	"VESA"
  VertRefresh	50-60
EndSection

# Screen Section for module X support
# -------------------------------------
Section "Screen"
  SubSection "Display"
    Depth		16
    Modes		"800x600" 
  EndSubSection
  SubSection "Display"
    Depth		24
    Modes		"800x600" 
  EndSubSection
  SubSection "Display"
    Depth		32
    Modes		"800x600" 
  EndSubSection
  SubSection "Display"
    Depth		8
    Modes		"800x600" 
  EndSubSection
  Device		"Device[0]"
  Identifier	"Screen[0]"
  Monitor		"Monitor[0]"
EndSection

# Screen Section for fbdev support
# ----------------------------------
Section "Screen"
  SubSection "Display"
    Depth		16
    Modes		"default"            
  EndSubSection
  SubSection "Display"
    Depth		15
    Modes		"default"            
  EndSubSection
  SubSection "Display"
    Depth		15
    Modes		"default"            
  EndSubSection
  SubSection "Display"
    Depth		24
    Modes		"default"  
  EndSubSection
  SubSection "Display"
    Depth		32
    Modes		"default"  
  EndSubSection
  SubSection "Display"
    Depth		8
    Modes		"default"  
  EndSubSection
  Device		"Device[fbdev]"
  Identifier	"Screen[fbdev]"
  Monitor		"Monitor[0]"
EndSection

# Screen Section for vesa support
# ----------------------------------
Section "Screen"
  SubSection "Display"
    Depth		16
    Modes		"default"            
  EndSubSection
  SubSection "Display"
    Depth		8
    Modes		"default"  
  EndSubSection
  Device		"Device[vesa]"
  Identifier	"Screen[vesa]"
  Monitor       "Monitor[vesa]"
EndSection

# Screen Section for vmware support
# ----------------------------------
Section "Screen"
  SubSection "Display"
    Depth		8
    Modes		"800x600"
  EndSubSection
  SubSection "Display"
    Depth		16
    Modes		"800x600"
  EndSubSection
  SubSection "Display"
    Depth		24
    Modes		"800x600"
  EndSubSection
  Device		"Device[vmware]"
  Identifier	"Screen[vmware]"
  Monitor		"Monitor[vmware]"
EndSection

# Device Sections...
# -------------------
Section "Device"
  Driver		"ChangeMe"
  Identifier	"Device[0]"
  BusID		"0:2:0"
  # device_options
  Option		"sw_cursor"	"on"
EndSection

Section "Device"
  Driver		"fbdev"
  Identifier	"Device[fbdev]"
  BusID		"0:2:0"
  # fbdev_options
  Option		"ShadowFB"	"off"
EndSection

Section "Device"
  Driver		"vesa"
  #Option        "DefaultRefresh"
  Identifier	"Device[vesa]"
EndSection

Section "Device"
  Driver		"vmware"
  Identifier	"Device[vmware]"
EndSection

Section "ServerLayout"
  Identifier	"Layout[all]"
  InputDevice	"Keyboard[0]"	"CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option		"Xinerama"		"off"
  Screen   "Screen[fbdev]"
EndSection

