Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158004 - hal has wrong order in /usr/share/hal/scripts/hal-system-power-suspend
Summary: hal has wrong order in /usr/share/hal/scripts/hal-system-power-suspend
Status: RESOLVED DUPLICATE of bug 133743
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-13 03:14 UTC by Roger Binns
Modified: 2006-12-13 03:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Binns 2006-12-13 03:14:33 UTC
The script  /usr/share/hal/scripts/hal-system-power-suspend looks for a variety of ways to do a suspend to ram.  In the current Gentoo, the last two actions tried are:

1: echo mem into /sys/power/state
2: use /usr/sbin/hibernate-ram

These should be the other way round.  If the hibernate scripts have been installed then they should be used first as they do a whole bunch of other stuff and then echo into /sys/power/state.  If hibernate scripts are not installed then it doesn't matter.

As a data point, my laptop will not come out of suspend correctly if only approach #1 is taken (pcmcia is borked).  Using hibernate-ram works perfectly.

You may also want to fix this whole script to remove redundant items (eg looking for Redhat or Suse specific commands)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-13 03:23:26 UTC

*** This bug has been marked as a duplicate of 133743 ***