Next: Using PCMCIA Cards Previous: Configuring LILO Up: Table of Contents

6. Configuring XFree86

As of version 3.1.1, the 256 color SVGA server in XFree86 supports the Cirrus Logic 6440 chipset used by the TravelMate 4000M. LCD, CRT and SimulScan (simultaneous LCD+CRT) operation are supported, although I have yet to find how to switch between the different modes under Linux.

I use the following XF86Config file, adapted from one posted to the comp.windows.x.i386 newsgroup which applied to CL6420 chipset-based TravelMates. It works fine.


# $XFree86: xc/programs/Xserver/hw/xfree86/XF86Conf.cpp,v 3.6 1994/09/26 15:30:19 dawes Exp $
#
# Copyright (c) 1994 by The XFree86 Project, Inc.
#
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file. This man page is installed as /usr/X11R6/man/man5/XF86Config.5x
# **********************************************************************

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

    RgbPath     "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    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/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    NoTrapSignals

# Uncomment this to disable the  server abort sequence

#    DontZap

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Keyboard section
# **********************************************************************

Section "Keyboard"

    Protocol    "Standard"

# when using XQUEUE, comment out the above line, and uncomment the
# following line

#    Protocol   "Xqueue"

    AutoRepeat  500 20
    ServerNumLock

# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1))
    Xleds      1 2 3

# To set the LeftAlt to Meta, RightAlt key to ModeShift,
# RightCtl key to Compose, and ScrollLock key to ModeLock:

    LeftAlt     Meta
    RightAlt    ModeShift
    RightCtl    Compose
    ScrollLock  ModeLock

EndSection


# **********************************************************************
# Pointer section
# **********************************************************************

Section "Pointer"

    Protocol    "PS/2"
    Device      "/dev/mouse"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Protocol   "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice

#    BaudRate    9600
#    SampleRate  150

# Emulate3Buttons is an option for 2-button Microsoft mice

    Emulate3Buttons

# ChordMiddle is an option for some 3-button Logitech mice

#    ChordMiddle

EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "LCD Screen"
    VendorName  "Texas Instruments"
    ModelName   "TM4000M DX4/100"

# Bandwidth is in MHz unless units are specified

    Bandwidth   90 # changed from 29

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   31.5

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-70

# Modes can be specified in two formats.  A compact one-line format, or
# a multi-line format.

    Mode "640x480"
        DotClock        25.175
        HTimings        640 664 760 800
        VTimings        480 491 493 525
    EndMode

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    # SVGA CL6440, TI TravelMate 4000M in 256 color mode
    Identifier  "CL6440"
    VendorName  "Cirrus Logic"
    BoardName   "Unknown"
    Chipset     "cl6440"
    VideoRam    1024
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# The colour SVGA server

Section "Screen"
    Driver      "SVGA"
    Device      "CL6440"
    Monitor    "LCD Screen"
    Subsection "Display"
        Depth       8
        Modes       "640x480"
        ViewPort    0 0
       Virtual     1024 768
    EndSubsection
EndSection


HTML document last updated 18 February 1999