Difference between revisions of "IBM ThinkPad T23"

From ArchWiki
Jump to: navigation, search
(Xorg)
(Xorg)
Line 37: Line 37:
 
    
 
    
 
===Xorg===     
 
===Xorg===     
Works with driver xf86-video-savage.  
+
Works fine with driver xf86-video-savage.
 +
Fancy eye-candy like composition won't work with this card.
 +
 
 +
Here is my by hand written configuration for X. That file _should_ work. But since the recent update with xorg-server 1.5, the keyboard and mouse management has changed somehow, which means, the InputDevice Sections are in a reason deprecated or something else. Please refer to [[Xorg input hotplugging]] for further information.
 +
 
 +
Section "Files"
 +
        FontPath "/usr/share/fonts/75dpi:unscaled"
 +
        FontPath "/usr/share/fonts/100dpi:unscaled"
 +
        FontPath "/usr/share/fonts/misc"
 +
        FontPath "/usr/share/fonts/TTF"
 +
        FontPath "/usr/share/fonts/Type1"
 +
        ModulePath "/usr/lib/xorg/modules"
 +
        #RgbPath ""
 +
EndSection
 
   
 
   
Here is the mentioned file, for those who don't have a working configuration yet:
+
Section "ServerFlags"
 +
        Option "DontZap" "True"
 +
        #Option "AutoAddDevices" "False"
 +
EndSection
 
   
 
   
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
+
  Section "Module"
 
+
        Load "i2c"
Section "Files"
+
        Load "bitmap"
FontPath "/usr/share/fonts/X11/misc"
+
        Load "ddc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
+
        Load "dri"
FontPath "/usr/share/fonts/X11/cyrillic"
+
        Load "extmod"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
+
        Load "freetype"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
+
        Load "glx"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
+
        Load "int10"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
+
        Load "vbe"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
+
FontPath "/usr/share/fonts/X11/Type1"
+
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
+
FontPath "/usr/share/fonts/X11/100dpi"
+
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
+
FontPath "/usr/share/fonts/X11/75dpi"
+
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
+
# path to defoma fonts
+
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
+
EndSection
+
 
+
  Section "Module"  
+
Load "i2c"  
+
Load "bitmap"  
+
Load "ddc"  
+
Load "dri"  
+
Load "extmod"  
+
Load "freetype"  
+
Load "glx"  
+
Load "int10"  
+
Load "vbe"  
+
EndSection
+
 
+
Section "InputDevice"
+
Identifier "Generic Keyboard"
+
Driver "kbd"
+
Option "CoreKeyboard"
+
Option "XkbRules" "xorg"
+
Option "XkbModel" "pc105"
+
        Option "XkbLayout" "gb"
+
# Option "XkbVariant" "nodeadkeys"
+
EndSection
+
 
+
Section "InputDevice"
+
Identifier "Configured Mouse"
+
Driver "mouse"
+
Option "CorePointer"
+
Option "Device" "/dev/input/mice"
+
Option "Protocol" "ImPS/2"
+
# Option "Emulate3Buttons" "on"
+
# Emulating the Wheel.
+
Option          "EmulateWheel"          "on"
+
Option          "EmulateWheelButton"    "2"
+
EndSection
+
 
+
Section "Device"
+
Identifier "S3 Inc. SuperSavage IX/C SDR"
+
Driver "savage"
+
EndSection
+
 
+
Section "Monitor"
+
Identifier "Generic Monitor"
+
Option "DPMS"
+
HorizSync 28-51
+
VertRefresh 43-60
+
DisplaySize 271 201 # 96 DPI @ 1024x768
+
EndSection
+
 
+
Section "Screen"
+
Identifier "Default Screen"
+
Device "S3 Inc. SuperSavage IX/C SDR"
+
Monitor "Generic Monitor"
+
DefaultDepth 24
+
SubSection "Display"
+
Depth 16
+
Modes "1024x768"
+
EndSubSection
+
SubSection "Display"
+
Depth 24
+
Modes "1024x768"
+
EndSubSection
+
EndSection
+
 
