# XF86Config auto-generated by XF86Setup
#
# Copyright (c) 1996 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
"Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#
# See 'man XF86Config' for info on the format of this file

Section "Files"
   RgbPath    "/usr/X11R6/lib/X11/rgb"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc/,
               /usr/X11R6/lib/X11/fonts/75dpi/:unscaled,
               /usr/X11R6/lib/X11/fonts/100dpi/:unscaled,
               /usr/X11R6/lib/X11/fonts/Type1/,
               /usr/X11R6/lib/X11/fonts/Speedo/,
               /usr/X11R6/lib/X11/fonts/75dpi/,
               /usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "ServerFlags"
EndSection

Section "Keyboard"
   Protocol        "Standard"
   AutoRepeat      500 5
   LeftAlt         Meta
   RightAlt        ModeShift
   ScrollLock      Compose
   RightCtl        Control
   XkbKeycodes     "xfree86"
   XkbTypes        "default"
   XkbCompat       "default"
   XkbSymbols      "us(pc101)"
   XkbGeometry     "pc"
   XkbRules        "xfree86"
   XkbModel        "jp106"
   XkbLayout       "jp"
EndSection

Section "Pointer"
   Protocol        "PS/2"
   Device          "/dev/psm0"
   BaudRate        1200
   Emulate3Timeout 50
   SampleRate      0
   Emulate3Buttons
EndSection

Section "Monitor"
   Identifier      "TFT_VGA"
   VendorName      "Toshiba"
   ModelName       "Tecra500CT/1.3"
   HorizSync       31.5-50
   VertRefresh     55-90

# 640x480 @ 60 Hz, 31.5 kHz hsync
Modeline "640x480"       25.175 640  664  760  800   480  491  493  525
Modeline "640x480@24bpp" 25.175 640  664  760  800   480  491  493  525
Modeline "640x480@16bpp" 25.175 640  664  760  800   480  491  493  525

# 800x600 @ 56 Hz, 35.15 kHz hsync
MOdeline "800x600"       36   800  824  896  1024  600  601  603  625
Modeline "800x600@24bpp" 36   800  824  896  1024  600  601  603  625 
Modeline "800x600@16bpp" 36   800  824  896  1024  600  601  603  625

# 640x480 @ 72 Hz, 36.5 kHz hsync
Modeline "640x480"       31.5 640  680  720  864   480  488  491  521
Modeline "640x480@24bpp" 31.5 640  680  720  864   480  488  491  521
Modeline "640x480@16bpp" 31.5 640  680  720  864   480  488  491  521

# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline "800x600"       40   800  840  968 1056   600  601  605  628
+hsync +vsync
Modeline "800x600@24bpp" 40   800  840  968 1056   600  601  605  628
+hsync +vsync
Modeline "800x600@16bpp" 40   800  840  968 1056   600  601  605  628
+hsync +vsync

# 800x600 @ 72 Hz, 48.0 kHz hsync
Modeline "800x600"       50   800  856  976 1040   600  637  643  666
+hsync +vsync
Modeline "800x600@24bpp" 50   800  856  976 1040   600  637  643  666
+hsync +vsync
Modeline "800x600@16bpp" 50   800  856  976 1040   600  637  643  666
+hsync +vsync

EndSection

Section "Device"
   Identifier      "Generic VGA"
   VendorName      "Unknown"
   BoardName       "Unknown"
   Chipset         "generic"
   Clocks          25.2 28.3 
   VideoRam        256
EndSection

Section "Device"
   Identifier      "CT65550"
   VendorName      "Chips & Technologies"
   BoardName       "65550"
   Chipset         "ct65550"
   Option          "ext_fram_buf"
   Option          "noaccel"
   Option          "no_bitblt"
   Option          "use_modeline"
   VideoRam        2048
#  Option          "no_imageblt"
#  Option          "sw_cursor"
#  Option          "sync_on_green"
#  Textclockfreq   25.175
#  Option          "nolinear"
#  MemBase         0x03b00000
#  Device section for C&T cards.
#  Option          "suspend_hack"
#  Option          "STN"
#  Option          "no_stretch"
#  Option          "no_center"
#  Option          "fix_panel_size"
#  videoram        512
EndSection

Section "Screen"
   Driver          "Accel"
   Device          "CT65550"
   Monitor         "TFT_VGA"
   BlankTime       0
   SuspendTime     15
   OffTime         30
   Subsection "Display"
        Modes       "800x600@24bpp" "640x480@24bpp" 
        ViewPort    0 0
        Virtual     800 600
   EndSubsection
EndSection

Section "Screen"
   Driver          "VGA2"
   Device          "Generic VGA"
   Monitor         "TFT_VGA"
   BlankTime       0
   SuspendTime     15
   OffTime         30
   SubSection "Display"
      Depth        1
      Modes        "800x600" "640x480"
      Virtual       800 600
      ViewPort     0 0
   EndSubSection
EndSection

Section "Screen"
   Driver          "VGA16"
   Device          "Generic VGA"
   Monitor         "TFT_VGA"
   BlankTime       0
   SuspendTime     15
   OffTime         30
   SubSection "Display"
      Depth        4
      Modes        "800x600" "640x480"
      Virtual       800 600
      ViewPort     0 0
   EndSubSection
EndSection

Section "Screen"
   Driver          "SVGA"
   Device          "CT65550"
   Monitor         "TFT_VGA"
   BlankTime       0
   SuspendTime     15
   OffTime         30
   Subsection "Display"
        Modes       "800x600@24bpp" "640x480@24bpp" 
        ViewPort    0 0
        Virtual     800 600
   EndSubsection
EndSection
