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

learn more… | top users | synonyms

2
votes
1answer
142 views

Disable suspending at kernel level (independent of distribution, DE and logged user or login screen)

I have a not very well working gfx card (nVidia geForce Go 7400) in my old laptop which prevents the screen from switching back on after waking up from suspending. The system (Ubuntu 14.10) resumes, ...
1
vote
0answers
142 views

Disable KMS on Debian Sid

I've recently started having trouble resuming my Sid laptop from suspend. I'm not sure if this was caused by an upgrade or by me tinkering to try and get a splash screen working, but anyway, I have my ...
1
vote
1answer
768 views

Fedora 21 - Problem waking up after suspend

I recently installed a Fedora 21 64-bit workstation. In the Power tab of GNOME Tweak Tool, I set the option Power Button Action to Suspend - The power indicator LED on my laptop usually starts ...
0
votes
1answer
254 views

Kernel ATA Exception after resume from suspend to RAM

After resuming from suspend to RAM, my Arch Linux system freezes and becomes permanently unresponsive. However, I managed to pull the following kernel log: kernel: sas: Enter sas_scsi_recover_host ...
1
vote
1answer
330 views

Why Linux inside KVM gets busy after I put the host to suspend-to-ram?

I run another Linux instance inside KVM on my laptop. When I suspend-to-ram the laptop and wake it up again, the guest Linux starts consuming 100% CPU for some time (maybe proportional to the sleep ...
1
vote
0answers
56 views

Initialize USB keyboard attached while suspended

I have a laptop that I sometimes want to use with separate peripherals; external monitor, external keyboard and external mouse. When in this mode, I want to keep the laptop closed and tucked away (as ...
1
vote
2answers
544 views

Suspend button does not work when xscreensaver is active on xfce Debian

I've Debian jessie and xfce. When I push the power button, my system is suspended. When I press any key on my keyboard the system wake up and I get the login prompt of Xscreensaver (screen lock is ...
1
vote
1answer
743 views

suspend doesn't work after upgrading to Debian 7.8

On 2 partitions of my HD I have installed Debian 7.7 and Debian 7.8 (upgraded from 7.7). The first OS has "suspend" to ram or disk working, the latter not anymore. I made some tests, changing home ...
0
votes
0answers
823 views

Black screen after resume?

I have an Asus laptop (Cr400) running Mint 17.1. If the machine is put into sleep and then resumed, I get a black screen. I can use Ctrl -Opt-F1 to switch to a command line, but that hangs at a ...
3
votes
0answers
96 views

Running script before suspending while using dbus

I have a file: /etc/pm/sleep.d/85rmNvidiaModule. In it I have: #!/bin/bash case $1 in suspend) echo "Oh, this time we are doing a suspend to RAM. Cool!" sudo modprobe -r ...
0
votes
0answers
329 views

How do I prevent SD card from dismounting when suspended?

I have Android Studio installed in my SD card. When it's running and the system is suspended, java starts throwing a bunch of I/O error. Is there a simple way of disabling this so that the SD card ...
1
vote
0answers
110 views

Suspend options with KDM greeter

I am not able to suspend my desktop to RAM from the KDM greeter. I am able to suspend it to RAM when logged into KDE using the sleep option from the logout menu and by pressing the sleep key on my ...
2
votes
0answers
46 views

how to identify process which blocks suspend/hibernate

I have an intermittent problem with a laptop that doesn't sleep/hibernate after lid is closed. And I have no idea why. I suspect that some process blocks sleeping/hibernating. How can I identify ...
1
vote
1answer
40 views

How to propagate TSTP while running a program as a different user

I'm running a terminal application via "su" in this fashion: su -c "/path/to/app --args" username This is done from a root context, and 'username' is a less privileged user in the system. The ...
0
votes
2answers
212 views

How is RAM shared between multiple OS on suspend?

Just a quick question really. I noticed that on either partition, Linux or Windows, that I may suspend either system and then boot into the other. Since suspending an OS does not write data to disk, ...
1
vote
0answers
458 views

Debian blackscreen after suspend

After fully updating my laptop after a few weeks downtime and now the suspend function isn't working anymore. It does suspend my laptop but on the wake-up it only starts the HDD agian but the ...
3
votes
2answers
110 views

Lock system after awake suspend (incl. forced-shutdowns system after countdown)?

For speed and convenience I do not shutdown my system when I am only gone some minutes, but do a pm-suspend! When the system "unsuspends"/resumes I would like that there is a (screen)lock (on X and ...
1
vote
1answer
575 views

What is the suspend procedure in KDE?

I've been reading this question, and I'm wondering what is the procedure for suspending in KDE? Whether to RAM or to disk.. When I click suspend, or close the lid, what gets triggered? What is the ...
5
votes
2answers
340 views

Suspend to RAM not working

I get following error when I try to suspend my laptop: failed to check authorisation: GDBus.Error:org.freedesktop.DBus.Error.Service.Unknown: The name org.freedesktop.PolicyKit1 was not provided by ...
1
vote
0answers
246 views

Why does my Before=sleep.target service run *after resuming*?

I've defined the following service to start a screen locker before suspending: $ cat /etc/systemd/system/screenlock.service [Unit] Description=Lock X session using slock Before=sleep.target ...
1
vote
0answers
96 views

Mouse + network turned off after suspend

(After upgrade from Debian Wheezy to Jessie), my mouse is not turning on again, when I wake up my computer (from suspend-to-ram sleep). Is there something that I can add to /etc/pm/... ? ...
3
votes
2answers
812 views

Debian jessie cannot suspend anymore

I'm using Crunchbang Waldorf with the Jessie repositories, and suspend functionality has recently been broken. It seems that UPower, the tool Crunchbang used to suspend, just removed suspend ...
3
votes
0answers
508 views

how to run a user script after systemd wakeup?

When my debian jessie desktop box wakes up from sleep (via the new shiny systemd) my mouse settings are returned to their defaults, having reset my customisation xinput set-prop 12 'Device Accel ...
10
votes
2answers
3k views

How to run systemd user service to trigger on sleep (aka. suspend, hibernate)?

Based on various sources I have cobbled together ~/.config/systemd/user/screenlock.service: [Unit] Description=Lock X session Before=sleep.target [Service] Environment=DISPLAY=:0 ...
0
votes
0answers
399 views

Resume from Suspend/Hibernate issues

I have a peculiar problem while trying to resume from both suspend and hibernate. I believe the problem to be within the kernel itself since I have tried different distros (Ubuntu, Suse, Mageia) on ...
6
votes
4answers
3k views

How to suspend with a keyboard shortcut?

I would like to suspend my xubuntu (14.04) system from a keyboard shortcut without entering my superuser password (sudo). I'm looking a command line which I can convert to a shortcut. So far, I tried ...
0
votes
2answers
501 views

Hard disk drive spins up on laptop sleep/wake, can I stop it doing this?

I have in my Arch Linux-running laptop an SSD and an HDD; the latter I use seldom. It is mounted as /mnt/sdb5 and configured to spin down proactively when on battery (/etc/default/tlp, ...
3
votes
1answer
231 views

How can I ignore KDE's power-saving features for certain programs?

I want to use KDE Power Saving capabilities on my Desktop computer, such as suspend and screen-off. But, I want these capabilities be enabled only when some programs aren't running; for instance, I ...
3
votes
0answers
164 views

Play sound when suspending and resuming

I'm trying to get my sound theme all working how I want it. Reading the sound naming spec by freedesktop, it has an entry "suspend-start" and "suspend-end", which is supposed to fire when the ...
3
votes
1answer
1k views

How to suspend an USB device?

I want to suspend a connected USB device at my pc manually. I tried the following instructions in Debian (Kernel 3.2.0). uname output: Linux debian7-dev-gnome 3.2.0-4-686-pae #1 SMP Debian ...
0
votes
0answers
290 views

Debian wheezy FN key inverted after resume from suspend

I have debian wheezy installed on my new laptop (Toshiba Satellite L70), with Kernel 3.14 from backports. After I resume from suspend, all function keys (F1 - F12) behaviour is inverted, for example, ...
2
votes
1answer
126 views

Suspend from console without leaving authenticated terminal on wake up

I want to suspend my computer from terminal (one obtained by CTR+ALT+F1). If I call: # echo -n mem > /sys/power/state after wakeup I'm leaving an authenticated console with (possibly) root ...
0
votes
0answers
258 views

pm-suspend fails to wake up

I use pm-suspend on Debian 7.5. Most of the time everything works perfect, but sometimes it fails to wake up. The fans spin up, even the hard disk shows activity, but there is only a blank screen. ...
4
votes
1answer
130 views

How can I tell what woke my laptop from suspend? [duplicate]

On other operating systems, there are ways to see what process or event woke them from suspend. I leave my laptop often for multiple days in suspend, sometimes to find that it has woken itself up and ...
6
votes
3answers
1k views

How to find reason a notebook wakes up?

I'm having a problem with my notebook suspending, but then waking up when I don't want it to (either immediately, or much later when in the bag - I may have two issues to solve here). But for the ...
2
votes
1answer
1k views

Touchpad doesn't wake up from suspend

I've been trying to figure out how I can make my touchpad work after waking up from suspend. Until recently I could at least reactivate it by typing: ls /lib/modules/`uname ...
9
votes
1answer
426 views

How to prevent the Linux kernel from waking a secondary HDD from sleep

Is there a way to instruct the (Linux) kernel not to wake up a secondary hdd after a system sleep/wake-up cycle? I'm asking because in my laptop I have an SSD as a primary drive containing the system ...
5
votes
3answers
825 views

A way for saving running state of a program

I have a program that will perform a lengthy calculation which may take several days to be completed. Is there a way to save the program's running state; so I will be able to turn off the computer ...
3
votes
0answers
2k views

Linux Mint 16 randomly freezing and freezes always after suspend wakeup

I've just installed Linux Mint 16 Cinnamon on Dell Latitude E6420. During an hour of use the desktop would become unresponsive and I was unable to access any TTY. It just froze up. The same thing ...
3
votes
3answers
365 views

Intelligently switch between multiple BASH processes

Say you're in a directory and you want to check something in another directory, so you type bash to spawn a new shell so you can cd and check that thing and then type exit to get out and go back to ...
2
votes
0answers
472 views

Linux Mint 16: Petra - Can't wake from hibernate

I have used Linux Mint 16 Petra - cinammon version for a few months. At first hibernate worked pretty well. Now I cannot wake from it - when I try to, the screen just goes blank and nothing responds ...
2
votes
1answer
368 views

Locking console when computer suspends/hibernates

In X I've used the following script (from here) to lock the computer with i3lock each time pm-suspend or pm-hibernate are invoked. /etc/pm/sleep.d/00screensaver-lock: #!/bin/sh # ...
2
votes
0answers
149 views

Suspend Linux (Mint) with external hard drive plugged in

I simply try to suspend the session while my external hard drive is plugged in (doesn't matter whether I have mounted or dismounted it, and this error does not apply to other filesystems, like flash ...
3
votes
1answer
2k views

Not wake up after suspension

My OS is Ubuntu 12.04 on my laptop Lenovo T400. I had been using it quite well until this week. After suspending Ubuntu, whenever I lift the laptop lid (if the lid is closed), or press "Fn" key (if ...
9
votes
3answers
489 views

Is there a risk of data corruption if suspended laptop runs out of battery?

I often tend to just put my laptop on suspend using xfce4-power-manager, and although usually the battery is sufficiently charged up until the next time (when I plug in the charger), sometimes I ...
6
votes
1answer
4k views

“Memory corruption detected in low memory” kernel messages?

I have some memory corruption detected in low memory messages. I have read about it here, but I'm afraid I can't really make anything out of the discussion. It does indeed happen when I ...
0
votes
2answers
111 views

Command to prevent suspend while another command executes?

Is there a command to prevent the suspending of a system while another command executes? For example; lets say I have an upload that I want to complete but it gets interrupted because of my machine ...
2
votes
1answer
608 views

Arch sometimes won't suspend

Sometimes the computer won't auto-suspend when the lid has been closed. When this happens re-closing the lid won't make it suspend until next reboot. After the reboot the auto-suspend works again. ...
7
votes
2answers
9k views

How to lock my session in Xfce?

I am looking a simple way to lock my session in Xfce (Debian Unstable). I don't want to have to write my password at every wake-up but I want to be able to press to a shortcut (which launches a ...
0
votes
0answers
535 views

Suspend-to-ram fails on Gentoo with i915

I am struggling with suspend-to-ram on my Acer Aspire V3 772G with Gentoo. My configuration: Gentoo 3.12.5 kernel (.config) /etc/portage/make.conf Portage world file 1) It works in Windows 7 and ...