# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "Files"
	FontPath	"unix/:7110"			# 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/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 "ServerFlags"
#	Option "AllowMouseOpenFail"
#	Option "DisableVidModeExtension"
#	Option "noPM"
#	DPMS not needed on my machine (KDE does this)
	Option "BlankTime"   "99999"
	Option "StandbyTime" "99999"
	Option "SuspendTime" "99999"
	Option "OffTime"     "99999"
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		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"es"
#	Option 		"XkbVariant" 	"nodeadkeys"
EndSection

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

# Segundo raton (Conectado al puerto serie)
# Descomentar si fuera menester
#Section "InputDevice"
#	Identifier	"Serial Mouse"
#	Driver		"mouse"
#	Option		"CorePointer" # linea nueva
#	Option		"SendCoreEvents"	"true"
#	Option		"Device"		"/dev/ttyS0"
#	Option		"Protocol"		"Microsoft"
#	Option		"Emulate3Buttons"
#	Option		"Emulate3Timeout" "50"
#	Option		"ZAxisMapping"		"4 5"
#EndSection

# fbdev setup ---- start

#Section "Device"
#	Identifier	"Generic Video Card"
#	Driver		"fbdev"
#	Option		"UseFBDev"		"true"
##	Option		"fbdev"			"/dev/fb7"
##	Screen 0
#EndSection
#
#Section "Monitor"
#	Identifier	"Generic Monitor"
#	HorizSync	30-70
#	VertRefresh	50-160
##	Option		"DPMS"
#EndSection
#
#Section "Screen"
#	Identifier	"screen1"
#	Device		"Generic Video Card"
#	Monitor		"Generic Monitor"
#	Subsection "Display"
#		Depth		16
#		Modes		"1024x768" "800x600" "640x480"
#	EndSubSection
#EndSection

# fbdev setup ---- end

# new sis - patched driver
Section "Monitor"
	Identifier   "Generic|Generic LCD Panel 1024x768"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	VertRefresh  50-60
	HorizSync    30.0-90.0
        Option       "NoDDC"
EndSection

Section "Device"
## Available Driver options are:-
       #Option     "SWcursor"
        Option     "HWcursor"
       #Option     "PciRetry"
       #Option     "rgbbits"
       #Option     "NoAccel"
       # TurboQueue freezes X when switching back from VT, therefore disable it
       Option     "TurboQueue" "false"
       #Option     "SetMClk"
        Option     "FastVram"
        Option     "ForceCRT2Type" "LCD"
#       Option for Stuart Young's Patch (members.optushome.com.au/cefiar1/sis_drv.o)
#	Option     "VesaFBHack" "true"
	Identifier  "SiS 630"
	Driver      "sis"
	VendorName  "SiS"
	BoardName   "630"
#	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "screen1"
	Device     "SiS 630"
	Monitor    "Generic|Generic LCD Panel 1024x768"
	DefaultDepth 16
	SubSection "Display"
		Depth     16
		Modes     "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

# new sis setup ------- end

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"screen1"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
# Segundo raton (SERIE). Descomentar si fuera menester
#	InputDevice	"Serial Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

# end of XF86Config
