[ltp] T21 X configuration

Chris Douglas linux-thinkpad@linux-thinkpad.org
Fri, 9 Apr 2004 01:42:24 -0400


--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

You'll want to get Tim Roberts's driver:
http://www.probo.com/timr/savage40.html

Just drop it in /usr/X11R6/lib/modules/drivers/savage_drv.o

My config file is for a T22, but the chipset is identical (same driver).
It was generated and customized on an Debian unstable install, but it's
purring in Gentoo 2004.0. The XF86Config included runs at 1400x1050 (odd
hack to the chipset) in 24 bit color with the glx and dri modules loaded
by default. You'll want to verify some of the information (horiz/vert
sync, paths, etc), but I'm pretty happy with it. -C

On Thu, Apr 08, 2004 at 11:37:27PM -0400, Stewart C. Russell wrote:
> I've just spent the last five days fighting to get Gentoo 2004.0 onto a 
> T21. (Hint: Don't try a fresh Gnome installation. It's currently broken 
> on Gentoo.)
> 
> Does anyone have a good canned XFree86config file for the 1024x768 S3 
> Savage display? Mine's currently in unaccelerated 256 colour mode; it 
> can do better.
> 
> I haven't found searching the archives to be very easy. Are there any 
> particular hints that T21 owners would care to pass along?
> 
> Many thanks,
>  Stewart
> 
> (who has installation of a D-Link AirPlus DWL650+ to look forward to 
> tomorrow ...)
> -- 
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=XF86Config

# XF86Config (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-v3 manual page.
# (Type "man XF86Config-v3" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-svga
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
    RgbPath	"/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
##From Debian
#	FontPath	"unix/:7100"			# local font server
#	# if the local font server has problems, we can fall back on these
#	# FontPath	"/usr/lib/X11/fonts/cyrillic"
#	# FontPath	"/usr/lib/X11/fonts/CID"
#	FontPath	"/usr/lib/X11/fonts/misc"
#	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
#	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
#	FontPath	"/usr/lib/X11/fonts/Type1"
#	FontPath	"/usr/lib/X11/fonts/Speedo"
#	FontPath	"/usr/lib/X11/fonts/100dpi"
#	FontPath	"/usr/lib/X11/fonts/75dpi"
#	# ModulePath	"/usr/X11R6/lib/modules/drivers"
EndSection

Section "Module"
    Load        "dbe"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "speedo"
#    Load        "freetype"
#    Load        "xtt"
# This loads the GLX module
    Load        "glx"
# This loads the DRI module
    Load        "dri"
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

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"
EndSection

Section "Keyboard"
	Protocol	"Standard"
	XkbRules	"xfree86"
	XkbModel	"pc101"
	XkbLayout	"us"
EndSection

Section "Pointer"
	Device		"/dev/psaux"
	Protocol	"PS/2"
	# ZAxisMapping	4 5
EndSection

Section "Monitor"
	Identifier	"Internal LCD"
	VendorName	"Generic"
	ModelName	"Monitor"
	HorizSync	31.5-67
	VertRefresh	50-90
        Modeline  "1280x1024" 110.00 1280 1328 1512 1712 1024 1025 1028 1054
        Modeline  "1400x1050" 108.00 1400 1448 1462 1688 1050 1050 1053 1066
EndSection

Section "Device"
	Identifier	"S3 Savage IX-MV"
	VendorName	"S3"
	VideoRam	32768
	Driver		"savage"
	# Option		"ShadowStatus"
	# BoardName	"savage"
	# Chipset		"s3_savage"
EndSection

Section "Screen"
   Driver          "SVGA"
   Device          "S3 Savage IX-MV"
   Monitor         "Internal LCD"
   DefaultColorDepth 24
   SubSection "Display"
      Depth        8
      Modes        "1400x1050" "1280x1024"
   EndSubSection
   SubSection "Display"
      Depth        15
      Modes        "1400x1050" "1280x1024"
   EndSubSection
   SubSection "Display"
      Depth        16
      Modes        "1400x1050" "1280x1024"
   EndSubSection
   SubSection "Display"
      Depth        24
      Modes        "1400x1050" "1280x1024"
   EndSubSection
   SubSection "Display"
      Depth        32
      Modes        "1400x1050" "1280x1024"
   EndSubSection
EndSection

Section "Screen"
	Driver			"Accel"
	Device			"S3 Savage IX-MV"
	Monitor			"Internal LCD"
	DefaultColorDepth	16
        DefaultColorDepth 16
        Subsection "Display"
            Depth       8
            Modes       "1400x1050" "1280x1024"
# ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       15
            Modes       "1400x1050" "1280x1024"
# ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       16
            Modes       "1400x1050" "1280x1024"
# ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       24
            Modes       "1400x1050" "1280x1024"
# ViewPort    0 0
        EndSubsection
         Subsection "Display"
            Depth       32
            Modes       "1400x1050" "1280x1024"
# ViewPort    0 0
        EndSubsection
EndSection

Section "Screen"
	Driver			"Mono"
	Device			"S3 Savage IX-MV"
	Monitor			"Internal LCD"
	SubSection "Display"
	EndSubSection
EndSection

Section "Screen"
	Driver			"VGA2"
	Device			"S3 Savage IX-MV"
	Monitor			"Internal LCD"
	SubSection "Display"
	EndSubSection
EndSection

Section "Screen"
	Driver			"VGA16"
	Device			"S3 Savage IX-MV"
	Monitor			"Internal LCD"
	SubSection "Display"
	EndSubSection
EndSection

# Section "Screen" ## EDITED OUT
	# Driver			"FBDev"
	# Device			"savage"
	# Monitor			"Internal LCD"
	# DefaultColorDepth	24
	# SubSection "Display"
		# Depth		8
		# Modes		"default"
	# EndSubSection
	# SubSection "Display"
		# Depth		15
		# Modes		"default"
	# EndSubSection
	# SubSection "Display"
		# Depth		16
		# Modes		"default"
	# EndSubSection
	# SubSection "Display"
		# Depth		24
		# Modes		"default"
	# EndSubSection
	# SubSection "Display"
		# Depth		32
		# Modes		"default"
	# EndSubSection
# EndSection

### END DEBCONF SECTION

--WIyZ46R2i8wDzkSu--