Difference between revisions of "IBM ThinkPad T23"

From ArchWiki
Jump to: navigation, search
m (Hotkeys: remove HAL info from 2007)
(20 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category:Laptops (English)]]
+
[[Category:IBM]]
[[Category:HOWTOs (English)]] 
+
Works with no known issues.
 
+
==Installation== 
+
Works with no known issues. The point releases "Voodoo" and "Don't Panic" work without problems.
+
 
    
 
    
 
==Configuration==   
 
==Configuration==   
Line 13: Line 10:
  
 
====Sleepmode====
 
====Sleepmode====
An easy way is use "suspend to swap" by adding  
+
An easy way is to use "suspend to swap" by appending  
  resume=/dev/disk/by-uuid/"your-swap-uuid"
+
  resume=/dev/sd''x''
to the kernel line inside /boot/grub/menu.lst. find your
+
to the kernel line in {{ic|/boot/grub/menu.lst}}
/dev/disk/by-uuid/
+
 
for the swap Partition by
+
[http://wiki.archlinux.org/index.php/Sleepmode Sleepmode ]
/bin/ls -lF /dev/disk/by-uuid/
+
and put it behind
+
root=/dev/disk/by-uuid/"uuid"
+
You can use it perfectly with [gnome-power-manager http://www.archlinux.org/packages/?q=gnome-power-manager]
+
  
 
====Laptop Mode Tools====  
 
====Laptop Mode Tools====  
 
Works flawlessly.  See [[Laptop Mode Tools]].  
 
Works flawlessly.  See [[Laptop Mode Tools]].  
 
   
 
   
====CPU Frequency Scaling====  
+
====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.
+
Works as described in [[CPU Frequency Scaling]].
  
 
===Hotkeys===     
 
===Hotkeys===     
They work better after loading the thinkpad-acpi module, to assign the generated keycodes to there supposed functions.   
+
They work better after loading the thinkpad_acpi module, to assign the generated keycodes to their supposed functions.   
+
As of December 2007, they don't work properly, since HAL is messing around with it's improvements.
+
 
    
 
    
====tpb====  
+
====tpb====
tpb (for '''T'''hink'''p'''ad '''B'''uttons) is available through pacman:
+
Install {{AUR|tpb}}, available in the [[Arch User Repository]].
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.
+
tpb (for '''T'''hink'''p'''ad '''B'''uttons) adds an on-screen volume bar for the volume buttons, '''THINKPAD''' button assignment, on-screen messages for '''Thinklight''', (on and off) and more.
  
====NumLk====
+
====NumLock====
Yes, this didn't work from the beginning for me, but here is the solution:  
+
If not already working, this key may be configured by adding:  
 
   
 
   
 
  keycode 77 = Num_Lock  
 
  keycode 77 = Num_Lock  
+
 
Add that line to your ~/.xmodmap file.
+
to {{ic|~/.xmodmap}}.
  
 
===Xorg===     
 
===Xorg===     
Works fine with driver xf86-video-savage.
+
Works fine with driver xf86-video-savage. Eye-candy like compositing will not work with this card.
Fancy eye-candy like composition won't work with this card.
+
 
+
Here is my by hand written configuration for X that _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
+
+
Input detection on xorg-server 1.5 goes through hal, so start it before running X.
+
 
+
/etc/rc.d/hal start
+
 
+
Also add it to /etc/rc.conf
+
 
+
DAEMONS=(... hal ...)
+
  
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.
+
Please note, if you have an SXGA+, the graphics card will not support a higher depth than 16 bit.
  
==Other Resources==   
+
==See also==   
[http://www.thinkwiki.org/wiki/Category:T23 Thinkwiki]
+
* [http://www.thinkwiki.org/wiki/Category:T23 Thinkwiki]

Revision as of 23:26, 26 October 2012

Works with no known issues.

Configuration

Power Management

Suspend and Hibernate

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

Sleepmode

An easy way is to use "suspend to swap" by appending

resume=/dev/sdx 

to the kernel line in /boot/grub/menu.lst

Sleepmode

Laptop Mode Tools

Works flawlessly. See Laptop Mode Tools.

CPU frequency scaling

Works as described in CPU Frequency Scaling.

Hotkeys

They work better after loading the thinkpad_acpi module, to assign the generated keycodes to their supposed functions.

tpb

Install tpbAUR, available in the Arch User Repository.

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

NumLock

If not already working, this key may be configured by adding:

keycode 77 = Num_Lock 

to ~/.xmodmap.

Xorg

Works fine with driver xf86-video-savage. Eye-candy like compositing will not work with this card.

Please note, if you have an SXGA+, the graphics card will not support a higher depth than 16 bit.

See also