Difference between revisions of "IBM ThinkPad T23"

From ArchWiki
Jump to: navigation, search
(Sleepmode)
(Sleepmode)
Line 16: Line 16:
 
  resume=/dev/disk/by-uuid/"your-swap-uuid"  
 
  resume=/dev/disk/by-uuid/"your-swap-uuid"  
 
to the kernel line inside /boot/grub/menu.lst. find your  
 
to the kernel line inside /boot/grub/menu.lst. find your  
/dev/disk/by-uuid/
+
[http://wiki.archlinux.org/index.php/Sleepmode Sleepmode ]
for the swap Partition by
+
/bin/ls -lF /dev/disk/by-uuid/
+
and put it behind
+
kernel /vmlinuz26 root=/dev/disk/by-uuid/"uuid" resume=/dev/disk/by-uuid/"your-swap-uuid" vga=792 ro
+
You can use it perfectly with [http://www.archlinux.org/packages/?q=gnome-power-manager gnome-power-manager ]
+
  
 
====Laptop Mode Tools====  
 
====Laptop Mode Tools====  

Revision as of 11:31, 22 October 2009


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.

Sleepmode

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

resume=/dev/disk/by-uuid/"your-swap-uuid" 

to the kernel line inside /boot/grub/menu.lst. find your Sleepmode

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.

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 _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.

Other Resources

Thinkwiki