Installing Ubuntu on a ThinkPad X22
Ubuntu 7.04, Feisty
By default, the installation select the "ati" driver, everything is fine but if you select "radeon" instead, XGL give less error.
Check it by 'grep "WW\|EE" /var/log/Xorg.0.log'
The xorg.conf that works for X22 should look like this:
Section "Device" Identifier "Card0" VendorName "ATI Technologies Inc" BoardName "Radeon Mobility M6 LY" Driver "radeon" BusID "PCI:1:0:0" EndSection
Section "Monitor" Identifier "Generic Monitor" Option "DPMS" EndSection
Section "Screen" Identifier "Default Screen" Device "Card0" Monitor "Generic Monitor" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1024x768" EndSubSection EndSection
By default in the section of your screen, the DefaultDepth is 24 but X22 don't have enough video memory to enable this setting, change it to 16 and DRI will be ok. You just double your FPS under glxgears :D
Reporting by powertop, gnome is not so good for battery life and ibm_acpi neither, maybe you have to choose between comfort and some shortcuts ...
Section "InputDevice" Option "EmulateWheel" "on" Option "EmulateWheelButton" "2" Option "YAxisMapping" "4 5" EndSection
Ubuntu 5.10, Breezy
NOTE: during kernel configuration, in device drivers -> ata be sure to say N to 'generic/default IDE chipset support', and Y to 'Intel PIIXn chipsets support'. This will allow for much faster suspend.
To enable suspend by pressing(instead of the power button recommended in the howto), edit /etc/acpi/events/ibm-hibernatebtn and change the action line to read
Ubuntu 5.04, Hoary
Ubuntu 5.04 (Hoary) Just Works on the X22.
However, ACPI suspend to ram is disabled by default. To enable it, edit /etc/default/acpi-support and uncomment the line
This will allow suspend by pressing
By default, closing the lid blanks the screen, but does not suspend. To suspend on lid close, edit
/etc/acpi/events/lidbtn and change the action line to read