Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [suspend]

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

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

After resume from suspend, one CPU core stays in C0 state

It recently seemed like my fan was running more than average, but I didn't notice anything significant showing in top. I looked via i7zl and found that one core was staying in state C0 ~85% of the ...
-1
votes
0answers
25 views

Arch Linux automatically wakes up from suspend

I installed Antergos linux and when I'm trying to suspend system, it suspends and after 2 seconds it wakes up without any reason. Same with shutdown (shutdowns fully and after 2 seconds starts). It ...
1
vote
0answers
25 views

How can I check what happens prior to and during computer sleep mode?

My computer behaves strange when I'm putting it in sleep mode. There's roughly 50% chance that it won't enter sleep and will just keep waking up, despite me disabling all wakeup signals in /proc/acpi/...
1
vote
0answers
17 views

Manjaro KDE does not redraw the screen unless forced to after it falls asleep

I recently installed Manjaro KDE on my machine and from what little I've seen I'm liking it so far. My one complaint is that recently, after the screen falls asleep and wakes back up (i.e. leave the ...
0
votes
0answers
15 views

Slow Read/Write SSD Speed After Suspend

When I first boot on the system (it's a laptop), everything is AMAZING! But if it sits idle and suspends to ram or if I manually STR then when I wake the system, it is very very sluggish. Commands run ...
2
votes
0answers
31 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 ...
0
votes
0answers
21 views

How can I stop suspend mode from draining my battery?

My battery drains completely after about 8 hours of sleep in suspend mode. It seems a lot like this bug, from the Lenovo forums. I've tried changing the sleep mode to "deep," but then it doesn't wake ...
0
votes
0answers
43 views

Linux Mint Instant Resume When Suspend

When I suspend, my desktop computer immediately resumes and the power and fans don't switch off. It is different from when I try to hibernate : there, it shuts down for a second, then resumes as well. ...
1
vote
0answers
88 views

System fails to suspend, “ACPI: EC: interrupt blocked”

Whenever I attach my USB phone, I can no longer suspend my machine. Even detaching my phone does not work. ACPI: EC: interrupt blocked ACPI: Preparing to enter system sleep state S3 ACPI: EC: event ...
1
vote
0answers
31 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?
0
votes
0answers
17 views

Triggering “lid closed” when changing dock / external power connection

I want my laptop to respond as follows whenever the lid is closed: Docking - ignore Connecting external power - lock Otherwise - suspend-then-resume In my sleep.conf I have: HandleLidSwitchDocked=...
1
vote
1answer
123 views

Can't suspend Debian machine: wakes up immediately after sleep (“PM: Device usb1 failed to suspend async”)

Since I installed the latest Debian updates yesterday (udev, systemd, ...) I can't put my Debian 9/KDE machine to sleep. It wakes up immediately after suspending (systemctl suspend). /var/log/syslog ...
0
votes
1answer
59 views

Can I save the working status of Ubuntu before reboot, and recover it after reboot?

Is it possible to save the working status of Ubuntu,and reboot it and recover its working status? By working status of Ubuntu, I mean things such as the programs that are running, and the statuses of ...
0
votes
1answer
126 views

Black screen after resume from syspend/hibernate on Dell Inspiron

I have a Dell Inspiron laptop with Gentoo and OpenRC. It has no trouble entering hibernation and suspend via gui or keyboard. It also restores normally. I have configured xfce4-power-manager to put ...
0
votes
0answers
39 views

Why do I keep my SSH connection, after suspending, if I have a window open on the server?

I've noticed this strange behaviour. Everytime when I'm connected to a remote machine, using SSH, and want to go away from my machine (for lunch, for example), I suspend it. And when I type in the ...
0
votes
1answer
92 views

Long boot time of Debian Stretch

My Debian Stretch system takes nearly a minute to boot up. It usually takes about 15 seconds. My error: Gave up waiting for suspend/resume device fsck: error 2 (No such file or directory) while ...
0
votes
0answers
70 views

How to resume the USB device after selective suspend configuration in Ubuntu host

I have Linux based development board on which DWC3 USB controller driver is present. I have implemented Link Power Management(L2 state) in the usb driver. Ubuntu is the host which on which my ...
0
votes
1answer
153 views

Ubuntu does not wake up after suspension/hibernation

I am using ubuntu 18.04 lts. After I close the lid (for 1 min+), ubuntu refuses to wake up. It flashes an error screen instead: Does it have to do with grub? I usually work around the issue by ...
1
vote
4answers
343 views

How to use uswsusp for suspend-then-hibernate with systemd?

Configure suspend-then-hibernate to use uswsusp I'm using uswsusp for suspend to RAM and suspend to disk (hibernate) via systemd. Therefore I've adjusted /etc/systemd/system/systemd-suspend.service.d/...
4
votes
0answers
57 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 ...
0
votes
0answers
15 views

How to resume system (from disk) manually

I suspend the system to disk using s2ram. When I reboot into shell (busybox sh) and run resume $SWAP ($SWAP is my swap partition), it only writes a message that says resume is started but nothing ...
2
votes
1answer
385 views

How does systemctl suspend work?

From the systemctl manpage: suspend Suspend the system. This will trigger activation of the special target unit suspend.target. This command is asynchronous, and will return after the ...
0
votes
0answers
60 views

Running xrandr from systemd

I have ~/.config/systemd/user/resume@.service: [Unit] Description=User resume actions After=suspend.target [Service] ExecStart=xrandr --output eDP1 --auto [Install] WantedBy=suspend.target Now ...
0
votes
0answers
23 views

How to determine if guest OS is suspended when running as virtual machine

Running CentOS 7 and in need to do some network related commands when suspended and resumed by the VMWare. Thus far all the solutions I have seen, is connected to pm-utils. But nothing appears to ...
0
votes
0answers
987 views

gdm3: Failed to parse options: Unknown option -reset (Ubuntu 18.04)

I'm having the same issue as described here: my computer won't wake up after I lock the screen or put it to sleep. One of the answers suggests running sudo gdm3 -reset, which I tried. But just as some ...
0
votes
0answers
75 views

Why is my script not executed when waking up from systemd suspension?

Following https://wiki.archlinux.org/index.php/Power_management#Hooks_in_/usr/lib/systemd/system-sleep, I add a shell script as a systemd sleep hook with execution permission (I manually created /usr/...
6
votes
1answer
677 views

pm-suspend vs systemctl suspend?

For Linux distributions using systemd, is there a practical difference between these two commands? systemctl suspend pm-suspend Which should I use or prefer?
0
votes
1answer
149 views

How can I prevent a desktop monitor screen from going to sleep when inactive on CentOs 7 Linux?

How can I stop my monitor screen from going to sleep on CentOS 7 Desktop (X Windows) due to inactivity?
0
votes
1answer
222 views

Closing the lid didn't put the notebook on sleep with external monitor on xfce

I'm running Linux Mint 19 Tara. When I'm running cinnamon with connected external monitor and I close the lid, notebook goes to suspend mode. This is my expected behavior. But running xfce, closing ...
3
votes
1answer
321 views

Crackling sound with ALSA from an USB sound card after resuming from suspend

I run Arch Linux using Systemd and ALSA on a Thinkpad X200 and I have an USB sound card connected, which I use for audio output. The audio is fine until I suspend my machine with $ systemctl suspend. ...
2
votes
1answer
313 views

How do remove a systemd-inhibit block?

The documentation about Systemd's Inhibitor Locks and also man systemd-inhibit go to great length to explain how to start a process in a way as it blocks something (e.g. the handle-lid-switch event). ...
2
votes
0answers
27 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 ...
1
vote
0answers
102 views

Lenovo IdeaPad laptop doesn't wake up after suspend

I have a Lenovo IdeaPad 320 laptop with Debian testing/buster and Linux 4.18.5. When I close the lid and open it again, the screen is black, and I can't do anything. I can't even ctrl-alt-F3 to a ...
0
votes
0answers
176 views

File system turns read only after waking Dell XPS 9370 laptop up from suspend

I'm running Ubuntu 18.04 on a Dell XPS 13 (9370). Recently my main file system has been turning read-only when I wake my laptop up from suspend (i.e. open the lid). Relevant output from dmesg: [...
1
vote
0answers
424 views

Problem with external monitor plugged to notebook

My case: At work, I use my own laptop (Xiaomi Mi Pro). When I connect it to an external monitor, I want to be able to just close the lid and leave without the laptop and have the laptop suspend. When ...
1
vote
1answer
104 views

Can a system script to control a systemd user service?

I'm trying to write a "system sleep" script for systemd-suspend.service, to shutdown a user service before suspend (as it blocks suspending the kernel) and restart it after the system resumes. The ...
2
votes
0answers
56 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 ...
1
vote
0answers
46 views

How can I pause/suspend a running valgrind (with callgrind) instance?

I have some rather chunky piece of software being profiled via valgrind --tool=callgrind MySoftware (bash at Ubuntu 16.04 if it makes any difference). It was running overnight, but still hasn't ...
1
vote
1answer
348 views

Wake on lid open but don't suspend on lid close?

I am currently running GNOME on openSUSE on my laptop, there is the setting in the GNOME tweak tool to enable suspend on lid close, which works. However, I want to do the opposite, so that the ...
0
votes
0answers
25 views

Suspend on level of login, not workstation - possible issue in multiuser system (Ubuntu, Mint)

I noted in Linux Mint and newest Ubuntu 18, that suspend functionality is setup (sudo/root is not needed for suspend setting) and working on level of login/user. For example, I had 3 users logged on,...
1
vote
0answers
173 views

Debian Testing Suspend Problems

I have a rather current Debian testing installation (kernel 4.16.0-2-amd64). Since some time, the computer immediately wakes up again after running pm-suspend or dbus-send --print-reply --system --...
1
vote
0answers
207 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 ...
1
vote
0answers
100 views

Color distortion after coming out only from automatic suspend

The display colors are totally distorted after resuming from suspension. This does not happen if I manually suspend but if the PC suspends itself after the specified time on settings on Ubuntu 18.04, ...
2
votes
1answer
704 views

Troubleshooting tips for Suspend-to-RAM

I am seeking advice regarding proper kernel command line options and/or BIOS settings for a Supermicro X10DAL-i system (with dual Xeon CPUs) for proper suspend-to-RAM under recent Linux kernels. I am ...
1
vote
0answers
357 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 ...
0
votes
0answers
71 views

s2ram/s2disk does not work on Lubuntu 18.04 on EEE 901

Both s2ram and s2disk suspend the system, but do not resume. To test that it not just the screen that is blanking, I started heavy disk I/O before suspending. The disk I/O did not continue after ...
1
vote
1answer
909 views

Laptop wake up when lid is closed

I've a problem, every time I close the lid the laptop wakes up 2 seconds after (with the lid still closed) systemctl suspend/hibernates comes to the same result The problem happens on every linux ...
3
votes
0answers
197 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
106 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 ...