+
Section "ServerLayout"
+
Identifier "Default Layout"
+
Screen "Default Screen"
+
InputDevice "Generic Keyboard"
+
InputDevice "Configured Mouse"
+
  EndSection
+
 
+
Section "DRI"
+
Mode 0666
+
 
  EndSection
 
  EndSection
 
+
If you have an SXGA+ (1400x1050) screen, you have to use this size instead of 1024x768, and you have to set DefaultDepth to 16 to use AIGLX because of the limited graphics memory.
+
Section "InputDevice"
 +
        Identifier "Keyboard"
 +
        Driver "kbd"
 +
        Option "CoreKeyboard"
 +
        Option "XkbRules" "xorg"
 +
        Option "XkbModel" "pc105"
 +
        Option "XkbLayout" "gb"
 +
EndSection
 +
 +
Section "InputDevice"
 +
        Identifier "Trackpoint"
 +
        Driver "mouse"
 +
        Option "CorePointer"
 +
        Option "Device" "/dev/input/mice"
 +
        Option "Protocol" "ImPS/2"
 +
        Option "Emulate3Buttons" "on"
 +
EndSection
 +
 +
Section "Device"
 +
        Identifier "S3 Inc. SuperSavage IX/C SDR"
 +
        Driver "savage"
 +
        Option "HWCursor" "on"
 +
        #Option "SWCursor" "off"
 +
        #Option "NoAccel" ""
 +
        #Option "AccelMethod" "EXA"
 +
        #Option "ShadowFB" "off"
 +
        #Option "LCDClock" ""
 +
        #Option "CrtOnly" ""
 +
        #Option "UseBIOS" "off"
 +
        #Option "ShadowStatus"
 +
        #Option "DisableCOB" "off"
 +
        #Option "BCIforXv" "on"
 +
        Option "AGPMode" "4"
 +
        Option "AGPSize" "16"
 +
        #Option "DmaMode" "Vertex"
 +
        #Option "DmaType" "AGP"
 +
        #Option "BusType" "AGP"
 +
        Option "DRI" "on"
 +
EndSection
 +
 +
Section "Monitor"
 +
        Identifier "Monitor"
 +
        VendorName "IBM"
 +
        ModelName "Thinkpad T23"       
 +
        HorizSync 28-51
 +
        VertRefresh 43-60
 +
        DisplaySize 269 201 # 96 DPI @ 1024x768
 +
        #Gamma
 +
        #UseModes
 +
        #Mode
 +
        #ModeLine
 +
        Option "DPMS"
 +
        Option "Enable"
 +
EndSection
 +
 +
Section "Screen"
 +
        Identifier "Screen"
 +
        Device "S3 Inc. SuperSavage IX/C SDR"
 +
        Monitor "Monitor"
 +
        DefaultDepth 24
 +
        SubSection "Display"
 +
                Depth 24
 +
                Modes "1024x768"
 +
        EndSubSection
 +
EndSection
 +
 +
Section "ServerLayout"
 +
        Identifier "X"
 +
        Screen "Screen"
 +
        InputDevice "Keyboard" "CoreKeyboard"
 +
        InputDevice "Trackpoint" "CorePointer"
 +
EndSection
 +
 +
Section "DRI"
 +
        Mode  0666
 +
EndSection
 +
 +
Please not, if you've got an SXGA+, the graphics card won't support a higher depth than 16 as the memory can't house more colours in the graphics card.
  
 
==Other Resources==   
 
==Other Resources==   
 
