LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-10-2008, 11:02 AM   #16
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351

Quote:
Originally Posted by bogzab View Post
I looked at the discussion on the lock files and this indeed seemed to be the problem which stopped my calls to pm-suspend and pm-hibernate working. Deleted the lock file and tested again, now a bit more confident that my lilo.conf and mkinitrd.conf files were correct (is it right that the "RESUME=" entries should have the swap partition as the parameter?).
Yes, that's correct.

Quote:
pm-suspend then worked OK with my usual nvidia-supplied X driver, but again installing the nv driver screwed things up, this time quite badly when attemptng a pm-hibernate. Awaking from the hibernation failed and subsequent re-boot required a lot of fsck on the root file system to correct errors which seem to have arisen (there were references to .Xauthority and /var/run/pm-utils among the filesystem fixes that fsck undertook). Finally got back to bootable (and undamaged as far as I can make out) system, changed back to the nvidia driver and both pm-suspend and pm-hibernate working again.
Hrm, I wish I had hardware to test the nv driver and try to reproduce that, but unfortunately, I don't.

Quote:
Conclusion for me : Apart from ability to bibernate, no obvious gain over using other utilities that I have (KDE Klaptop "suspend" function and "acpitool -s" both of which seem to work (but only with the nvidia driver), and have the advantage for me in routine use of not having to be run as root.
The obvious gain is that pm-utils is the backend used by HAL for power management functions. Basically, the HAL methods perform calls to pm-utils by default. The benefit is that (depending on hardware, of course), assuming a power management daemon is installed, it will "just work" without any custom user setup.

As an example, I'm currently using a recent subversion snapshot of what will eventually be Xfce 4.6 and a not-quite-there subversion snapshot of the xfce4-power-manager goodie. I've disabled my custom acpi scripts and let xfce4-power-manager handle all of it. It allows me to configure (in a gui) what actions I want to happen when the power button is pressed, when the lid is closed, and so on, as well as different "profiles" for AC and battery usage. As an added aside, the xfce4-power-manager is developed by a Slackware user, so that's a plus :-)
 
Old 11-10-2008, 11:04 AM   #17
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Oh, one other note, the most reliable testing of this stuff will be in -current, since now we have the latest stable kernel and hal-info releases...
 
  


Reply

Tags
suspendtoram



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome-powermanager suspend error (quriks/pm-utils) vatten Linux - Software 0 09-06-2008 09:24 AM
Nothing on display after suspend/resume rangalo Debian 2 06-26-2007 04:19 AM
No resume from suspend mehlkelm Debian 3 11-22-2005 10:48 AM
ssh ->suspend and resume... alaios Linux - Networking 4 01-10-2005 11:57 PM
resume and suspend pthreads okhan Programming 3 07-30-2004 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration