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

learn more… | top users | synonyms

14
votes
3answers
18k 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 ...
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 ...
0
votes
0answers
17 views

Linux Mint Doesn't Stay Suspended

I recently installed Linux Mint 17 and I really like it despite some issues I have encountered. My most recent issue is that when I close the lid of the laptop to suspend it appears to suspend for a ...
0
votes
0answers
25 views

nvidia card doesn't turn off during suspend-to-ram

An update to this question now that I have more information and i have localized the problem: So the situation is the following. If I suspend-to-ram my system, the nvidia card powers up just prior ...
2
votes
0answers
55 views

Huge battery drain during suspend to ram - 12%/hour - nvidia card doesn't turn off

UPDATE: So I tracked down the issue. It seems the nvidia card powers up right before suspend. This is expected bbswitch behaviour: [ 4195.214014] bbswitch: enabling discrete graphics But for ...
3
votes
1answer
557 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
0answers
24 views

Synaptics touchpad inactive before suspend, active after resume

I'm running Ubuntu 15.04. I usually disable the touchpad. (because my palms make the cursor jump all over the screen!) When I suspend (by closing my laptop's lid) and then resume (by opening the ...
0
votes
0answers
41 views

“Illegal instruction (core dumped)” in __lll_lock_elision() for various programs after suspend with initramfs (Arch/Manjaro)

I am getting random "Illegal instruction (core dumped)" on various programs in my Arch Linux system, since I ran some system updates. The crashes are quite random. E.g. sometimes "git status" crashes ...
5
votes
3answers
1k 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
49 views

Power button does not trigger suspend (nor anything)

I would like to set the power button in my laptop to initiate suspension. Note that I can trigger suspension by closing the lid, or using pm-suspend, so the problem is the button, not the suspend ...
0
votes
0answers
14 views

Windows scattered across virtual desktops after waking up from sleep

My setup is two external screens connected to a docking station and the laptop screen all running (thanks, Lenovo!). I have four virtual desktops (Ubuntu 14.04, Unity). At any point I might have one ...
0
votes
0answers
44 views

Is my MacBook Air sleeping under Debian Jessie?

I frequently notice the Apple logo lights up relatively briefly when the lid is closed on my MacBook Air running Debian Jessie. If I suspend with the lid open then the lock screen briefly appears and ...
1
vote
2answers
395 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 ...
2
votes
0answers
46 views

some function buttons not recognised (even at scancode level) after resume from sleep

As in the title, some function buttons are not being reconised after resuming from sleep. systemctl suspend is used. The buttons work fine after boot and before the sleep but not after. I have tested ...
1
vote
0answers
24 views

Unable to prevent keypresses from unsuspending laptop

It appears that due to the poor build of my laptop, keys sometimes get pressed in my backpack, even though the lid is closed. This causes it to silently resume from sleep, then overheat and drain the ...
1
vote
0answers
54 views

USB Wireless Adapter not detected after suspend

I am using an external USB wireless adapter (EnGenius Wirelss 11N) on Elementary OS Freya running on a Dell Vostro 1510. Whereas the USB wireless is detected and connects when plugged in, it is not ...
0
votes
0answers
27 views

Screen doesn't lock properly when remote desktop is in use

I am using Debian8 (Jessie) when I use the remote desktop remmina, to connect to an XP box the sleep function doesn't lock out the remote host properly. This is a security bug I think. When I return, ...
0
votes
0answers
139 views

Black screen after suspend or hibernate - using Kali (Debian-based) distro with Nvidia drivers

I've installed Kali linux for some penetration testing practice, and I've been very happy with it so far, except for one thing - since installing the Nvidia drivers, I can no longer suspend the kernel ...
2
votes
1answer
37 views

Figure out at what time the machine was suspended

I suspended my machine and now got back to work. I want to figure out at what time I suspended the machine. Is there any way to somehow look up the time?
0
votes
0answers
203 views

Suspend option disappear from shutdown dialog on Mint 17.1 Cinnamon

Previously I have a "Suspend" option when I open shutdown dialog, not sure why (probably because I did a apt-get upgrade I found the "suspend" option has gone: Another thing is even I set my power ...
2
votes
1answer
32 views

Is there a way to suspend an process belongs to shell A and foreground it in shell B?

I knew how to suspend one process and bring it into foreground in current shell, but I have no idea about that If I have run a process in shell A and now I want to bring it into foreground in current ...
2
votes
1answer
41 views

Where do my keypresses go ?

Scenario (Ubuntu 14.04.2) : I wake Ubuntu from suspend. I know (from past experience) that it only takes 2 or 3 seconds for the lock screen to become available. My monitor, however, takes longer - ...
2
votes
1answer
76 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, ...
0
votes
0answers
23 views

Perform task on waking up from suspend

I have program that misbehaves when my pc wakes up from suspend to ram, it starts using up to 40% of processor time so i usually have to kill it manually. How can i set specific command (pkill in ...
6
votes
4answers
2k 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, ...
0
votes
1answer
162 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 ...
0
votes
1answer
532 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 ...
1
vote
0answers
66 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
2answers
343 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
189 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
43 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 ...
2
votes
1answer
441 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. ...
0
votes
0answers
138 views

Unable to suspend on MacBook 11,1 on Ubuntu 14.04

I just finished installing Linux Mint 17.1 on my MacBook 11,2 (2013 model, 13.3") and have just wrapped up fixing most of the problems. One problem remains: I can't suspend (and by consequence, ...
0
votes
0answers
34 views

Show history of computer usage

I know the last command can show me a history of when I last logged in/out, and I also know that I can use /var/log/pm-suspend.log to find out when the computer has awakened from a suspend mode. ...
1
vote
1answer
575 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 ...
2
votes
2answers
2k 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 ...
0
votes
0answers
526 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 ...
1
vote
1answer
34 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 ...
7
votes
1answer
2k 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
474 views

Cannot go in sleep mode in Linux Mint

I'm using Linux Mint 17.1. Whenever I try to put my laptop in sleep mode, it seems to do it for a second then wake up immediately. I've checked the logs but cannot see why could wake it up right away. ...
0
votes
0answers
27 views

No video on tty after sleep

I have Debian 3.2.63. After I push 'Sleep' button and come back my TTY do not work, only X11. Anybody know how restore video parameters after suspend?
3
votes
0answers
67 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
221 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
83 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
385 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
39 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
357 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 ...
0
votes
2answers
118 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, ...
9
votes
1answer
349 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
71 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 ...