[http://www.thinkwiki.org/wiki/Category:T23 Thinkwiki]
 
[http://www.thinkwiki.org/wiki/Category:T23 Thinkwiki]

Revision as of 21:06, 9 December 2008


Installation

Works with no known issues. The point releases "Voodoo" and "Don't Panic" work without problems.

Configuration

Power Management

Suspend and Hibernate

Works flawlessly. See Suspend to Disk. Also known to work with Pm-utils.

Laptop Mode Tools

Works flawlessly. See Laptop Mode Tools.

CPU Frequency Scaling

Works as described in CPU Frequency Scaling with acpi-cpufreq as of 2.6.27-ARCH. Maybe you need to use speedstep-ich on earlier kernels.

Hotkeys

They work better after loading the thinkpad-acpi module, to assign the generated keycodes to there supposed functions.

As of December 2007, they don't work properly, since HAL is messing around with it's improvements. Read further in the Troubleshooting section.

tpb

tpb (for Thinkpad Buttons) is available through pacman:

pacman -S tpb 

tpb adds an on-screen volume bar for the volume buttons, THINKPAD button assignment, on-screen messages for Thinklight, (on and off) and more.

NumLk

Yes, this didn't work from the beginning for me, but here is the solution:

keycode 77 = Num_Lock 

Add that line to your ~/.xmodmap file.


Xorg

Works fine with driver xf86-video-savage. Fancy eye-candy like composition won't work with this card.

Here is my by hand written configuration for X. That file _should_ work. But since the recent update with xorg-server 1.5, the keyboard and mouse management has changed somehow, which means, the InputDevice Sections are in a reason deprecated or something else. Please refer to Xorg input hotplugging for further information.

Section "Files"
        FontPath "/usr/share/fonts/75dpi:unscaled"
        FontPath "/usr/share/fonts/100dpi:unscaled"
        FontPath "/usr/share/fonts/misc"
        FontPath "/usr/share/fonts/TTF"
        FontPath "/usr/share/fonts/Type1"
        ModulePath "/usr/lib/xorg/modules"
        #RgbPath ""
EndSection

Section "ServerFlags"
        Option "DontZap" "True"
        #Option "AutoAddDevices" "False"
EndSection

Section "Module"
        Load "i2c"
        Load "bitmap"
        Load "ddc"
        Load "dri"
        Load "extmod"
        Load "freetype"
        Load "glx"
        Load "int10"
        Load "vbe"
EndSection

Section "InputDevice"
        Identifier "Keyboard"
        Driver "kbd"
        Option "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
        Identifier "Trackpoint"
        Driver "mouse"
        Option "CorePointer"
        Option "Device" "/dev/input/mice"
        Option "Protocol" "ImPS/2"
        Option "Emulate3Buttons" "on"
EndSection

Section "Device"
        Identifier "S3 Inc. SuperSavage IX/C SDR"
        Driver "savage"
        Option "HWCursor" "on"
        #Option "SWCursor" "off"
        #Option "NoAccel" ""
        #Option "AccelMethod" "EXA"
        #Option "ShadowFB" "off"
        #Option "LCDClock" ""
        #Option "CrtOnly" ""
        #Option "UseBIOS" "off"
        #Option "ShadowStatus"
        #Option "DisableCOB" "off"
        #Option "BCIforXv" "on"
        Option "AGPMode" "4"
        Option "AGPSize" "16"
        #Option "DmaMode" "Vertex"
        #Option "DmaType" "AGP"
        #Option "BusType" "AGP"
        Option "DRI" "on"
EndSection

Section "Monitor"
        Identifier "Monitor"
        VendorName "IBM"
        ModelName "Thinkpad T23"        
        HorizSync 28-51
        VertRefresh 43-60
        DisplaySize 269 201 # 96 DPI @ 1024x768
        #Gamma
        #UseModes
        #Mode
        #ModeLine
        Option "DPMS"
        Option "Enable"
EndSection

Section "Screen"
        Identifier "Screen"
        Device "S3 Inc. SuperSavage IX/C SDR"
        Monitor "Monitor"
        DefaultDepth 24
        SubSection "Display"
                Depth 24
                Modes "1024x768"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier "X"
        Screen "Screen"
        InputDevice "Keyboard" "CoreKeyboard"
        InputDevice "Trackpoint" "CorePointer"
EndSection

Section "DRI"
        Mode  0666
EndSection

Please not, if you've got an SXGA+, the graphics card won't support a higher depth than 16 as the memory can't house more colours in the graphics card.

Other Resources

Thinkwiki