Subject: sample XF86Config for Matrox G200
To: None <port-alpha@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: port-alpha
Date: 01/15/2001 09:25:05
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
Section "Files"
    RgbPath	"/usr/X11R6/lib/X11/rgb"

    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

# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
Section "Module"
    Load	"dbe"

    SubSection	"extmod"
	Option	"omit xfree86-dga"
    EndSubSection

    Load	"type1"
    Load	"freetype"
EndSection

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

Section "ServerFlags"
    Option	"NoTrapSignals"
    Option	"blank time"	"10"	# 10 minutes

    Option	"standby time"	"20"
    Option	"suspend time"	"30"
    Option	"off time"	"60"
EndSection

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

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

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"keyboard"

    Option	"AutoRepeat"	"500 50"
EndSection

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

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"

    Option	"Protocol"	"wsmouse"
    Option	"Device"	"/dev/wsmouse0"
EndSection

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

Section "Monitor"
    Identifier	"IBM P260"
    HorizSync	30-121
    VertRefresh 50-160
    Option	"dpms"
EndSection

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

Section "Device"
    Identifier	"MGA G200"
    Driver	"mga"
    #BusID	"PCI:0:9:0"
    #Option	"pci retry"
    VideoRam    16384
EndSection

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

Section "Screen"
    Identifier		"Screen MGA"
    Device		"MGA G200"
    Monitor		"IBM P260"
    #Option		"no accel"
    DefaultDepth	24

    SubSection "Display"
 	Depth		24
	Modes		"1600x1200"
	#Modes		"800x600"
	#Modes		"1024x768"
 	#Modes		"640x480"
    EndSubSection
EndSection