#Section "ServerFlags"
#       Option "XkbDisable" "true"
#EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc/"
	FontPath     "/usr/share/fonts/X11/TTF/"
	FontPath     "/usr/share/fonts/X11/OTF"
	FontPath     "/usr/share/fonts/X11/Type1/"
	FontPath     "/usr/share/fonts/X11/CID/"
	FontPath     "/usr/share/fonts/X11/100dpi/"
	FontPath     "/usr/share/fonts/X11/75dpi/"
EndSection

Section "Module"
	Load  "extmod"
	Load  "dbe"
	Load  "dri"
	Load  "glx"
	Load  "record"
	Load  "xtr"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"
#       Option "XkbVariant" "variants"
#       Option "XkbOptions" "options"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
	Option	    "SendCoreEvents"
EndSection

Section "InputDevice"
  Driver	"synaptics"
  Identifier	"Touchpad"
  Option	"Device"	"/dev/psaux"
  Option	"Protocol"	"auto-dev"

  Option	"SHMConfig"	"on"

# Option    "LeftEdge"             "1900"
  Option    "RightEdge"            "5500" 	# 5400
# Option    "TopEdge"              "1900"
  Option    "BottomEdge"           "4500" 	# 4000
# Option    "FingerLow"            "25"
  Option    "FingerHigh"           "40" 		# 30
# Option    "MaxTapTime"           "180"
  Option    "MaxTapMove"           "300"		# 220
# Option    "MaxDoubleTapTime"     "180"
  Option    "SingleTapTimeout"     "1"		# 180
  Option    "ClickTime"            "10" 		# 100
  Option    "FastTaps"             "1"		# 0
  Option    "EmulateMidButtonTime" "100"		# 75
# Option    "VertScrollDelta"      "100"
# Option    "HorizScrollDelta"     "100"
# Option    "VertEdgeScroll"       "1"
# Option    "HorizEdgeScroll"      "1"
# Option    "VertTwoFingerScroll"  "0"
# Option    "HorizTwoFingerScroll" "0"
# Option    "MinSpeed"             "0.09"
# Option    "MaxSpeed"             "0.18"
# Option    "AccelFactor"          "0.0015"
# Option    "EdgeMotionMinZ"       "30"
# Option    "EdgeMotionMaxZ"       "160"
# Option    "EdgeMotionMinSpeed"   "1"
# Option    "EdgeMotionMaxSpeed"   "400"
# Option    "EdgeMotionUseAlways"  "0"
# Option    "UpDownScrolling"      "1"
# Option    "LeftRightScrolling"   "1"
# Option    "UpDownRepeat"         "1"
# Option    "LeftRightRepeat"      "1"
# Option    "ScrollButtonRepeat"   "100"
# Option    "TouchpadOff"          "0"
# Option    "GuestMouseOff"        "0"
# Option    "LockedDrags"          "0"
# Option    "RTCornerButton"       "2"
# Option    "RBCornerButton"       "3"
# Option    "LTCornerButton"       "0"
# Option    "LBCornerButton"       "0"
# Option    "TapButton1"           "1"
# Option    "TapButton2"           "2"
# Option    "TapButton3"           "3"
# Option    "CircularScrolling"    "0"
# Option    "CircScrollDelta"      "0.1"
# Option    "CircScrollTrigger"    "0"
# Option    "CircularPad"          "0"
# Option    "PalmDetect"           "1"
# Option    "PalmMinWidth"         "10"
# Option    "PalmMinZ"             "200"
# Option    "CoastingSpeed"        "0"
# Option    "PressureMotionMinZ"   "30"
# Option    "PressureMotionMaxZ"   "160"
# Option    "PressureMotionMinFactor" "1"
# Option    "PressureMotionMaxFactor" "1"



#  Option	"ClickTime"
#  Option	"LeftEdge"      "1700"
#  Option	"RightEdge"     "5300"
#  Option	"TopEdge"       "1700"
#  Option	"BottomEdge"    "4200"
#  Option	"FingerLow"	"25"
#  Option	"FingerHigh"	"30"
#  Option	"MaxTapTime"	"180"
#  Option	"MaxTapMove"	"220"
#  Option	"VertScrollDelta" "100"
#  Option	"MinSpeed"	"0.06"
#  Option	"MaxSpeed"	"0.12"
#  Option	"AccelFactor" "0.0010"
#  Option	"Repeater"	"/dev/ps2mouse"
EndSection
  

Section "Monitor"
	#DisplaySize	  260   160	# mm
	Identifier   "Monitor0"
	VendorName   "AUO"
	ModelName    "3214"
#	VertRefresh 59.969
#	HorizSync 48.935
	# DPMS capabilities: Active off:no  Suspend:no  Standby:no
#	Mode 	"1280x800"	# vfreq 59.969Hz, hfreq 48.935kHz
#		DotClock	68.900000
#		HTimings	1280 1301 1333 1408
#		VTimings	800 804 808 816
#		Flags	"-HSync" "-VSync"
#	EndMode
EndSection

Section "Monitor"
	Identifier   "Laptop"
EndSection
Section "Monitor"
	Identifier   "Dell"
EndSection

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]


Section "Device"
	Identifier  "PipeB"
	Driver      "i810"
	VendorName  "Intel Corporation"
	BoardName   "Mobile Integrated Graphics Controller"
	BusID       "PCI:0:2:0"

	Option      "MonitorLayout" "CRT,LFP"
	Option      "Clone" "off"
	Option 	    "DevicePresence" "on"
EndSection

Section "Device"
	Identifier  "PipeA"
	Driver      "i810"
	VendorName  "Intel Corporation"
	BoardName   "Mobile Integrated Graphics Controller"
	BusID       "PCI:0:2:0"

	Option      "MonitorLayout" "CRT,LFP"
	Option      "Clone" "off"
	Option 	    "DevicePresence" "on"
EndSection

Section "Screen"
	Identifier "Laptop"
	Device     "PipeB"
	Monitor    "Laptop"
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1280x800"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Dell"
	Device     "PipeA"
	Monitor    "Dell"
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1280x1024"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier "DefaultLayout"
	Screen "Laptop"
	Screen "Dell" RightOf "Laptop"

	InputDevice    "Touchpad"    "CorePointer"
	InputDevice    "Mouse0"    
	InputDevice    "Keyboard0" "CoreKeyboard"

EndSection
