I have created a Suspend Howto to cover how to set up suspend-to-RAM and suspend-to-disk in Ubuntu. Check it out at https://www.ubuntulinux.org/wiki/SuspendHowto