Subject: Re: Thinkpad T22 XF86 troubles
To: PaulMac2@aol.com, <port-i386@netbsd.org>
From: Lasse =?iso-8859-1?Q?Hiller=F8e?= Petersen <lhp@toft-hp.dk>
List: port-i386
Date: 02/25/2002 21:03:07
At 19:49 +0100 25/02/02, PaulMac2@aol.com wrote:

>Anyone have a XF86Config for this model that will bring
>up at least a low-res server without errors?


Here's the one I'm using on my T22. I don't recall where I got it from, but
it seems to work OK. Only problem I have is that if the machine is at
sleep, and I put it on the docking station at work (with a monitor,
keyboard and Logitech scroll mouse) the mouse almost never works correctly
after waking up. So if in return you might know a way to "reset" the mouse
driver or whatever it may be, I'd be a happy man. If not, well, I'll still
be a happy man! :-)

In any case, let me know if this works for you! (You may want to edit font
paths etc.)

-Lasse

# $Id: XF86Config,v 1.11 2001/07/28 16:06:57 hal Exp $
#
# XF86Config for XFree86 4.x
#
# IBM ThinkPad T21
#

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

Section "Files"
        RgbPath         "/usr/X11R6/lib/X11/rgb"
        ModulePath      "/usr/X11R6/lib/modules"

        FontPath        "/usr/pkg/lib/X11/fonts/local"
        FontPath        "/usr/pkg/lib/X11/fonts/intlfonts"
        FontPath        "/usr/pkg/share/ghostscript/fonts"
        FontPath        "/usr/local/share/fonts/ttf"

        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"
        FontPath        "/usr/X11R6/lib/X11/fonts/freefont"
EndSection

Section "Module"
        Load    "extmod"
        Load    "xie"
        Load    "pex5"
        Load    "glx"
        Load    "GLcore"
        Load    "dbe"
        Load    "record"
        Load    "type1"
#        Load    "xtt"
        Load    "freetype"
        Load    "xft"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "keyboard"
EndSection

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

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5 - 150
        VertRefresh  40 - 200
        UseModes     "mymodes"
EndSection

Section "Modes"
        Identifier   "mymodes"
        Mode    "1400x1050"
                DotClock 122.00
                HTimings 1400 1464 1784 1912
                VTimings 1050 1052 1064 1090
                Flags "-VSync" "-HSync"
        EndMode
#        Mode    "1024x768"
#                DotClock 122.00
#                HTimings 1400 1464 1784 1912
#                VTimings 1050 1052 1064 1090
#                Flags "-VSync" "-HSync"
#        EndMode
EndSection

Section "Device"
        ### Available Driver options are:-
        #Option     "slow_edodram"
        #Option     "slow_dram"
        #Option     "fast_dram"
        #Option     "fpm_vram"
        #Option     "NoAccel"
        #Option     "HWCursor"
        Option     "SWCursor"
        Option     "ShadowFB"
        #Option     "Rotate"
        #Option     "UseBIOS" "off"
        Identifier  "Card0"
        Driver      "savage"
        VendorName  "S3"
        BoardName   "Savage/IX-MV"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Depth     24
        EndSubSection
EndSection

Section "DRI"
EndSection