| Author |
Message |
pelle.k
|
|
Post subject: Add pm-utils as a suspend/hibernate framework
Posted: Mar 15, 2008 - 05:24 AM
|
|
Joined: Feb 23, 2008
Posts: 25
Location: Sweden
Status: Offline
|
|
I was wondering if you would consider adding pm-utils i.e pm-suspend to /usr/lib/hal/scripts/hal-system-power-suspend, so that if i uninstall "hibernate" i can rely on "pm-utils" instead?
Also, do feature requests go in the bugtracker? |
|
|
| |
|
|
|
 |
alan
|
|
Post subject: RE: Add pm-utils as a suspend/hibernate framework
Posted: Mar 15, 2008 - 03:26 PM
|
|
Developer

Joined: Jan 25, 2005
Posts: 341
Location: Glendale, California
Status: Offline
|
|
| Notice that Parsix uses TuxOnIce as suspension/hibernate backend. |
|
|
| |
|
|
|
 |
pelle.k
|
|
Post subject: RE: Add pm-utils as a suspend/hibernate framework
Posted: Mar 15, 2008 - 07:34 PM
|
|
Joined: Feb 23, 2008
Posts: 25
Location: Sweden
Status: Offline
|
|
| I understand that. But, gnome-power-manager calls hal, that calls /usr/lib/hal/scripts/hal-system-power-suspend because of a power managment policy, and that script only tries hibernate-ram, while it could easily try pm-suspend as well. I have already edited hal-system-power-suspend to utilize pm-suspend if hibernate-ram isn't installed, so what i'm asking is if you could do the same thing upstream, so other people can use pm-utils to suspend if hibernate scripts doesn't work right (which it doesn't in my case). |
|
|
| |
|
|
|
 |
pelle.k
|
|
Post subject: RE: Add pm-utils as a suspend/hibernate framework
Posted: Mar 31, 2008 - 05:08 AM
|
|
Joined: Feb 23, 2008
Posts: 25
Location: Sweden
Status: Offline
|
|
Sorry to bump this thread, but, again, do feature requests go in the bugtracker?
Also, did you follow my reasoning in the above post? The work needed to support pm-utils is minor really. Look at the diff of then old vs modified /usr/lib/hal/scripts/hal-system-power-suspend;
Code:
13c13,18
< unsupported
---
> if [ -x "/usr/sbin/pm-suspend" ] ; then
> /usr/sbin/pm-suspend
> RET=$?
> else
> unsupported
> fi
|
|
|
| |
|
|
|
 |
|
|
|
|