> Sorry if it is a FAQ.
> I've tried to setup X with my video card and monitor with no success.
> Could anyone tell me how to setup XF86Config file for:
> ATI Video Expression and
> ViewSonic 17GS monitor
> I've tried to use ATI Expression to no success.
> Thanks a lot!
> Howard Hui
Try this: It's my XF86Config and it works with an ATI Mach64 and a MAG
17S-Monitor.
Andreas
###########
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/"
EndSection
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
# This allows clients to receive this key event.
# DontZap
# Uncomment this to disable the / mode switching
# sequences. This allows clients to receive these key events.
# DontZoom
EndSection
Section "Keyboard"
Protocol "Standard"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Protocol "Xqueue"
AutoRepeat 500 5
# Let the server do the NumLock processing. This should only be
required
# when using pre-R6 clients
# 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
Section "Pointer"
Protocol "Microsoft"
Device "/dev/ttyS0"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Emulate3Buttons
# Emulate3Timeout 50
# ChordMiddle is an option for some 3-button Logitech mice
ChordMiddle
EndSection
Section "Monitor"
Identifier "Andis Monitor"
VendorName "MAG"
ModelName "17S"
# 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 30.0 - 64.0
# 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 ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 50-90
# Modes can be specified in two formats. A compact one-line format, or
# a multi-line format.
# These two are equivalent
# ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817
Interlace
# Mode "1024x768i"
# DotClock 45
# HTimings 1024 1048 1208 1264
# VTimings 768 776 784 817
# Flags "Interlace"
# EndMode
# This is a set of standard mode timings. Modes that are out of monitor
spec
# are automatically deleted by the server (provided the HorizSync and
# VertRefresh lines are correct), so there's no immediate need to
# delete mode timings (unless particular mode timings don't work on your
# monitor). With these modes, the best standard mode that your monitor
# and video card can support for a given resolution is automatically
# used.
Modeline "640x480" 31.5 640 680 720 864 480 488 491 521
Modeline "800x600" 50 800 856 976 1040 600 637 643 666
+hsync +vsync
Modeline "1024x768" 75 1024 1048 1184 1328 768 771 777 806
-hsync -vsync
Modeline "320x200" 12.588 320 336 384 400 200 204 205 225
Doublescan
Modeline "320x240" 12.588 320 336 384 400 240 245 246 262
Doublescan
Modeline "320x240" 15.750 320 336 384 400 240 244 246 262
Doublescan
ModeLine "400x300" 18 400 416 448 512 300 301 602 312
Doublescan
Modeline "400x300" 20 400 416 480 528 300 301 303 314
Doublescan
Modeline "400x300" 25 400 424 488 520 300 319 322 333
Doublescan
ModeLine "480x300" 21.656 480 496 536 616 300 301 302 312
Doublescan
Modeline "480x300" 23.890 480 496 576 632 300 301 303 314
Doublescan
Modeline "480x300" 25 480 496 576 632 300 301 303 314
Doublescan
Modeline "480x300" 29.952 480 504 584 624 300 319 322 333
Doublescan
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Andis VideoCard"
VendorName "ATI"
BoardName "Mach64"
#VideoRam 1024
MemBase 0x80000000
EndSection
# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32,
Mach64)
Section "Screen"
Driver "accel"
Device "Andis VideoCard"
Monitor "Andis Monitor"
Subsection "Display"
Depth 8
Modes "1024x768" "640x480" "800x600"
ViewPort 0 0
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Modes "640x480" "800x600" "1024x768"
ViewPort 0 0
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 32
Modes "640x480" "800x600"
ViewPort 0 0
Virtual 800 600
EndSubsection
EndSection
#########################################################################