I'm running suspend2-sources-2.6.16-r8 with hibernate-script-1.93-r6 Hibernation and suspend to ram work fine by running 'hibernate' and 'hibernate-ram' from the command line. However, when trying to use gnome-power-manager-2.14.3 I run into problems. Hibernation works fine but with suspend to ram the laptop can't come back up from suspend. I found out that g-p-m uses hal to do the suspend and hibernation. The suspend operation is performed by the script: /usr/share/hal/scripts/hal-system-power-suspend The script checks for /sys/power/state before /usr/sbin/hibernate-ram and so it attemps to use the raw kernel sysfs interface to suspend. I have an ATI card which makes this not work. The only way my laptop can suspend is by calling the hibernate-ram script. The hibernate script works fine because the script /usr/share/hal/scripts/hal-system-power-hibernate checks for /usr/sbin/hibernate before checking for /sys/power/state. I think it makes sense to check for the suspend2 scripts before attempting to use the raw kernel interface. I don't quite understand why this is so in the hibernate script but not in the suspend one.
Created attachment 100499 [details, diff] patch to fix suspend script
*** This bug has been marked as a duplicate of 133743 ***