# XF86Config (XFree86 server configuration file) generated by Dexter, the
# Debian X Configuration tool, and modified by jdc.
#
# Edit this file with caution, and see the XF86Config-v3 manual page.
# (Type "man XF86Config-v3" at the shell prompt.)

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	"pex5.so"
	Load	"xie.so"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"everex"
	Option		"XkbLayout"	"us"
	Option		"XkbOptions"	"ctrl:nocaps"
EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Protocol"		"PS/2"
	Option		"Device"		"/dev/psaux"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Monitor"
   Identifier      "Primary Monitor"
   VendorName      "Unknown"
   ModelName       "Unknown"
   HorizSync       31.5-57.0
   VertRefresh     50-90
# NOTE:  I believe that this is ignored for a tft screen.  Doesn't make
# a difference whether I include it or not.
#Modeline  "1024x768"   75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
EndSection

Section "Device"
   Identifier      "Primary Card"
   VendorName      "Unknown"
   BoardName       "Chips & Technologies CT65555"
   Driver          "chips"
# Without this line, new X server thinks I have a ct69000.
   Chipset         "ct65555"
   VideoRam        2048
# Tried these four:
#Option	   "NoAccel"
#Option "no_MMIO"
#Option "no_bitblt"
#Option "use_vclk1"
EndSection

Section "Screen"
   Identifier	"Default Screen"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   DefaultColorDepth 16
   DefaultDepth 16
   SubSection "Display"
      Depth        8
      Modes        "1024x768"
   EndSubSection
   SubSection "Display"
      Depth        15
      Modes        "1024x768"
   EndSubSection
   SubSection "Display"
      Depth        16
      Modes        "1024x768"
   EndSubSection
   SubSection "Display"
      Depth        24
      Modes        "1024x768"
   EndSubSection
   SubSection "Display"
      Depth        32
      Modes        "1024x768"
   EndSubSection
EndSection

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