Jump to content

Fix suspend to RAM on a HP8530p EliteBook on OpenSUSE 11.2

From www.ReeltoReel.nl Wiki

Suspend to disk works out of the box, but for suspend to ram you need to modify /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux:

change:

#We only support pm-utils
if [ -x "/usr/sbin/pm-suspend" ] ; then
      export NUM_SECONDS_TO_SLEEP=$seconds_to_sleep
      /usr/sbin/pm-suspend $QUIRKS
      RET=$?
else 
      # TODO: add support
      unsupported
fi

to:

# We only support pm-utils
#if [ -x "/usr/sbin/pm-suspend" ] ; then
#       export NUM_SECONDS_TO_SLEEP=$seconds_to_sleep
#       /usr/sbin/pm-suspend $QUIRKS
#       RET=$?
#else
#       # TODO: add support
#       unsupported
#fi
/usr/sbin/s2ram -f -p -s
  • Or upgrade to openSUSE 11.3, for in this version the suspend and hybernate works flawlessly. Also the video (with radeon driver) is perfect.