# XFree86 config file for Toshiba Libretto L5, dual-head display
# WARNING: sets keyboard to Dvorak

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/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"	"pc101"
	Option		"XkbLayout"	"dvorak"
EndSection

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

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

Section "Device"
	Identifier	"ATI Radeon Mobility M6"
	Driver		"radeon"
	BusID		"PCI:0:4:0"
	Screen		0
EndSection

Section "Device"
	Identifier	"ATI Radeon Mobility M6 external"
	Driver		"radeon"
	BusID		"PCI:0:4:0"
	Screen		1
	Option		"CrtScreen"
EndSection

Section "Monitor"
	Identifier	"internal LCD"
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"external CRT"
	HorizSync	31-65
	VertRefresh	43-72
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"ATI Radeon Mobility M6"
	Monitor		"internal LCD"
	DefaultDepth	16
	SubSection "Display"
		Depth		16
	EndSubSection
	SubSection "Display"
		Depth		24
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen1"
	Device		"ATI Radeon Mobility M6 external"
	Monitor		"external CRT"
	DefaultDepth	16
	SubSection "Display"
		Depth		16
		#Modes		"800x600"
		Modes		"1024x768"
		#Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		24
		#Modes		"800x600"
		Modes		"1024x768"
		#Modes		"1280x1024"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		0	"Screen0" 0 0
	Screen		1	"Screen1" RightOf "Screen0"
	Option		"xinerama"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Generic Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
