Subject: Re: X problems on Thinkpad 600E
To: Steve Bellovin <smb@research.att.com>
From: Laine Stump <lainestump@rcn.com>
List: port-i386
Date: 01/10/2001 00:21:28
Steve Bellovin <smb@research.att.com> writes:

> I tried installing NetBSD 1.5 on a Thinkpad 600E.  I was unable to get 
> X to work -- I couldn't get an X configurator to start, and when I 
> tried an XF86Config file I found on the net, X died a horrible death. 
> 
> I've attached the log file and the config file I used.  1.5 was 
> straight off the Wasabi CD.

Following is the config file I am using on a ThinkPad 600 and post-1.5
NetBSD (I originally grabbed it from someone else's email message a
year or so ago). I have my system setup to do xdm, so I don't have an
X startup log message handy. If this config file doesn't work for you,
let me know and I'll run X manually with your config to see if I
encounter the same problems.

# XF86Config for Model 600 w/ neomagic xserver

Section "Files"
   RgbPath    "/usr/X11R6/lib/X11/rgb"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi"
EndSection


#Section "Module"
#    Load "xf86Jstk.so"
#EndSection

Section "ServerFlags"
#    NoTrapSignals
#    DontZap
#    DontZoom
#    DisableVidModeExtension
#    AllowNonLocalXvidtune
#    DisableModInDev
#    AllowNonLocalModInDev
EndSection

Section "Keyboard"
   Protocol        "Standard"
   AutoRepeat      500 5
   # LeftAlt         Meta
   # RightAlt        Meta
   # ScrollLock      Compose
   # RightCtl        Control
   # XkbKeycodes     "xfree86"
   # XkbTypes        "default"
   # XkbCompat       "default"
   # XkbSymbols      "us(pc101)"
   # XkbGeometry     "pc"
   # XkbRules        "xfree86"
   # XkbModel        "jp106"
   # XkbLayout       "jp"
   # XkbKeymap       "xfree86(de_CH)"
	XkbDisable
EndSection

Section "Pointer"
   Protocol        "wsmouse"
   Device          "/dev/wsmouse0"
   Emulate3Timeout 50
EndSection

Section "Monitor"
    Identifier  "Generic Multisync"
    VendorName  "Unknown"
    ModelName   "Unknown"
    HorizSync   30-64
    VertRefresh 50-100

# 640x480 @ 60 Hz, 31.5 kHz hsync
Modeline "640x480"     25.175 640  664  760  800   480  491  493  525
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline "800x600"     40     800  840  968 1056   600  601  605  628 +hsync +vsync
# 1024x768 @ 60 Hz, 48.4 kHz hsync
Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777  806 -hsync -vsync

EndSection

Section "Device"
    Identifier	"NeoMagic"
#    Chipset	"NM2160"
#    IOBase	0xfea00000
#    MemBase	0xfd000000
#    VideoRam	2048
#    DacSpeed	90
#    Option	"linear"
#    Option	"nolinear"
#    Option	"sw_cursor"
#    Option	"hw_cursor"
#    Option	"no_accel"
#    Option	"intern_disp"
#    Option	"extern_disp"
#    Option	"mmio"
#    Option	"no_mmio"
#    Option	"lcd_center"
#    Option	"no_stretch"
EndSection

Section "Screen"
    Driver      "svga"
    Device      "NeoMagic"
    Monitor     "Generic Multisync"
    DefaultColorDepth 16
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection
EndSection