Subject: Re: XFree86 4.0.2 snapshot available (was Re: Successful NetBSD installon Dell Laptop?)
To: None <port-i386@NetBSD.ORG>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: port-i386
Date: 01/04/2001 11:24:41
smb@research.att.com (Steven M. Bellovin) writes:
> Thanks; that helps somewhat, in that it does fire up X (albeit at 
> 640x480).  However, when I exit X the screen is really blank; it's not 
> the brightness or the contrast -- I checked.  (I do have dim 
> recollections that exiting X was problematic on that machine even when 
> I was running BSD/OS.)

UTSL?

Inspired by the posting that said x11r6.4 "just compiled" without any
netbsd patches, I went to /usr/xsrc/xfree/xc and just did a "make
World install install.man"

(Don't forget the install.man, you won't get any man pages without
it.)

The "X -configure" doesn't know about wsmouse.  The other thing is
that the Display section really want to have a "Default Depth" and
"Modes" to force the default geometry.  I'll append the whole mess
since much of it required me to grep the sources for the
keywords. (Hey I wasn't kidding about "Use the source!")

-wolfgang
-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/


###############################################################################
##									     ##
##	File:     XF86Config						     ##
##	Author:   Wolfgang Rupprecht <wolfgang@capsicum.wsrcc.com>           ##
##	Created:  Wed Jan  3 00:07:53 PST 2001				     ##
##	Contents: mga400 and hitachi 803 supreme (capsicum)
##									     ##
##	Copyright (c) 2001 Wolfgang Rupprecht.				     ##
##	All rights reserved.						     ##
##									     ##
##	$Id$								     ##
###############################################################################


Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"

	Option		"blank time"	"10"	# 10 minutes
        Option		"standby time"	"20"
        Option		"suspend time"	"30"
        Option		"off time"	"60"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/truetype/"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "extmod"
	Load  "xie"
	Load  "pex5"
	Load  "glx"
	Load  "GLcore"
	Load  "dbe"
	Load  "record"

# added these -wsr
        Load "type1"
        Load "freetype"
# end added section -wsr

EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	    "XkbModel"	"pc104"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
#	Option      "Protocol" "auto"
	Option      "Protocol" "wsmouse"
	Option      "Device" "/dev/wsmouse"
	Option 	    "Buttons" "5"
	Option	    "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "HTC"
	ModelName    "abea"
# added there by hand -wsr
	HorizSync       31-115
	VertRefresh     50-160

	Option 	     "dpms"

        # beat the living piss out of the monitor.  3 megapixels, 
        # 300Mhz dot-rate.  Hand tweaked to just *barely* fall within 
        # all the timing specs. -wsr
        # uncomment if you have a hitachi 803 (or better)
        # Modeline  "2048x1536"   300.00   2048 2100 2440 2770   1536 1540 1552 1590 +hsync +vsync
# end of hand edited section -wsr

EndSection

Section "Device"
	### Available Driver options are:-
        #Option     "SWcursor"
        #Option     "HWcursor"
        #Option     "PciRetry"
        #Option     "SyncOnGreen"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "Overlay"
        #Option     "MGASDRAM"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "ColorKey"
        #Option     "SetMclk"
        #Option     "OverclockMem"
        #Option     "VideoKey"
        #Option     "Rotate"
        #Option     "TexturedVideo"
        #Option     "XAALines"
        #Option     "Crtc2Half"
        #Option     "Int10"
        #Option     "AGPMode2x"
        #Option     "AGPMode4x"
        #Option     "DigitalScreen"
        #Option     "TV"
        #Option     "TVStandard"
        #Option     "CableType"
        #Option     "UseIrqZero"
        #Option     "NoHal"
	Identifier  "Card0"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G400 AGP"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24

	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes	  "1600x1200" "2048x1536"
	EndSubSection
EndSection

Section "DRI"
EndSection

# end