Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152163 - sys-apps/hal-0.5.7.1-r1: bad suspend script
Summary: sys-apps/hal-0.5.7.1-r1: bad suspend script
Status: RESOLVED DUPLICATE of bug 133743
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 13:56 UTC by Serge Gavrilov
Modified: 2006-10-30 11:38 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 Serge Gavrilov 2006-10-20 13:56:16 UTC
/usr/share/hal/scripts/hal-system-power-suspend, which is used by gnome-power-manager, tries different methods to put the computer to sleep state.

It tries 

echo "mem" > /sys/power/state

BEFORE 

/usr/sbin/hibernate-ram

This is a bug, since many laptops need to unload some modules etc before going to sleep, so the people use hibernate-ram. Therefore a system with hibernate-ram 
correctly configured  goes to sleep in a wrong way.

Just for case 

/usr/share/hal/scripts/hal-system-power-hibernate

does not affected to this bug, since in the last case the order is correct.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-10-20 14:28:57 UTC
dup of bug 133743
Comment 2 John N. Laliberte (RETIRED) gentoo-dev 2006-10-30 11:38:53 UTC

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