You are not logged in.

#1 2007-12-08 07:15:10

lithium
Member
Registered: 2007-09-18
Posts: 76

Suspend to Disk

First off, I apologize if this is answered somewhere because it seems obvious but I couldn't find the information. I was able to set up suspend to disk and suspend to ram using the PM Utils Wiki article (http://wiki.archlinux.org/index.php/Pm-utils). Kudos to Arch for making this so easy, on other distributions the procedure was so long that I didn't even bother reading it.

Anyway, pm-suspend and pm-hibernate both work as expected. I can call both of those programs and they'll work. However, I want something that will manage this automatically for me so I can configure the laptop to suspend after 30 minutes of inactivity and hibernate after an hour (or lid close or whatever). I found gnome-power-manager but that seems to require gnome and I run openbox. Plus I'm not using X alot of the time and I'd like these power management policies to apply then as well. Is there such a daemon? Something obvious I missed?

Also, there is a warning in /var/log/pm-suspend.log.

Failed to open connection to system message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

It occurs on suspend, resume, hibernate, and thaw in all cases after the following line:

===== Fri Dec  7 21:47:43 PST 2007: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====

Thanks.

Offline

#2 2007-12-08 07:58:38

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: Suspend to Disk

Take a look at the hibernate-script package in extra.


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#3 2007-12-08 08:38:37

lithium
Member
Registered: 2007-09-18
Posts: 76

Re: Suspend to Disk

OK, that definitely seems useful.

But you still have to call that manually, right? I'm trying to find something that allows me to make settings like these: http://www.gnome.org/projects/gnome-pow … efs-ac.png (how much inactivity until hibernation, what to do if lid is closed, etc.), but not graphically.

Offline

#4 2007-12-09 22:59:09

Doehni
Member
From: Germany
Registered: 2007-05-19
Posts: 175

Re: Suspend to Disk

Maybe also have a look at acpi settings and laptop-mode-tools...

Offline

#5 2007-12-10 05:07:59

lithium
Member
Registered: 2007-09-18
Posts: 76

Re: Suspend to Disk

ACPI is definitely where a lot of the settings should go for things like closing the lid and pressing the power button but it only acts in response to an ACPI event. I also need something that will see that my system has been idle for X minutes and suspend to disk at that point. gnome-power-manager seems to do this but it requires GNOME, which I really don't want.

laptop-mode-tools seems to be primarily concerned with disk write activity.

Offline

Board footer

Powered by FluxBB