Questions tagged [suspend]

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

208 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
3k 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 up....
6
votes
0answers
2k views

How can I use a USB keyboard or mouse to wake from suspend?

I am using GNOME 3.36.6 on Arch Linux. By default, GNOME's automatic suspend option is enabled and it works as expected. However, I have to press the power button to wake the computer from suspend. I ...
6
votes
0answers
444 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 nvidia-...
5
votes
0answers
503 views

Arch Linux 64 bit - Will not wake from pm-suspend

Alright, I've been messing with this off and on for the past few months. pm-suspend used to work fine; I recently upgraded most of my hardware, and even then it worked fine. At some point there must ...
5
votes
0answers
3k 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 ...
4
votes
0answers
67 views

simplest way to enable user (non-root) to suspend laptop

My laptop has suspend capability: # cat /sys/power/state freeze mem and indeed I can suspend as root: echo -n mem > /sys/power/state This works fine. But what would be a minimalist way to enable ...
4
votes
1answer
479 views

How to disable suspension in Linux Kernel 4.x

I am using full disk encryption, through LinuxPBA and sedutil (https://github.com/Drive-Trust-Alliance/sedutil). In short, at boot, a BIOS-independent piece of code requests the disk passphrase. If ...
4
votes
0answers
1k views

i915 Intel Skylake: System-freeze after wake up from hibernate (suspend to disk)

The problem is that very often (not always) after I supend to disk (hibernate) and try to wake up the machine using the power button, the display freezes and nothing more is happening, it just hangs ...
4
votes
1answer
1k 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 ...
4
votes
0answers
1k 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 [Service]...
3
votes
0answers
163 views

HP x2 Notebook w/ detachable tablet that keeps waking from suspend

I have an HP x2 Detachable Notebook (model 10-p018wm) on which I've installed Fedora 29. Pretty much everything about the notebook works: the touchscreen is recognized, the WiFi works, and the media ...
3
votes
0answers
433 views

Suspend delayed after lid close

For some reason, when I close my laptop lid, it takes my system 25 seconds to sleep. This is without any autolock prorams (xss-lock, xautolock, etc.) running. In my journalctl I can see exactly a 25 ...
3
votes
0answers
182 views

Laptop doesn't wake up after suspension

Whenever I enter suspension mode in my laptop, I cannot leave it: I can hear that a fan of the laptop is working, the power indicator shows that the laptop is on, and I can't return to Linux after ...
3
votes
0answers
416 views

How to prevent applications from causing Powerfail when power management is configured to suspend at 10% battery

When my laptop attempts to suspend itself to avoid powerfail, instead of successfully suspending, I get a popup from xfce4-power-manager: "Are you sure you want to hibernate the system? An application ...
3
votes
0answers
226 views

How can I debug why a specific kernel crashes when waking from suspend?

I am running Linux Mint 17 with the 3.x series kernel. Today I remembered that a recommended upgrade to the kernel had been sitting around for some weeks, so I thought it might be worth upgrading (in ...
3
votes
0answers
341 views

How can I debug slow resume from suspend?

I have the following issue: Recently I bought a new laptop, hardware support is good with the exception of the fingerprint reader and some problems with rotation sensors which do not bother me at all. ...
3
votes
1answer
1k views

KDE: suspend to 'freeze' state instead of 'mem'

I have a Lenovo Helix 2, which has busted suspend-to-RAM (S3) support. "Light sleep" mode (S0ix), however, works fine, as tested with echo freeze > /sys/power/state. I can bind the power button to ...
3
votes
0answers
1k views

Prevent the optical drive to wake up (with noise) after suspend and at startup

Each time I wake up my computer from suspend mode, the cd/dvd player activate and make some noise (it probably checks if there is no cd inside). This happens also at startup. I don't have this ...
3
votes
1answer
929 views

Force xfce4-power-manager to suspend

I would like my power button to suspend - no questions asked. xfce4-power-manager would like my power button to suspend - but only after I have been asked: An application is currently disabling ...
3
votes
0answers
1k views

systemctl hibernate - crash on execution

systemctl hibernate or anything similar (i.e. suspend and hybrid-sleep) crashes the PC on invocation. When called, it first correctly executes all scripts in system-sleep and then logs out any non-...
3
votes
1answer
2k views

Hibernate not working on MacBook Pro with Debian

I've installed Debian testing/stretch on a brand new Macbook Pro 13" (early 2015), but hibernation isn't working properly. When I try to hibernate, it appears to work (the screen shuts off after a ...
3
votes
0answers
1k 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 some ...
3
votes
0answers
207 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 lid),...
3
votes
0answers
81 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 ...
3
votes
0answers
571 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
0answers
259 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

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. ...
3
votes
0answers
368 views

how to stop Clementine playback on suspend using systemd

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 Requires=dbus.service ...
3
votes
0answers
231 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. ...
3
votes
1answer
660 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 every ...
3
votes
1answer
63 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 - ...
3
votes
1answer
3k 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 ...
2
votes
0answers
33 views

How secure is it to suspend Linux (Fedora) while using whole disk encryption?

I have a full disk encryption on my Fedora 33 workstation. The purpose of encryption was protection from stealing the laptop physically. But how much more unsafe to just suspend the OS, not fully ...
2
votes
1answer
227 views

Linux, nordvpn and sleep/resume

I'd really like nordvpn to survive sleep/resume events but of course, if the remote end doesn't hear from my laptop then it's going to drop the connection. Fair enough, I'm happy to do a disconnect ...
2
votes
0answers
31 views

Prevent hard drive from powering on when resuming from suspend to RAM

My laptop running Debian testing (Bullseye) has two hard drives: the first with the OS and my documents, and the second containing data that I use rarely. There is no link between these two drives (no ...
2
votes
2answers
414 views

Ubuntu 19.10 Laptop wakes up immediately after suspend

When I try to suspend my Ubuntu ASUS laptop, it immediately wakes up. The laptop is a few months old and as far as I can remember, I've always had the issue. I tried to solve this problem with ...
2
votes
0answers
293 views

Preventing systemd-inhibit in Linux

Question Is it possible to prevent applications from using systemd-inhibit? Why? systemd-inhibit allows applications to override directives from /etc/systemd/logind.conf, in particular ...
2
votes
0answers
160 views

How to disable a particular device from waking a computer up from suspend?

I would like to disable waking from suspend when a mouse is moved. I am aware of the file /proc/acpi/wakeup. I can disable one particular pci and thus disable a wakeup by the mouse. The problem is ...
2
votes
0answers
85 views

Figure out reason for wakeup

So I have this Synology NAS (DS213+) at home, which apparently uses a rather limited custom Linux (2.6.32.12). For quite some time now I noticed it starting up frequently, even though I'm not ...
2
votes
1answer
320 views

How can I implement resuming from hibernation in my initramfs script? (swap file on encrypted root partition)

So I messed up and executed echo disk > /sys/power/state instead of echo mem > /sys/power/state accidentally. And then realized what I had just done. Some details about the setup: It's using ...
2
votes
0answers
61 views

Putty's terminal freezes during windows share accessing just after resuming VM after suspending

My system is Oracle Linux 7.4 VM on VMWare Workstation 14 I have the next record in my /etc/fstab: //someip/someshare /mnt/temp cifs rw,user=someuser,password=somepassword 0 0 After the system ...
2
votes
1answer
103 views

/dev/ttyACM0 not added upon resuming CentOS VM

I'm running CentOS v.7.5.1804, Kernel 3.10.0-862.el7.x86_64. Host machine has a USB dongle mapped to /dev/ttyACM0 on the guest VM. Upon running systemctl suspend and resuming the VM, /dev/ttyACM0 ...
2
votes
0answers
130 views

systemd sleep.conf: perform IdleAction only on battery

When I'm running on battery power, I'd like to have IdleAction=suspend-then-hibernate. However, if mains power is connected, I'd like to have IdleAction=ignore. How would I go about setting this up?
2
votes
0answers
73 views

How can I detect when my laptop is going to sleep

I'm using fedora 28. I have a series of programs that I'm launching based off lock and unlock times, but I wanted these programs to adjust their behavior if sleep is detected. So I want to create ...
2
votes
0answers
221 views

how to run a script before execute a dbus-send command?

I have the following problem: on lubuntu 16.04 I can send the laptop to sleep (suspend on RAM) using a hook script to switch to a virtual teminal before to suspend and reswitching out from a vt after ...
2
votes
0answers
612 views

lightdm and xfce - password prompt invisible after locking

just updated from LinuxMint 18.3 to 19.0, found a weird problem in locking and unlocking screen. Closing the laptop lid puts the computer to suspend, but when opening it, the password prompt for ...
2
votes
0answers
612 views

usb 2-3: usb_reset_and_verify_device Failed to disable LTM

I'm running Arch Linux on a Lenovo Thinkpad X280. I'm trying to improve energy consumption, particularly when suspended. I have s0i3 sleep support enabled as per the Arch Wiki by using the kernel ...
2
votes
1answer
187 views

thinkpad fan never turns off after resuming from suspend

I have a T470s running Arch linux with wayland, kernel Linux 4.16.7-1-ARCH After suspend and resume, the fan runs and runs and runs ... and never turns off. The problem is described in Arch wiki, ...
2
votes
0answers
292 views

system does not sleep and does not wake up

I recently bought a new HP ENVY x360 with AMD Ryzen 5 2500U CPU. So many driver support problems on Linux. I tried lots of distributions but none works. The main problem is that the laptop won't ...
2
votes
0answers
286 views

Screen not locked after resume from suspend (well, not immediatly)

I have a laptop with Linux Mint (Cinnamon desktop). Screensaver setting is to Lock the computer when put to sleep. However, often I see flash of my desktop (the content is displayed momentarily, like ...

1
2 3 4 5