Installing Ubuntu on a ThinkPad X22
Ubuntu 5.10 (Breezy) has problems with suspend to disk (hibernate) and suspend to ram (sleep) on the X22.
However, Suspend2 works well, and is fast enough to be a useful replacement for sleep. The following howto explains the installation process: http://ubuntuforums.org/showthread.php?t=75443
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 FnF12 (instead of the power button recommended in the howto), edit /etc/acpi/events/ibm-hibernatebtn and change the action line to read
action=/usr/sbin/hibernate