Home | Bug Tracker | Wiki | Mailing Lists | Forums | Download  
   Username:  Password:  Signup
   
   Main Menu
· Home
· Search
· Site Stats
   Donate to Parsix
Help us to move faster and make a better system for you. Donations are highly appreciated.

Donations 2009: $ 0,00
   Search
   Bug Report
Help us to fix problems and defects. Please report bugs here.
   Online Users
Admin
No Online Admins
Members:Online
Members:Members:3
Guests:Guests:22
Total:Total:25
Online Members
Onlinecmost
Onlinemsdisatis
Onlineitline
   Sponsored Links



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
pelle.kOffline
Post subject: Add pm-utils as a suspend/hibernate framework  PostPosted: 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?
 
 View user's profile Send private message  
Reply with quote Back to top
alanOffline
Post subject: RE: Add pm-utils as a suspend/hibernate framework  PostPosted: Mar 15, 2008 - 03:26 PM
Developer
Developer


Joined: Jan 25, 2005
Posts: 341
Location: Glendale, California
Status: Offline
Notice that Parsix uses TuxOnIce as suspension/hibernate backend.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
pelle.kOffline
Post subject: RE: Add pm-utils as a suspend/hibernate framework  PostPosted: 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).
 
 View user's profile Send private message  
Reply with quote Back to top
pelle.kOffline
Post subject: RE: Add pm-utils as a suspend/hibernate framework  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 8 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Copyright© 2005-2009 Parsix Project
Contact: webmaster AT parsix DOT org