Difference between revisions of "IBM ThinkPad T23"

From ArchWiki
Jump to: navigation, search
m (Hotkeys: remove HAL info from 2007)
(update Pkg/AUR templates (https://github.com/lahwaacz/wiki-scripts/blob/master/update-package-templates.py))
 
(44 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
[[Category:IBM]]
 
[[Category:IBM]]
Works with no known issues.
+
[[de:IBM Thinkpad T23]]
 +
{{Expansion|This page may be missing instructions for certain hardware
 +
: Doesn't cover modem setup, could use a section on that. -- [https://wiki.archlinux.org/index.php/User:Mulesryan mulesryan] ([[User talk:Mulesryan|talk]]) 03:51, 8 Feb 2014 (CST) }}
 
    
 
    
==Configuration==   
+
==Configuration==
 +
 
 +
===Video Card===
 +
   
 +
 
 +
 
 +
====Easy Installation====
 +
 
 +
Make sure [[Xorg]] is installed, and then [[install]] {{Pkg|xf86-video-savage}} from the [[official repositories]].
 +
 
 +
Then, edit your [[xorg.conf]] to reflect the following contents:<br>
 +
 
 +
{{hc|# xorg.conf -'man xorg.conf'
 +
# see also 'man savage' for more detailed options|
 +
  ...
 +
  Section "Device"
 +
    Identifier "gfxcard"
 +
    Driver "savage"
 +
  EndSection
 
    
 
    
===Power Management===   
+
  Section "Screen"
 +
    Identifier            "Screen0"  #Collapse Monitor and Device section to Screen section
 +
    Device                "gfxcard"
 +
    Monitor                "Monitor0"
 +
    DefaultDepth            16
 +
  EndSection
 +
  ...}}
 +
:→ See also: [[Xorg]]
 +
 
 +
====Advanced Installation====
 +
Thanks to Conor Behan for [https://bbs.archlinux.org/viewtopic.php?id=137666 this post] and [[User:Mulesryan|User:mulesryan]] for figuring out this chipset.
 +
 
 +
The savage driver supports two types of hardware acceleration: XAA and EXA. Unfortunately, you can use DRI for SuperSavage '''only if''' you are using XAA. Since you want hardware 3D (for instance, opengl/d3d in wine) then this is probably important.
 +
 
 +
This means you must run [[xorg-server]] < 1.13, because starting in 1.13 XAA was removed.
 +
 
 +
{| class="wikitable"  style="text-align:center"
 +
|-
 +
! Video Card !! Xorg Driver !! Mesa DRI Driver !! Packages needed for DRI
 +
|-
 +
| '''<span style="color: #2a6dc8;">S3 SuperSavage IX</span>'''
 +
| {{pkg|xf86-video-savage}} || {{Pkg|savage-dri}}<sup>†</sup> || {{pkg|xf86-video-savage}} (<2.3.6-2)<sup>‡</sup> {{pkg|xorg-server}} (<1.13)<sup>§</sup>, {{pkg|xf86-input-evdev}} (<2.7.3-2), {{pkg|xf86-video-fbdev}} (<0.4.3-2), {{pkg|xf86-video-vesa}} (<2.3.2-2) ||
 +
|}
 +
<sup>† - '--disable-shared-dricore' configure flag required (enabled by default in [[official repositories]])<br>‡ - '--enable-dri' configure flag required<br>§ - '--enable-dri' configure flag required<br></sup>
 +
 
 +
=====Configuration=====
 +
{{hc|xorg.conf|
 +
...
 +
Section "Extensions"
 +
        Option "Composite" "Enable"
 +
        Option "RENDER" "Enable"
 +
EndSection
 +
 
 +
Section "Device"
 +
        Identifier "gfxcard"
 +
        Driver "savage"
 +
        Option "hwcursor" "1"
 +
        Option "DPMS" "on"
 +
        Option "backingstore"
 +
        Option "BusType" "AGP"
 +
        Option "AGPMode" "4"
 +
        Option "AGPSize" "16"
 +
        Option "AccelMethod" "XAA"
 +
        Option "DRI" "true"
 +
        Option "BCIforXv" "true"
 +
        Option "AGPforXv" "true"
 +
EndSection
 +
 +
Section "DRI"
 +
    Mode 0666
 +
EndSection
 +
...}}
 +
 
 +
If you've set up everything correctly, you should see this in /var/log/Xorg.0.log:
 +
 
 +
[ 63286.129] (II) SAVAGE(0): [DRI] installation complete
 +
...
 +
[ 63286.132] (II) SAVAGE(0): Direct rendering enabled
 +
..
 +
[ 63286.233] (II) AIGLX: enabled GLX_SGI_make_current_read
 +
[ 63286.233] (II) AIGLX: Loaded and initialized savage
 +
[ 63286.233] (II) GLX: Initialized DRI GL provider for screen 0<br>
 +
 
 +
=====Troubleshooting=====
 +
 
 +
 
 +
[  2864.984] (EE) AIGLX: reverting to software rendering
 +
[  2865.028] (II) AIGLX: Loaded and initialized swrast
 +
[  2865.028] (II) GLX: Initialized DRISWRAST GL provider for screen 0
 +
Are you using the versions of the packages specified? Are you using XAA acceleration? Did you compile with the configure flags specified?<br><br>
 +
 
 +
===Power Management===
 +
{{Out of date|This section was written a long time ago, and may not reflect the current state of Arch Linux}}  
 
    
 
    
 
====Suspend and Hibernate====   
 
====Suspend and Hibernate====   
Line 14: Line 106:
 
to the kernel line in {{ic|/boot/grub/menu.lst}}
 
to the kernel line in {{ic|/boot/grub/menu.lst}}
  
[http://wiki.archlinux.org/index.php/Sleepmode Sleepmode ]
+
[[Sleepmode ]]
  
 
====Laptop Mode Tools====  
 
====Laptop Mode Tools====  
Line 20: Line 112:
 
   
 
   
 
====CPU frequency scaling====  
 
====CPU frequency scaling====  
Works as described in [[CPU Frequency Scaling]].
+
Works as described in [[CPU frequency scaling]].
 +
 
 +
====Tp_smapi====
 +
See [[Tp_smapi]]
  
 
===Hotkeys===     
 
===Hotkeys===     
Line 36: Line 131:
  
 
to {{ic|~/.xmodmap}}.
 
to {{ic|~/.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==   
 
==See also==   
 
* [http://www.thinkwiki.org/wiki/Category:T23 Thinkwiki]
 
* [http://www.thinkwiki.org/wiki/Category:T23 Thinkwiki]

Latest revision as of 20:06, 6 April 2016

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: This page may be missing instructions for certain hardware
Doesn't cover modem setup, could use a section on that. -- mulesryan (talk) 03:51, 8 Feb 2014 (CST) (Discuss in Talk:IBM ThinkPad T23#)

Configuration

Video Card

Easy Installation

Make sure Xorg is installed, and then install xf86-video-savage from the official repositories.

Then, edit your xorg.conf to reflect the following contents:

# xorg.conf -'man xorg.conf'
# see also 'man savage' for more detailed options
  ...
  Section "Device"
    Identifier "gfxcard"
    Driver "savage"
  EndSection
  
  Section "Screen"
    Identifier             "Screen0"  #Collapse Monitor and Device section to Screen section
    Device                 "gfxcard"
    Monitor                "Monitor0"
    DefaultDepth            16 
  EndSection
  ...
→ See also: Xorg

Advanced Installation

Thanks to Conor Behan for this post and User:mulesryan for figuring out this chipset.

The savage driver supports two types of hardware acceleration: XAA and EXA. Unfortunately, you can use DRI for SuperSavage only if you are using XAA. Since you want hardware 3D (for instance, opengl/d3d in wine) then this is probably important.

This means you must run xorg-server < 1.13, because starting in 1.13 XAA was removed.

Video Card Xorg Driver Mesa DRI Driver Packages needed for DRI
S3 SuperSavage IX xf86-video-savage savage-dri xf86-video-savage (<2.3.6-2) xorg-server (<1.13)§, xf86-input-evdev (<2.7.3-2), xf86-video-fbdev (<0.4.3-2), xf86-video-vesa (<2.3.2-2)

† - '--disable-shared-dricore' configure flag required (enabled by default in official repositories)
‡ - '--enable-dri' configure flag required
§ - '--enable-dri' configure flag required

Configuration
xorg.conf
 ...
 Section "Extensions"
        Option "Composite" "Enable"
        Option "RENDER" "Enable"
 EndSection

 Section "Device"
        Identifier "gfxcard"
        Driver "savage"
        Option "hwcursor" "1"
        Option "DPMS" "on"
        Option "backingstore"
        Option "BusType" "AGP"
        Option "AGPMode" "4"
        Option "AGPSize" "16" 
        Option "AccelMethod" "XAA" 
        Option "DRI" "true"
        Option "BCIforXv" "true"
        Option "AGPforXv" "true"
 EndSection
 
 Section "DRI"
    Mode 0666
 EndSection
 ...

If you've set up everything correctly, you should see this in /var/log/Xorg.0.log:

[ 63286.129] (II) SAVAGE(0): [DRI] installation complete
...
[ 63286.132] (II) SAVAGE(0): Direct rendering enabled
..
[ 63286.233] (II) AIGLX: enabled GLX_SGI_make_current_read
[ 63286.233] (II) AIGLX: Loaded and initialized savage
[ 63286.233] (II) GLX: Initialized DRI GL provider for screen 0
Troubleshooting
[  2864.984] (EE) AIGLX: reverting to software rendering
[  2865.028] (II) AIGLX: Loaded and initialized swrast
[  2865.028] (II) GLX: Initialized DRISWRAST GL provider for screen 0

Are you using the versions of the packages specified? Are you using XAA acceleration? Did you compile with the configure flags specified?

Power Management

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: This section was written a long time ago, and may not reflect the current state of Arch Linux (Discuss in Talk:IBM ThinkPad T23#)

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.

Tp_smapi

See Tp_smapi

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.

See also