#
# XF86Config example
#

# The ordering of sections is not important in version 4.0 and later.

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
   FontPath    "/usr/X11R6/lib/X11/fonts/local/"
   FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

# **********************************************************************
# Server flags section.  This contains various server-wide Options.
# **********************************************************************

Section "ServerFlags"
   Option      "blank time"    "10"    # 10 minutes
   Option      "standby time"  "20"
   Option      "suspend time"  "30"
   Option      "off time"      "60"

#    Option     "PCI type"      "UniNorth"
#   Option      "PCI type"      "Bandit"
   Option      "PCI type"      "Grackle"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
   Identifier  "Keyboard1"
   Driver      "keyboard"
   Option      "Protocol"      "wskbd"
   Option      "Device"        "/dev/wskbd0"

#    Option     "AutoRepeat"    "500 5"
   Option      "XkbRules"      "xfree86"
#    Option     "XkbModel"      "macusb"
   Option      "XkbModel"      "macadb"
   Option      "XkbLayout"     "us"
#    Option     "XkbVariant"    "altjp"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
   Identifier  "Mouse1"
   Driver      "mouse"
   Option      "Protocol"      "wsmouse"
   Option      "Device"        "/dev/wsmouse0"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
   Identifier  "Generic Monitor"
   HorizSync   27-82         # multisync
   VertRefresh 50-72         # multisync
   Option      "dpms"
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
   Chipset     "mach64"
   Identifier  "Mach64"
   Driver      "ATI"
   BusID       "PCI:0:17:0"
   Option      "noaccel"
EndSection

# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"
   Identifier          "Screen1"
   Device              "Mach64"
   Monitor             "Generic Monitor"

# XXX 24bpp may be broken

#   DefaultDepth        8
   DefaultDepth        16
#   DefaultDepth        24

   SubSection "Display"
       Depth           8
       Modes           "1024x768"
   EndSubSection
   SubSection "Display"
       Depth           16
       Modes           "1024x768"
   EndSubSection
   SubSection "Display"
       Depth           24
       Modes           "1024x768"
   EndSubSection
EndSection


# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
   Identifier  "Main Layout"
   Screen      "Screen1"
   InputDevice "Mouse1"        "CorePointer"
   InputDevice "Keyboard1"     "CoreKeyboard"
EndSection