#
# Devices
#

Section "Device"
	### Available Driver options are:-
	# sw_cursor is needed for some ati and radeon cards
	#Option     "sw_cursor"
	#Option     "hw_cursor"
	#Option     "NoAccel"
	#Option     "ShowCache"
	#Option     "ShadowFB"
	#Option     "UseFBDev"
	#Option     "Rotate"
#	Option     "MonitorLayout" "TMDS-1, VGA"
	Identifier  "Card0"
	# The following line is auto-generated by x11-misc/mkxf86config
	Driver      "intel"
	VendorName  "All"
	BoardName   "All"

	# Driver Options
	Option "AccelMethod" "UXA"
#	Option "AccelMethod" "EXA"

#	Option "TripleBuffer" "true"
	
#	Option "AperTexSize" "131072"
#	Option "XvMCSurfaces" "7"

        Option      "monitor-TMDS-1" "SamsungMonitor"
#	Option	    "monitor-VGA"    "AcerMonitor"
EndSection



#
# Widescreen Monitors
#


# Main monitor
Section "Monitor"
	Identifier "SamsungMonitor"
	Option "dpms"
EndSection

# Secondary Monitor
# Section "Monitor"

#     Identifier  "AcerMonitor"

#     # via http://eccentric.cx/wordpress/?p=112
#     HorizSync 30-82
#     VertRefresh 56-76
#     Modeline "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932 -HSync +VSync
#     Option "dpms"

#     # By default start turned off
#     Option "Enable" "false"

#     # The ignore allows the TMDS-1 monitor to select it's ideal res
#     # but the VGA still comes on. 
#     # Option "Ignore" "true"
    
#     # And it's on my left
#     Option "LeftOf"  "SamsungMonitor"
    
# EndSection

# Screens, one main, one secondry
Section "Screen"
	Identifier	"ScreenMain"
	Device	"Card0"
	Monitor	"SamsungMonitor"
	DefaultColorDepth 24

	Subsection "Display"
      	    Depth 24
	    Modes "1680x1050"
#	    Virtual 3120 1440
# If you want DRI you have to have this, if you go multi-screen expand the virtual buffer
	    Virtual 1680 1050
	EndSubsection
EndSection

Section "ServerLayout"
	Identifier	"X.Org Configured"
	Screen	0	"ScreenMain" 0 0
	InputDevice	"Keyboard0" "CoreKeyboard"
	InputDevice	"PS/2 Mouse" "AlwaysCore"
	InputDevice	"USB Mouse" "AlwaysCore"
EndSection

Section "ServerFlags"
#	Option	"AllowMouseOpenFail" "false"
	
EndSection

Section "Files"
	FontPath	"/usr/share/fonts/util"
	FontPath	"/usr/share/fonts/encodings"
	FontPath	"/usr/share/fonts/misc"
	FontPath	"/usr/share/fonts/local"
#	FontPath	"/usr/share/fonts/terminus"
	FontPath	"/usr/share/fonts/corefonts"
#	FontPath	"/usr/local/share/fonts"
#	FontPath	"/usr/share/fonts/default"
	FontPath	"/usr/share/fonts/100dpi"
	FontPath	"/usr/share/fonts/75dpi"
#	FontPath	"/usr/share/fonts/shinonome"
#	FontPath	"/usr/share/fonts/baekmuk-fonts"
#	FontPath	"/usr/share/fonts/unfonts"
	FontPath	"/usr/share/fonts/default/ghostscript"
EndSection

Section "Module"
	Load	"ddc"
	Load	"vbe"
	Load	"GLcore"
	Load	"dbe"
	Load	"dri"
	Load	"extmod"
	Load	"glx"
	Load	"bitmap"
#	Load	"type1"
	Load	"freetype"
	Load	"record"
EndSection


Section "Extensions"
        Option "Composite" "Enable"
EndSection
	
Section "InputDevice"
	Identifier	"Keyboard0"
	Driver	"kbd"
	Option	"CoreKeyboard"
	Option	"XkbRules" "xorg"
	Option	"XkbModel" "pc105"
#	Option	"XkbOptions" "grp:toggle,grp_led:scroll"
	Option	"XkbVariant" ",winkeys"
#	Option	"XkbLayout" "uk"
EndSection

Section "InputDevice"
	Identifier	"Serial Mouse"
	Driver	"mouse"
	Option	"Protocol" "Microsoft"
	Option	"Device" "/dev/ttyS0"
	Option	"Emulate3Buttons" "true"
	Option	"Emulate3Timeout" "70"
	Option	"SendCoreEvents"  "true"
EndSection

Section "InputDevice"
	Identifier	"PS/2 Mouse"
	Driver	"mouse"
	Option	"Protocol" "IMPS/2"
	Option	"Device" "/dev/misc/psaux"
	Option	"Emulate3Buttons" "true"
	Option	"Emulate3Timeout" "70"
	Option	"SendCoreEvents"  "true"
	Option	"ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
	Identifier	"USB Mouse"
	Driver	"mouse"
	Option	"Device" "/dev/input/mice"
	Option	"SendCoreEvents" "true"
	Option	"Protocol" "IMPS/2"
	Option	"ZAxisMapping" "4 5"
	Option	"Buttons" "5"
EndSection

# Auto-generated by mkxf86config



Section "DRI"
	Mode 0666
EndSection
