#
# 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/wskbd"

#    Option	"AutoRepeat"	"500 5"
    Option	"XkbRules"	"xfree86"
    Option	"XkbModel"	"macintosh"
    Option	"XkbLayout"	"us"
    Option	"XkbVariant"	"us"
EndSection


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

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option	"Protocol"	"wsmouse"
    Option	"Device"	"/dev/wsmouse"
    Option      "Buttons"       "6"
    Option      "ZAxisMapping"  "4 5"
EndSection

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

# Any number of monitor sections may be present

Section "Monitor"
    Identifier	"Dell 2000FP"
    HorizSync	31-80
    VertRefresh	56-76
    Option	"dpms"
    Gamma 0.7
EndSection

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

Section "Device"
#    Chipset	"ati"
    Identifier	"ATI Rage 128"
    Driver	"r128"
    BusID	"PCI:0:16:0"
#    Option	"noaccel"
EndSection

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

Section "Screen"
    Identifier		"Screen1"
    Device		"ATI Rage 128"
    Monitor		"Dell 2000FP"

# XXX 24bpp is broken (wrong colors)

#   DefaultDepth	8
   DefaultDepth	16
#   DefaultDepth	24
#   DefaultDepth	32

    SubSection "Display"
	Depth		8
	Modes		"1600x1200" "1280x1024" "1024x768"
    EndSubSection
    SubSection "Display"
	Depth		16
	Modes		"1600x1200" "1280x1024" "1024x768"
    EndSubSection
    SubSection "Display"
	Depth		24
	Modes		"1600x1200" "1280x1024" "1024x768"
    EndSubSection
    SubSection "Display"
	Depth		32
	Modes		"1600x1200" "1280x1024" "1024x768"
    EndSubSection
EndSection


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

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