# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"intel"
	VideoRam	32768
	BusID		"0:2:0"
#	Option		"Config/1/General/PortDrivers"	"sii164 ch7009"
	Option		"PortDrivers"	"sii164 ch7009"

	Option		"PcfVersion"	"1024"
	Option		"Config/1/name"	"Linux"
#	Option		"Config/1/General/PortOrder"	"5230"
	Option		"Config/1/General/PortOrder"	"3250"
	Option		"Config/1/General/DisplayConfig"	"2"
	Option		"Config/1/General/DisplayDetect"	"1"
	Option		"Config/1/General/CloneDisplay"		"1"

	Option		"Config/1/Port/5/name"	"CRT"
	Option		"Config/1/Port/5/General/EdidAvail"	"3"
	Option		"Config/1/Port/5/General/EdidNotAvail"	"1"
	Option		"Config/1/Port/5/General/Rotation"	"0"
	Option		"Config/1/Port/5/General/Edid"		"1"

	Option		"Config/1/Port/2/name"	"DVO-B"
	Option		"Config/1/Port/2/General/EdidAvail"	"3"
	Option		"Config/1/Port/2/General/EdidNotAvail"	"1"
	Option		"Config/1/Port/2/General/Rotation"	"0"
	Option		"Config/1/Port/2/General/Edid"		"1"
	Option		"Config/1/Port/2/FpInfo/Width"		"0"
	Option		"Config/1/Port/2/FpInfo/Height"		"0"

	Option		"Config/1/Port/3/name"	"DVO-C"
	Option		"Config/1/Port/3/General/EdidAvail"	"3"
	Option		"Config/1/Port/3/General/EdidNotAvail"	"1"
	Option		"Config/1/Port/3/General/Rotation"	"0"
	Option		"Config/1/Port/3/General/Edid"		"1"
	Option		"Config/1/Port/3/FpInfo/Width"		"0"
	Option		"Config/1/Port/3/FpInfo/Height"		"0"



EndSection

#Section "Device"
#	Identifier	"Generic Video Card"
#	Driver		"vesa"
#EndSection

Section "Monitor"
	Identifier	"LVM-37w3"
	HorizSync	30-80
	VertRefresh	50-70
	Option		"DPMS"
	# 57 Hz
#	ModeLine     "1080p" 131.25 1920 1968 2000 2080 1080 1083 1088 1110 +hsync -vsync
	Modeline "1920x1080"  138.50  1920 1967 1999 2079  1080 1081 1086 1110 +hsync
#	Modeline	"1080p" 148.352 1920 1968 2000 2080 1080 1082 1087 1111 +hsync -vsync
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"LVM-37w3"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		#Modes		
#		Modes		"1024x768"
		Modes		"1920x1080"
		Modes		"1080p"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
