computer low-power mode, including suspend-to-RAM and suspend-to-disk

learn more… | top users | synonyms

7
votes
1answer
468 views

Auto-Mounting CIFS Shares on Laptop

I've seen questions similar to this asked before in several variations, but I have yet to locate a satisfactory answer. Here's what I have: A highly mobile Debian laptop that switches networks ...
1
vote
0answers
53 views

Ubuntu Precise — suspend wedges GDM — help!

I've been a very happy Ubuntu user for many years, and worked my way past any number of problems, but I've never seen anything like this. Recently I got a new machine and installed 12.04 Precise on ...
1
vote
0answers
250 views

Configuring what commands xfce4-session-logout runs

The suspend command run when selecting ‘suspend’ from xfce4-session-logout does not work on my machine. I need it to run s2ram -f -a 1. Where do I change what is being run to suspend the system?
1
vote
1answer
3k views

Linux Mint 15: Oliva can't wake from suspend/hibernate?

As most issues people have had, I can't wake my laptop from suspend or hibernate mode. The computer goes to the lock screen and then freezes up to the point where the mouse won't move, forcing me to ...
2
votes
1answer
764 views

LinuxMint15: Suspend to RAM not working

I just installed LinuxMint15 on an Acer Aspire V3-771G-73638G500Maii. Hibernation works. But suspend to RAM does not. When clicking suspend: After a few seconds the screen goes grey and then off. ...
1
vote
1answer
321 views

How to trigger mount/umount before/after hibernation?

How to trigger mount/umount before/after hibernation? I use s2disk. Note: Debian
10
votes
3answers
10k views

How to disable USB autosuspend on kernel 3.7.10 or above?

I've updated my HTPC from kernel 3.7.10 to 3.10.7 and it seems CONFIG_USB_SUSPEND is now gone from the kernel options and included in PM. The main problem I'm facing is that I have an external HDD ...
2
votes
2answers
433 views

command not running in cron (systemctl suspend)

I have this cronjob set : * * * * * /usr/bin/systemctl suspend And it is not working. But I can run it in a shell and it works. I don't understand what could be not working. EDIT Redirecting error ...
12
votes
1answer
1k views

How do I make my laptop sleep when it reaches some low battery threshold?

I'm using Ubuntu, but I have i3 as my window manager. Under i3, when my battery reaches 0%, the computer will just abruptly shut down, no warning or anything. Is there a simple script or ...
4
votes
1answer
1k views

Where is the log for ACPI events?

Running Mint 14. Sometimes I can suspend fine, but after my computer is on for a while, it no longer suspends. It wakes up after a second or so without any external inputs. My guess is that I'm ...
5
votes
1answer
3k views

suspend AND lock screen on closing lid in arch/systemd

what is the most straightforward way to lock the screen AND suspend when closing the lid? I'm using event hooks in /etc/systemd/logind.conf and successfully suspend upon closing the lid. However I'm ...
3
votes
0answers
157 views

how to stop Clementine playback on suspend using systemd

As the title says, I'm trying to stop Clementine playback using DBus before entering suspend mode. Here is my service file right now: [Unit] Description=Stop Clementine playback before suspend ...
2
votes
0answers
209 views

Waking an Ibook G4 (powerpc) running Debian Linux from suspend based on timer

I have recently received an Ibook G4 from a friend. I plan to use it as a server and have installed Debian Wheezy (7.0.0, release version) on it. However, I would like to suspend it at some points ...
3
votes
2answers
393 views

How to encrypt my system such that suspend to RAM works and is also encrypted

How can I encrypt my system (at best using lvm + dm-crypt/luks) such that suspend to RAM works and that everything is in an encrypted state when suspended to RAM?
2
votes
2answers
1k views

Screen very dim after resume from suspend

I'm unable to resume from 'Suspend to RAM'. It resumes properly, albeit with a very very dim screen (so dim I can barely make out the desktop). Trying to brighten the screen using the Fn keys doesn't ...
0
votes
1answer
65 views

Changing suspend order on OpenSUSE 12.2

This question seems more relevant here than SO. I've been trying to debug a library that X uses through a GDB session that I'm running through SSH, but it seems that on OpenSUSE, the SSH session is ...
4
votes
1answer
487 views

Suspending laptop fails ~50% of the time

Running ArchLinux and GNOME 3 on a Thinkpad X220. When I suspend my laptop it goes into sleep mode and the LED ring around the power button fades in and out. When a suspend fails, the LED ring and ...
1
vote
1answer
251 views

