You are not logged in.

#1 2008-03-01 07:39:24

tofu
Member
Registered: 2008-02-26
Posts: 42

Help with getting Standby/Sleep and Suspend/Hibernate to work

I installed xfce as my desktop manager. There does not seem to be an option anywhere for standby nor suspend.

I tried to look through the archlinux to see if i could find sleep (which is the function i want) but i could not find any guides that were written for it.

There were some that talked about KDE and standby, but I would rather use Xfce on my box. I looked at how Zenwalk did standby and hibernate - it linked to a script. Is there such a script for sleep/standby feature for archlinux?

I also tried to get the pm-suspend and pm-hibernate to work, but it seems to fail. - this issue would be a second priority after sleep function.

As i was sifting through pages, i came upon one terminal command that would initiate sleep

"echo -n mem > /sys/power/state" but it doesnt seem to last - it goes sleep and then immediately wakes up.

My laptop is the Thinkpad T61 14.1" - Is anyone able to help or found a way to get sleep and suspend working in archlinux? (hibernate/suspend didnt seem to work in zenwalk, but sleep did)

Offline

#2 2008-03-01 08:20:26

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: Help with getting Standby/Sleep and Suspend/Hibernate to work

I use XFCE with gnome-power-manager to handle suspend/resume.

Offline

#3 2008-03-01 08:57:29

tofu
Member
Registered: 2008-02-26
Posts: 42

Re: Help with getting Standby/Sleep and Suspend/Hibernate to work

Allan, did you have to do any customizing? When I attempt to put it to sleep, it just wakes up again. If i put it to hibernate, it restarts the computer, freezes the images, and then i cant do anything.

The hot key for the Thinkpad seems to work for Sleep(suspend) and Hibernate but they dont actually work...  Still looking for alternatives....

Suspend and Hibernate doesnt show up on my XFCE menu, how do you do it without hotkeys?

Offline

#4 2008-03-01 09:09:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: Help with getting Standby/Sleep and Suspend/Hibernate to work

What do you get in /var/log/pm-suspend.log?

Offline

#5 2008-03-01 16:59:04

tofu
Member
Registered: 2008-02-26
Posts: 42

Re: Help with getting Standby/Sleep and Suspend/Hibernate to work

Sat Mar  1 08:57:24 PST 2008: running suspend hooks.
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/01grub =====
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/11netcfg =====
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/20video =====
kernel.acpi_video_flags = 0
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/49bluetooth =====
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/65alsa =====
===== Sat Mar  1 08:57:24 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/90clock =====
===== Sat Mar  1 08:57:26 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Sat Mar  1 08:57:26 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Sat Mar  1 08:57:26 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/99video =====
Sat Mar  1 08:57:26 PST 2008: done running suspend hooks.
Sat Mar  1 08:57:42 PST 2008: running resume hooks.
===== Sat Mar  1 08:57:42 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/99video =====
===== Sat Mar  1 08:57:42 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Sat Mar  1 08:57:42 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Sat Mar  1 08:57:42 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/90clock =====
===== Sat Mar  1 08:57:43 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/65alsa =====
===== Sat Mar  1 08:57:43 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
method return sender=:1.0 -> dest=:1.16
   boolean true
===== Sat Mar  1 08:57:43 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Sat Mar  1 08:57:43 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/49bluetooth =====
===== Sat Mar  1 08:57:43 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/20video =====
===== Sat Mar  1 08:57:43 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/11netcfg =====
===== Sat Mar  1 08:57:43 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Sat Mar  1 08:57:43 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Sat Mar  1 08:57:43 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/01grub =====
===== Sat Mar  1 08:57:43 PST 2008: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
Sat Mar  1 08:57:43 PST 2008: done running resume hooks.


--- if it helps, I am running the nvidia drivers....

Offline

#6 2008-03-01 17:15:04

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Help with getting Standby/Sleep and Suspend/Hibernate to work

Take a look at this post and it may give you some ideas http://bbs.archlinux.org/viewtopic.php?id=44433.  This was on a t21 thinkpad but it might well be applicable on a t61 as well.  Like allen said you may have to use some other sort of power manager or make some custom icons on your desktop maybe.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

Board footer

Powered by FluxBB