Fix suspend to RAM on a HP8530p EliteBook on OpenSUSE 11.2

From www.ReeltoReel.nl Wiki
Revision as of 16:00, 8 January 2011 by Root (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.