A drive changes device file name after resuming from suspend (Linux Mint 14)

I'm running into a very odd problem: When I resume Mint 14 from suspend, one of my drives (/dev/sdc) changes letter / device file name (to /dev/sdd). fdisk -l shows that it has the same partitions, ...
2
votes
1answer
82 views

Can e2fsck be suspended?

I have a large hard disk partition. I would like to launch e2fsck on it so that i shall suspend its progress, be able to reboot and resume e2fsck from where it was suspended.
5
votes
3answers
1k views

Where to put scripts that run when computer is resumed?

I need to lock the screen when my computer is waken up from memory suspend, So I tried to put the following script to /usr/lib/pm-utils/sleep.d and /etc/pm/sleep.d, but it never got executed, ...
3
votes
1answer
143 views

Turn on PC speaker after resume

After resuming from suspend my PC speaker becomes silent. I need to run alsamixer and arbitrarily adjust its volume either up or down for it to come back again. But if I suspend and then resume a ...
8
votes
2answers
608 views

System-wide power management policy on debian-based distros?

I would like to put idle machines in our lab (running Mint Debian edition) on standby after a timeout. I have tried pm-suspend and it puts the machines on standby and wakes up fine. Does anybody know ...
3
votes
1answer
461 views

Kubuntu doesn't reconnect to Wifi after waking up from sleep

I just installed Kubuntu on my laptop and it's working fine so far, except the wireless connection is not switched on after waking up from sleep. I do have to click "Enable wireless" so that it ...
33
votes
1answer
27k views

How to disable auto suspend when I close laptop lid?

I'm using archlinux. It never auto-suspend before a recent system upgrade(maybe I updated the kernel?). I think it is related to laptop-mode or acpid, so I stop them: /etc/rc.d/laptop-mode stop ...
1
vote
1answer
335 views

Thinkpad T400: Suspend to HD doesn't resume

I've got a Thinkpad T400 with Gentoo Linux installed. Suspend-to-RAM works like a charm. However, Susped-to-Disk doesn't work: if I suspend, the Laptop powers down and accesses the HD for around 30s. ...
1
vote
2answers
342 views

Can't set a blacklist for usb autosuspending

I'm trying to disable usb autosuspend for my wireless USB mouse: CONTROL_USB_AUTOSUSPEND="auto" AUTOSUSPEND_USE_WHITELIST=0 AUTOSUSPEND_USBID_BLACKIST="046d:c52f" I already put these values to ...
7
votes
1answer
495 views

Is it possible to automatically wake from suspend?

Here's my problem: I have a laptop running Arch that I just keep on at home. It's got a good 4 hour battery life, but sometimes my daughter is playing near where it's kept and ends out pulling the ...
2
votes
3answers
2k views

Arch suspend when I close laptop lid?

I'm in fluxbox on Arch on a Macbook 5,1. New to linux. I'm trying to get Arch to suspend when I close my laptop. Lately I've just been using sudo pm-suspend. I installed slimlock, and inserted ...
2
votes
0answers
856 views

Black screen on resume from suspend to RAM

This is my first post so please bear with me. I have Xubuntu(12.04) and Fedora17KDE spin installed on my netbook. While Xubuntu wakes up neatly, Fedora gets stuck at the black screen while resuming. ...
3
votes
0answers
178 views

Sleep key stops working after some time

I've got a "Sleep" key on my keyboard that I use to suspend the system when I'm away from the computer for a longer time. This works fine, at least for a while after I've turned the computer on. ...
0
votes
2answers
433 views

Will suspension or hibernation of OS suspend running programs?

I am running a program in my terminal. BUt I need to suspend or hibernate the OS (Ubuntu 12.04) for a while. Do I have to Ctrl-Z my running program before doing that? Or will suspension or hibernation ...
11
votes
4answers
412 views

In bash, what are potential negative consequences of pausing a process with control-z?

Using bash, one can pause a process with control-z. However, are there any general circumstances or guidelines to beware of where a process would not behave well with being paused? My specific ...
3
votes
1answer
346 views

Graphics dim, but mouse cursor not dim

When I resume from suspend-to-ram often the graphics on my internal screen is dim (around 30-50% intensity). Initially I thought it might be the backlight, but the mouse cursor is not dimmed - only ...
4
votes
1answer
2k views

Run a script after lid is opened

