Subject: Re: Anyone running NetBSD on an IBM ThinkPad [A|T]21?
To: None <dcarmich@xnet.com>
From: =?ISO-8859-1?Q?Hans_H=FCbner?= <hans@Huebner.ORG>
List: port-i386
Date: 01/14/2001 14:47:19
Douglas Carmichael wrote:

> Anyone running NetBSD on an IBM ThinkPad [A|T]21 successfully?
> (i.e. successfully booting)

I have just got my ThinkPad T21 with SXGA (1400x1050) display, and
installation from the Wasabi 1.5 CDROM went completely painless.  I did not
try to partition the disk, which could become a problem.  With my dedicated
installatio, the machine just boots fine.

I installed XFree86-4.0.2 and use the XF86Config file which is appended. X
works just fine with this configuration (thanks to Darin Fisher who posted
the configuration file to comp.os.linux.portable a while ago).

Also, usb and pccard work fine, but I was not yet able to get Cardbus SCSI
running (it crashes somehow).  Given that the AHA-1480 is explicitly listed in
the hardware compatibility list, I'd think that this is a problem which can be
solved.

Power management also somehow works, although I have a strange problem at the
moment:  When I close the display, the machine suspends, which is fine.  If I
open it again, it resumes and suspends again, so I have to manually wake it up
using the power button.  Propably also not too hard to fix.

Sound does work sometimes, so I have been able to play music with the
machine.  Most of the time, the sound driver is somehow screwed up, though,
and does not preproduce whatever mp3 I feed it.

Summarizing:  NetBSD 1.5 runs pretty well on the T21, even though there are a
few areas with problems.  I'm now upgrading to -CURRENT to see if some of them
are already gone.  Let me know if I should post updates.

Cheers,
Hans

<cut>

# XFree4 configuration file for IBM ThinkPad T21 with SXGA display

Section "ServerLayout"
Identifier    "XFree86 Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
 
Section "Files"
EndSection
 
Section "Module"
Load  "GLcore"
Load  "dbe"
Load  "dri"
Load  "extmod"
Load  "glx"
Load  "pex5"
Load  "record"
Load  "xie"
EndSection
 
Section "InputDevice"
Identifier  "Keyboard0"
Driver      "keyboard"
EndSection
 
Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option      "Protocol" "wsmouse"
Option      "Device" "/dev/wsmouse"
EndSection

Section "Monitor"
Identifier  "IBM ThinkPad 1400x1050 LCD"
VendorName  "Monitor Vendor"
ModelName    "Monitor Model"
 
        HorizSync 31.5-67
        VertRefresh 50-90
 
        ModeLine "1400x1050" 122.00 1400 1464 1784 1912 1050 1052 1064 1090 -HSync -VSync 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"
        #Option    "LCDClock"
Identifier  "Card0"
Driver      "savage"
VendorName  "S3"
BoardName  "Savage/IX-MV"
BusID      "PCI:1:0:0"
EndSection
 
Section "Screen"
Identifier "Screen0"
Device    "Card0"
Monitor    "IBM ThinkPad 1400x1050 LCD"
DefaultColorDepth 16
SubSection "Display"
  Depth    16
                Modes    "1400x1050"
                ViewPort  0 0
EndSubSection
EndSection
 
Section "DRI"
EndSection
 
<cut>

-- 
                                       finger hans@huebner.org for details