Subject: does anybody have this problem setting up XFree86??
To: None <netbsd-help@netbsd.org>
From: James Lever <James.Lever@mailbox.uq.oz.au>
List: netbsd-help
Date: 11/23/1994 15:09:31
hi there...

I'm having major difficulties setting up XFree86 with a Tseng Labs et4000 
w32 card (don't know revision) and the monitor is a KTX non-Interlaced 
14" svga...

I can get it to work but I think the problem has something to do with the 
modes that I am trying to use..

if anyone has a config running a similar setup can they email me their config
thanks..

btw following is my XF86Config file.  the current one that causes lots of 
problems..

		-James

---------------------------------------------------------------------------

# Copyright (c) 1994 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.
#

# This file was generated by reconfig(1)
# Refer to the XF86Config(4/5) man page for a description of the format

Section "Files"
    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/"
    RGBPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "ServerFlags"
EndSection

Section "Keyboard"
    Protocol "Standard"
    ServerNumLock
EndSection

Section "Pointer"
    Protocol "MouseSystems"
    Device "/dev/tty00"
    BaudRate 1200
EndSection

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

# Any number of monitor sections may be present

#From: Hans Nasten <nasten@everyware.se>
#Date: Tue, 27 Sep 1994 10:18:05 +0100 (MET)
Section "Monitor"
    Identifier "NEC 5FG"
    VendorName "NEC"
    ModelName "5FG"
    BandWidth 135.0
    HorizSync 27-79
    VertRefresh 55-90
    ModeLine "640x480" 28 640 664 704 832 480 489 492 520
    ModeLine "640x48032" 32 640 664 704 832 480 489 492 520
    ModeLine "800x600" 50 800 856 976 1040 600 637 643 666
    ModeLine "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    ModeLine "1152x900" 90 1152 1176 1234 1464 900 906 914 943 -hsync -vsync
    ModeLine "1280x1024" 115 1280 1276 1372 1664 1024 1028 1035 1062
             -hsync -vsync
EndSection

Section "Monitor"
    Identifier "EIZO FlexScan 9080i"
    VendorName "EIZO"
    ModelName "FlexScan 9080i"
    BandWidth   60.0
    HorizSync   30.0-64.0
    VertRefresh 50.0-90.0
    ModeLine "640x480" 31 640 664 704 832 480 489 492 520
    ModeLine "640x480a" 28 640 672 768 800 480 490 492 525
    ModeLine "640x480b" 25 640 672 768 800 480 490 492 525
    ModeLine "800x600" 50 800 856 976 1040 600 637 643 666
    ModeLine "800x600a" 40 800 864 896 1008 600 600 606 624
    ModeLine "800x600b" 36 800 816 952 1056 600 608 610 633
    ModeLine "1024x768i" 45 1024 1064 1224 1264 768 777 783 815 interlace
    ModeLine "1024x768ia" 44 1024 1064 1224 1264 768 777 785 817 interlace
    ModeLine "1024x768" 80 1024 1032 1152 1360 768 784 787 823
    ModeLine "1152x900" 80 1152 1152 1368 1400 900 912 929 945
    ModeLine "1280x1024i" 80 1280 1296 1412 1632 1024 1025 1037 1165 interlace
EndSection

#From: matthieu@laas.fr (Matthieu Herrb)
#Date: Tue, 27 Sep 1994 10:05:24 +0100
Section "Monitor"
  Identifier "Sampo alphascan-17"
  ModelName "AlphaScan 17"
  BandWidth 95MHz
  HorizSync 30-77kHz
  VertRefresh 20-105Hz
  ModeLine "640x480"    31.5  640  664  704  832  480  489  492  520
  ModeLine "800x600"    40    800  840  968 1056  600  601  605  628
  ModeLine "1024x768"   80   1024 1056 1096 1374  768  774  776  800
  ModeLine "1024x768i"  40   1024 1064 1224 1264  768  773  781  813 interlace
  ModeLine "1152x900"   94.6 1152 1160 1400 1536  900  906  914  954
  ModeLine "1152x900i"  80   1152 1184 1480 1496  900  912  950 1024 interlace
  ModeLine "1280x1024i" 80   1280 1288 1408 1624 1024 1026 1032 1076 interlace
  ModeLine "1280x1024" 110   1280 1328 1512 1712 1024 1025 1028 1054
EndSection

Section "Monitor"

    Identifier	"Generic Monitor"
    VendorName	"Unknown"
    ModelName	"Unknown"

# Bandwidth is in MHz unless units are specified

    Bandwidth	25.2

# 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  # typical for a single frequency fixed-sync monitor

     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 60  # typical for a single frequency fixed-sync monitor

     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" 25.175 640 664 760 800 480 491 493 525

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

# 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

EndSection

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

# Any number of graphics device sections may be present

#From: peterc@a3.ph.man.ac.uk (Peter Chang)
#Date: Fri, 23 Sep 1994 17:40:40 +0100
#Note: 'freq' may not exist.
Section "Device"
    Identifier	"Diamond Stealth 32 VLB"
    VendorName	"Diamond"
    BoardName	"Diamond Stealth 32 VLB"
    Chipset	"w32p_rev_a"
    VideoRam	1024
    Clocks  25.18  28.32 49.999  74.959
# the freq program hacked to use as a clock program
#    ClockProg  "/usr/local/bin/freq" 28
EndSection

#From: dlj0@chern.math.lehigh.edu (DAVID L. JOHNSON)
#Date: Fri, 23 Sep 1994 23:23:18 -0400
Section "Device"
    Identifier   "Hercules Dynamite Pro ISA (D201E)"
    #was:  "et4000w32 series"
    VendorName  "Tseng"
    BoardName   "Hercules Dynamite Pro ISA (D201E)"
    Chipset    "et4000w32"
    Clocks 25 28.32 32.4 35.9 39.9 44.7 31.4 37.5
           50.0 56.5 64.9 71.9 79.9 89.6 62.8 74.8
EndSection

#From: "M{kinen Sami J." <sjm@cs.tut.fi>
#Date: Mon, 19 Sep 1994 23:47:01 +0300
Section "Device"
        Identifier      "Tseng Genoa Phantom ET4000/W32i 2MB VLB"
        VendorName      "Tseng"
        BoardName       "Genoa Phantom ET4000/W32i 2MB VLB"
#       Chipset         "et4000w32i_rev_b"
#       Videoram        2048
	Clocks  24.80  28.30  32.40  35.50  40.00  45.00  31.20  37.20
                50.00  56.50  65.00  70.00  80.00  90.00  62.50  75.00
EndSection

#Date: Wed, 21 Sep 1994 14:22:23 -0700 (PDT)
#From: James Dooley <jdooley@ugcs.caltech.edu>
#Also-date: Wed, 21 Sep 1994 19:54:08 -0400 (EDT)
#Also-from: Andrew Robinson <robinson@cnj.digex.net>
#Also-date: 22 Sep 1994 10:25:06 -0700 (PDT)
#Also-from: Ken Latta <klatta@pkdla5.syntex.com>
Section "Device"
    Identifier  "Tseng et4000w32 series"
    VendorName  "Tseng"
    BoardName   "STB W32P"
    Clocks      25.04 28.32 32.47 36.00 40.00 44.56 31.48 37.49
                50.00 56.65 64.93 72.04 80.03 89.70 62.99 75.04
		28.00 32.00 50.00 75.00 90.00
EndSection

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

Section "Device"
    # SVGA server auto-detected chipset
    Identifier	"Generic SVGA"
    VendorName	"Unknown"
    BoardName	"Unknown"
EndSection

Section "Device"
    Identifier	"W32P"
    VendorName	"Tseng"
    BoardName	"Tseng ET4000 W32P"
    Chipset	"et4000w32p"
    VideoRam	1024
#    Clocks	25 28 45 36 57 65 50 40 25 28 0 45 72 77 80 75
     Clocks     25.24  28.32  44.99  35.99  57.32  64.99  50.49  39.99 25.24  28.32   0.00  44.99  71.99  76.99  80.00  74.99

EndSection

# Section "Device"
#    Identifier	"Actix GE32+ 2MB"
#    VendorName	"Actix"
#    BoardName	"GE32+"
#    Ramdac	"ATT20C490"
#    Dacspeed	110
#    Option	"dac_8_bit"
#    Clocks	 25.0  28.0  40.0   0.0  50.0  77.0  36.0  45.0
#    Clocks	130.0 120.0  80.0  31.0 110.0  65.0  75.0  94.0
# EndSection


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

# The colour SVGA server

Section "Screen"
    Driver	"accel"
#    Device	"Hercules Dynamite Pro ISA (D201E)"
    Device      "Tseng et4000w32 series"
#    Device	"Any Trident TVGA 9000"
#    Device	"Tseng Genoa Phantom ET4000/W32i 2MB VLB"
#    Device	"W32P"
#    Device	"Generic SVGA"
#    Monitor	"NEC 5FG"
#    Monitor	"Generic Monitor"
    Monitor	"EIZO FlexScan 9080i"
#    Monitor	"Sampo alphascan-17"
    Subsection "Display"
        Depth	    8
#        Modes	    "640x480" "1024x768i"
#        Modes	    "640x480" "800x600" "1024x768i" 
     Modes	"640x480" "800x600" "1024x768" "1152x900"
        ViewPort    0 0
        Virtual     800 600
    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	"Generic VGA"
#    Monitor	"Generic Monitor"
#    Subsection "Display"
#        Modes	    "640x480"
#        ViewPort    0 0
#        Virtual     800 600
#    EndSubsection
# EndSection

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32)

# Section "Screen"
#     Driver	"accel"
#     Device	"Tseng W32P 1Mb"
#     Monitor	"Generic Monitor"
#     Subsection  "Display"
#         Depth	    8
#         Modes	    "640x480"
#         ViewPort    0 0
#         Virtual	    1280 1024
#     EndSubsection
#     SubSection "Display"
#         Depth	    16
#         Weight	    565
#         Modes	    "640x480"
#         ViewPort    0 0
#         Virtual	    1024 768
#     EndSubsection
# EndSection