I would like to run a script after my laptop lid is opened. is there anything like rc.local that is run after the laptop wakes up after suspending? I use Ubuntu 12 (I need it because some of the ...
5
votes
2answers
896 views

How do I prevent GNOME suspending while I finish a compilation job

I am trying to build a custom kernel for my machine which is taking a long time to build (as expected). Is it possible to stop my GNOME desktop from suspending the machine until the compilation has ...
2
votes
2answers
1k views

Removing supend and hibernate privileges

On OpenSUSE 12.1 x86_64, Gnome 3.2 . I want to remove the suspend and hibernate options from the Gnome (Shell) menu as suspend makes no sense IMO for a desktop hibernate has a slight tendency to ...
2
votes
0answers
1k views

My laptop is not able to recover from suspend and hibernate

I have a acer aspire 5750G laptop. I am running ubuntu 11.04. The uname -a reads the following: Linux admin-Aspire-5750G 2.6.38-13-generic-pae #56-Ubuntu SMP Tue Feb 14 14:32:30 UTC 2012 ...
8
votes
3answers
4k views

How to debug a suspend problem?

I used to have Fedora 14 installed on this HP Compaq 610, and the suspend feature worked fine. Now that I've installed Scientific Linux 6.1 suspend doesn't work anymore. How do I debug/fix it?
0
votes
0answers
865 views

How to make front audio jack work again after waking up from suspend?

Sometimes, after I wake up from suspend (using pm-suspend), the front audio jack stops working (no sound) after I wake up my laptop. Only after a full reboot I get it to work again. My laptop is an ...
8
votes
4answers
2k views

Suspend/resume single process to/from disk

On occasion, we would like to suspend memory-intensive processes on our Ubuntu and OS X servers to temporarily free up some RAM for other jobs. If all we were worried about was CPU usage, a simple ...
3
votes
2answers
554 views

Determine time of last suspend(-to-ram)

I have a backup script that is run each night. If my (Linux-) host is suspended it is woken up by another host before the script runs. I would like to be able to suspend my host again after the ...
4
votes
2answers
588 views

Laptop does not power off after it has been suspended to ram

I suspend my laptop using echo mem > /sys/power/state. That works fine and it resumes nicely. Once I try to power it off, it shuts down fine until i see the message Power down. (or similar). ...
3
votes
1answer
524 views

openSUSE 11.4 doesn't wake up from suspend to ram, sometimes doesn't logout

I have openSUSE 11.4 on a vaio S series laptop, using KDE, and it is nearly up-to-date. Everything was fine but after an update (whose details I can't remember), these problems appeared: Nearly ...
3
votes
2answers
5k views

ACPI wakeup from keyboard/mouse via /proc/acpi/wakeup after suspend. How to find the correct device?

I'd like to wakeup my system via keyboard or mouse. This can be done via /proc/acpi/wakeup and a simple echo DEVNAME > /proc/acpi/wakeup my wakeup file looks like this Device S-state ...
3
votes
1answer
801 views

Debian wake up from suspend password

I am using Debian Squeeze. When I suspend my laptop and wake it up again later, it doesn't ask for the system password. How do I fix this?
3
votes
0answers
1k views

Make laptop to wake up by keyboard and mouse

The only way I can wake up my laptop (HP Elitebook 8460p) from suspend is by pressing the power button. Neither the built-in keyboard/mouse nor the external ones (connected via USB) wake the laptop ...
2
votes
1answer
938 views

how to detect a laptop hibernate/resume(close lid,open) in osx from a bash script

This is a follow on question to how to trap a suspend a resume from a bash script How do you a trap the event that occurs when you close the lid and later reopen it from a bash script?
1
vote
2answers
1k views

how to trap a suspend a resume from a bash script

I have a bash script (on osx) running continuously, it currently traps and handles a terminate like so trap onshutdown TERM how can I make trap also handle suspend/resume like trap onsuspend ? ...
5
votes
1answer
633 views

How to stop application from being suspended by Ctrl+z?

Currently I'm running dvtm inside a terminal, and vim inside dvtm. When I press Ctrl+z intending to suspend vim, dvtm got suspended instead. I didn't have this problem with screen or tmux, so I think ...
1
vote
2answers
821 views

S3 sleep problems — nVidia or Intel H67 (Sandy Bridge motherboard) issue?

I have a new Sandy Bridge i5-2500 and Intel H67 motherboard. As the onboard video didn't work, I put in an older 8600 gts graphics card. However, the S3 suspend won't work (and I can't test without ...