# XF86Config for IBM ThinkPad 535 on XFree86-3.1.2G (800x600/640x480)
Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
    ModulePath  "/usr/X11R6/lib/modules"
EndSection


Section "Keyboard"
    Protocol    "Standard"
    AutoRepeat  300 10
    RightAlt    ModeShift
    RightCtl    Compose
    XkbDisable
#    XkbKeymap   "xfree86(us)"
EndSection


Section "Pointer"
    Protocol    "PS/2"
    Device      "/dev/psm0"
    Emulate3Buttons
    Emulate3Timeout    50
EndSection


Section "Monitor"
    Identifier  "ThinkPad535"
    VendorName  "IBM"
    ModelName   "10.1LCD"
    HorizSync   30-64         # multisync
    VertRefresh 50-90

Modeline "320x240"     15.750 320  336  384  400   240  244  246  262 Doublescan
Modeline "640x480"     31.5   640  680  720  864   480  488  491  521
Modeline "800x600"     40     800  840  968 1056   600  601  605  628 +hsync +vsync
# Modeline "1024x768"    44.9  1024 1048 1208 1264   768  776  784  817 Interlace

EndSection


Section "Device"
    Identifier  "Generic VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Chipset     "generic"
EndSection

Section "Device"
    Identifier	"tgui9320lcd"
    VendorName	"Trident"
    BoardName	"ThinkPad"
    Chipset	"tgui9320lcd"
    ClockChip	"tgui"
#    Option	"nolinear"
#    VideoRam	1024
#    Option	"slow_dram"
#    Option	"med_dram"
    Option	"fast_dram"
#    Option  "tgui_pci_read_on"
    Option  "tgui_pci_write_off"
EndSection


Section "Screen"
    Driver      "svga"
    Device      "tgui9320lcd"
    Monitor     "ThinkPad535"
    Subsection "Display"
        Depth       8
        Modes       "800x600"  "640x480"
        ViewPort    0 0
        Virtual     1152 900
    EndSubsection
EndSection


Section "Screen"
    Driver      "vga16"
    Device      "Generic VGA"
    Monitor     "ThinkPad535"
    Subsection "Display"
        Modes       "800x600" "640x480"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection
