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

learn more… | top users | synonyms

0
votes
0answers
5 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 ...
5
votes
1answer
583 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 ...
1
vote
0answers
5 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 ...
1
vote
2answers
341 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 ...
1
vote
0answers
7 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
0answers
71 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 ...
1
vote
0answers
25 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 ...
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 ...
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 ...
0
votes
2answers
59 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, ...
5
votes
1answer
152 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 ...
3
votes
2answers
45 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 ...
0
votes
1answer
34 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 ...
1
vote
1answer
164 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 ...
10
votes
2answers
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 ...
5
votes
2answers
181 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
47 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/... ? ...
1
vote
0answers
57 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 ...
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
92 views

Enable suspend in linux mint in a dell xps-17

In my vain attempt to get hibernation working in a dell xps-17 by installing (I'm seriously considering getting a mac cause it just works) a hibernate package I have lost my ability to suspend. How ...
2
votes
0answers
162 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 ...
0
votes
0answers
6 views

automatic suspend does not work in Gnome [duplicate]

I have configured automatic suspend in Settings->Power, then one hour later nothing happen when the suspend time came. I checked the internet for some information and found there is a bug in Gnome ...
0
votes
0answers
34 views

Automatic sleep not working in Gnome

I have configured automatic suspend in Settings->Power, then one hour later nothing happen when the suspend time came. I checked the internet for some information and found there is a bug in Gnome ...
0
votes
0answers
149 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 ...
2
votes
1answer
445 views

How to suspend with a keyboard shortcut?

I would like to suspend my xubuntu (14.04) system from a keyboard shorcut without entering my superuser password (sudo). I'm looking a command line which I can convert to a shortcut. So far, I tried ...
3
votes
1answer
33 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 ...
0
votes
1answer
152 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
0answers
71 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
2answers
309 views

Auto restart ssh session after sleep

I have an active ssh session to a remote server that it would be nice to be able to restart upon waking from sleep/hibernate (ubuntu), and seamlessly restore tunnels. The Gnome Terminal window is ...
1
vote
1answer
163 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
226 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, ...
0
votes
0answers
156 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. ...
2
votes
1answer
51 views

Suspend from console without leaving authenticated terminam 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 authenticated console with (possibly) root ...
0
votes
0answers
103 views

Kermit locked after suspend

I use kermit to communicate through RS-232 with my embedded system target. My host is Ubuntu 14.04. Every time I suspend my host while kermit still is connected to the target, I cannot reconnect with ...
4
votes
1answer
56 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 ...
4
votes
3answers
269 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
367 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 ...
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, ...
1
vote
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 ...
4
votes
3answers
224 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 ...
2
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 ...
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 ...
3
votes
3answers
93 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 ...
7
votes
1answer
465 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 ...
8
votes
3answers
1k views

Samsung Ultra book won't wake up after hibernate and suspend on Crunchbang

I've been struggling for a few hours to get suspend and hibernate working on my Samsung ATIV BOOK 9 Lite. When I try to resume the screen power led goes on, but screen stays black. The capslock led ...
2
votes
0answers
375 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
179 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
82 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 ...
2
votes
1answer
1k 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 ...
2
votes
0answers
201 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. ...