IBM ThinkPad 755CX -- XF86Config
This is by no means the best possible version of this file. It simply works for my 755CX.
Here is the whole file
# Copyright (c) 1994 by The XFree86 Project, Inc. #
########################################################################
# This config file set up for use with notebook computers having the ###
# WD90C24[A,A2] chipset. If the screen is dual-scan, only 512k of ###
# VRAM will be available for use by X unless you have a workaround ###
# program to set the video ram to 1024k before running X. ###
# Active matrix implementations should not have this problem. ###
# The max. refresh rate at 1024x768NI is roughly 60 Hz. ###
# ###
# These settings are for use only with XFree86 3.1.1. or earlier. ###
# ###
# WARNING: Do not assume your monitor has sufficient bandwidth ###
# to accomodate these settings. Be very careful, especially with ###
# fixed-frequency monitors. I cannot be responsible for damages ###
# caused by use of this file or other information provided here. ###
########################################################################
#
# **********************************************************************
# 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 5
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 "Sharp"
ModelName "Unknown"
# 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 35.36 # X -probeonly says
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ra# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 67.36 # X -probeonly says
# VertRefresh 50-100 # multisync
# VertRefresh 60, 65 # multiple fixed sync frequencies
# VertRefresh 40-50, 80-100 # multiple ranges of sync frequencies
# Modes can be specified in two formats. A compact one-line format, or
# a multi-line format.
# A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
# These two are equivalent
ModeLine "640x480" 28.32 640 664 760 800 480 491 493 525
Mode "640x480"
DotClock 28.32 # The dual scan LCD uses the first clock
HTimings 640 664 760 800
VTimings 480 491 493 525
EndMode
EndSection
Section "Monitor" #------------------------- 2nd monitor section for
# LCD only -or- LCD/crt -or- CRT only use
Identifier "DX17F"
VendorName "MAG"
ModelName "DX17F"
Bandwidth 100 # changed; from manual
HorizSync 30-64 # multisync; also from manual
VertRefresh 50-100 # multisync; also from manual
# A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
# VESA 800x600@56Hz Non-Interlaced mode
# Horizontal Sync = 35.1kHz
# Timing: H=(0.67us, 2.00us, 3.56us) V=(0.03ms, 0.063ms, 0.70ms)
#
# name clock horizontal timing vertical timing
ModeLine "800x600" 36 800 824 896 1024 600 601 603 625
# VESA 1024x768@60Hz Non-Interlaced mode
# Horizontal Sync = 48.4kHz
# Timing: H=(0.12us, 2.22us, 2.58us) V=(0.06ms, 0.12ms, 0.60ms)
ModeLine "1024x768" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync
# 1024x768 Interlaced mode
nges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
#Section "Device"
# Identifier "Generic VGA"
# VendorName "Unknown"
# BoardName "Unknown"
# Chipset "generic"
# VideoRam 256
# Clocks 25.2 28.3
#EndSection
Section "Device"
# SVGA WD90c24a2 in Twinhead Slimnote with simultaneous display
Identifier "WD90C24A2"
VendorName "Western Digital"
BoardName "RocketChip"
Chipset "wd90c31" # if doesn't work, try wd90c30
# begin first config with lcd only display
# VideoRam 512
# Clocks 28.29 28.32 28.30 28.29 28.30 28.32 28.29 28.30
# Clocks 28.30 28.31 28.29 28.30 28.30 28.31 28.30 28.30
# Clocks 49.79
# end first config with lcd only display
# begin second config with crt only display; let it detect VRAM
# VideoRam 1024
Clocks 25.15 28.32 64.97 35.96 25.15 28.30 64.92 36.00
Clocks 25.15 28.30 64.92 35.96 25.17 28.41 64.97 35.96
Clocks 44.26
# end second config with crt only display
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# use ctrl-alt-kp(+) and ctrl-alt-kp(-) to flip between these modes
# without restarting X.
# The colour SVGA server
Section "Screen"
Driver "svga"
Device "WD90C24A2"
# Monitor "LCD Screen"
Monitor "DX17F"
Subsection "Display"
Depth 8
Modes "800x600" "640x480" "1024x768i" # "1024x768"
ViewPort 0 0
Virtual 800 600
# Virtual 1024 768
EndSubsection
EndSection
# The 16-colour VGA server
#Section "Screen"
# Driver "vga16"
# Device "Generic VGA"
# Monitor "Generic Monitor"
# Subsection "Display"
# Modes "640x480"
# ViewPort 0 0
# Virtual 800 600
# EndSubsection
#EndSection
# The Mono server
#Section "Screen"
# Driver "vga2"
# Device "WD90C24A2"
# Monitor "LCD Screen"
# Subsection "Display"
# Modes "640x480"
# ViewPort 0 0
# Virtual 1024 768
# EndSubsection
#EndSection
# The following is provided FYI
#############################################################################
#
# OFFICIAL VESA Monitor timings + IBM Standards + other generic modes -
# TRY THESE FIRST
# Contributor: Thomas Roell [roell@xinside.com]
# Contributor: David Wexelblat [dwex@xfree86.org]
# Last Edit Date: 10/7/93
#
# Mode Refresh Hor. Sync Dot-clock Interlaced? VESA?
# ------------------------------------------------------------
# 640x480 60Hz 31.5k 25.175M No No
# 640x480 60Hz 31.5k 25.175M No No
# 640x480 63Hz 32.8k 28.322M No No
# 640x480 70Hz 36.5k 31.5M No No
# 640x480 72Hz 37.9k 31.5M No Yes
# 800x600 56Hz 35.1k 36.0M No Yes
# 800x600 56Hz 35.4k 36.0M No No
# 800x600 60Hz 37.9k 40.0M No Yes
# 800x600 60Hz 37.9k 40.0M No No
# 800x600 72Hz 48.0k 50.0M No Yes
# 1024x768i 43.5Hz 35.5k 44.9M Yes No
# 1024x768 60Hz 48.4k 65.0M No Yes
# 1024x768 60Hz 48.4k 62.0M No No
# 1024x768 70Hz 56.5k 75.0M No Yes
# 1024x768 70Hz 56.25k 72.0M No No
# 1024x768 76Hz 62.5k 85.0M No No
# 1280x1024i 44Hz 51kHz 80.0M Yes No
# 1280x1024i 44Hz 47.6k 75.0M Yes No
# 1280x1024 59Hz 63.6k 110.0M No No
# 1280x1024 61Hz 64.24k 110.0M No No
# 1280x1024 74Hz 78.85k 135.0M No No
#
#############################################################################