IBM ThinkPad T21
From ArchWiki
Contents |
Installation
Works with no known issues. Tested on 2008.03 and 2008.06.
Configuration
Power Management
Suspend and Hibernate
Works flawlessly. See Suspend to Disk.
Laptop Mode Tools
Works flawlessly. See Laptop Mode Tools.
CPU Frequency Scaling
Install cpudyn from the extra repository with the following command:
# pacman -Sy cpudyn
Add speedstep_lib, speedstep_smi, and cpufreq_userspace to MODULES array in /etc/rc.conf.
MODULES=(... speedstep_lib speedstep_smi cpufreq_userspace ...)
Add cpudyn to DAEMONS array in /etc/rc.conf
DAEMONS=(... cpudyn ...)
Hotkeys
They work better after loading the thinkpad-acpi module, to assign the generated keycodes to their supposed functions. You may also want to install tpb (ThinkPad Buttons) if you still have trouble.
External VGA
For whatever reason, external VGA output (for an external monitor) was disabled. This was fixed by doing this:
# echo 1 > /proc/acpi/video/VID/DOS
Xorg
Works with driver xf86-video-savage. However, to achieve DRI (and thus OpenGL acceleration), you will have to use 16-bit color. The 8 MB of VRAM with the Savage GPU isn't enough to support 24 bit color, OpenGL, and 1024x768. You must either drop color depth or resolution.
Here is the mentioned file, for those who don't have a working configuration yet:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "GLcore"
Load "dbe"
Load "dri"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
###To enable third trackpoint scrolling button
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "HWCursor" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "UseBIOS" # [<bool>]
#Option "LCDClock" # <freq>
#Option "ShadowStatus" # [<bool>]
#Option "CrtOnly" # [<bool>]
#Option "TvOn" # [<bool>]
#Option "PAL" # [<bool>]
#Option "ForceInit" # [<bool>]
#Option "Overlay" # [<str>]
#Option "TransparencyKey" # [<str>]
#Option "ForceInit" # [<bool>]
#Option "DisableXVMC" # [<bool>]
#Option "DisableTile" # [<bool>]
#Option "DisableCOB" # [<bool>]
#Option "BCIforXv" # [<bool>]
#Option "DVI" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "BusType" # [<str>]
#Option "DmaType" # [<str>]
#Option "DmaMode" # [<str>]
#Option "AGPMode" # <i>
#Option "AGPSize" # <i>
#Option "DRI" # [<bool>]
Identifier "Card0"
Driver "savage"
VendorName "S3 Inc."
BoardName "86C270-294 Savage/IX-MV"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection