Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 152163

Summary: sys-apps/hal-0.5.7.1-r1: bad suspend script
Product: Gentoo Linux Reporter: Serge Gavrilov <serge>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***