# XFree86 server configuration file

Section "ServerLayout"
	Identifier	"T40 Layout"
	Screen		"Screen 0"
	InputDevice	"Generic Keyboard" "CoreKeyboard"
	InputDevice	"Synaptics Touchpad" "CorePointer"
	InputDevice	"Mouse0" "AlwaysCore"
EndSection

#Section "ServerLayout"
#	Identifier     "dual"
#	Screen		"Screen 0" 0 0
#	Screen		"Screen 1" RightOf "Screen 0"
#	Option		"Xinerama" "true"
#	InputDevice	"Generic Keyboard" "CoreKeyboard"
#	InputDevice	"Synaptics Touchpad" "CorePointer"
#	InputDevice	"Mouse0" "AlwaysCore"
#EndSection


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 "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
	FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	ModulePath	"/usr/X11R6/lib/modules"
EndSection


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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"

#	Option		"XkbModel"	"pc101"
#	Option		"XkbLayout"	"de_CH-latin1"

	Option       "XkbKeyCodes" "xfree86"
	Option       "XkbLayout" "de_CH"
	Option       "XkbModel" "pc104"

	Option       "XkbVariant" "nodeadkeys"
EndSection


# The touchpad:
Section "InputDevice"
	Driver "synaptics"
	Identifier "Synaptics Touchpad"
	Option "Device" "/dev/psaux"
	Option "Protocol" "auto-dev"
	Option "LeftEdge" "1700"
	Option "RightEdge" "5300"
	Option "TopEdge" "1700"
	Option "BottomEdge" "4200"
	Option "FingerLow" "25"
	Option "FingerHigh" "30"
	Option "MaxTapTime" "0"
	Option "MaxTapMove" "220"
	Option "VertScrollDelta" "100"
	Option "MinSpeed" "0.08"
	Option "MaxSpeed" "0.15"
	Option "AccelFactor" "0.0015"
	Option "SHMConfig" "on"
EndSection 


# The Track Pointer (little red knop in your keyboard)
Section "InputDevice"
	Identifier "Mouse0"
	Driver "mouse"
	Option "Protocol" "IMPS/2"
	Option "Device" "/dev/input/mice"
	Option "Emulate3Buttons" "off"
	Option "ZAxisMapping" "4 5"
EndSection 


#Section "InputDevice"
#	Identifier	"Configured Mouse"
#	Driver		"mouse"
#	Option		"CorePointer"
#	Option		"Device"		"/dev/psaux"
#	Option		"Protocol"		"PS/2"
#EndSection

Section "Device"
	Identifier	"ATI Radeon Mobility 9000"
	Driver		"radeon"
	Screen		0
	Option          "AGPMode" "1"
	BusID		"PCI:1:0:0"
EndSection

#Section "Device"
#	Identifier	"ATI Radeon Mobility 9000 Belinea"
#	Driver		"radeon"
#	Screen		1
#	Option          "AGPMode" "1"
#	BusID		"PCI:1:0:0"
#EndSection

Section "Monitor"
	Identifier	"IBM ThinkPad LCD"
	HorizSync	30-57
	VertRefresh	43-72
	Option		"DPMS"
EndSection

#Section "Monitor"
#	Identifier  "Belinea 103085"
#	HorizSync   30-86
#	VertRefresh 50-160
#EndSection

#Section "Monitor"
#    Identifier  "Belinea 106065"
#    HorizSync   30-96
#    VertRefresh 50-160
#    #Option  "DPMS"
#    # 1280x1024 @ 87Hz
#    Modeline "1280x1024" 157 1280 1320 1432 1688 1024 1025 1028 1066 -hsync -vsync
#EndSection

Section "Screen"
	Identifier	"Screen 0"
	Device		"ATI Radeon Mobility 9000"
	Monitor		"IBM ThinkPad LCD"
	DefaultDepth	24
	SubSection "Display"
		Depth		15
		Modes		"1400x1050"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1400x1050"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1400x1050"
	EndSubSection
EndSection

#Section "Screen"
#	Identifier   "Screen 1"
#	Device       "ATI Radeon Mobility 9000 Belinea"
#	Monitor      "Belinea 106065"
#	DefaultDepth 16
#	SubSection "Display"
#		Depth      15
#		Modes      "1280x1024"
#	EndSubSection
#	SubSection "Display"
#		Depth      16
#		Modes      "1280x1024"
#	EndSubSection
#	SubSection "Display"
#		Depth      24
#		Modes      "1280x1024"
#	EndSubSection
#	SubSection "Display"
#		Depth      32
#		Modes      "1280x1024"
#	EndSubSection
#	SubSection "Display"
#		Depth      8
#		Modes      "1280x1024""
#	EndSubSection
#EndSection

#Section "Screen"
#	Identifier "Screen 1"
#	Device       "ATI Radeon Mobility 9000 Belinea"
#	Monitor      "Belinea 103085"
#	DefaultColorDepth 24
#	SubSection "Display"
#		Depth     24
#		Modes "1152x864" "1024x768" "800x600" "640x480"
#	EndSubSection
#EndSection

Section "DRI"
	Mode	0666
EndSection

# end of XF86Config

