Questions tagged [suspend]

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

0
votes
0answers
13 views

Screen goes off (black) until I suspend and resume the system, how can I run a command to reboot screen without suspend?

I have Linux mint 18.3 Sylvia My screen goes off (black) until I suspend and resume the system, While everything is working fine (keyboard mouse audio..etc) just the screen is black. so I thought ...
0
votes
0answers
11 views

When would you typically use the suspend's mode?

I have seen in this question it is different from the sleep mode: https://askubuntu.com/questions/369760/what-are-the-differences-between-sleep-standby-suspend-and-hibernate-in-ubuntu also it disable ...
0
votes
2answers
30 views

Customize xfce suspend command

Is there a way to change the command executed by xfce4-power-manager when it wants to suspend? I assume it runs xfce4-session-logout --suspend, but I would like it to run xfconf-query -c xfce4-power-...
2
votes
1answer
25 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 ...
1
vote
0answers
12 views

wowlan prevents all sleeping

I'm trying to get my desktop configured to have wake-on-wireless-LAN working. I've turned it on with: > sudo iw phy0 wowlan enable magic-packet and I can confirm that it's enabled: > iw phy ...
1
vote
0answers
20 views

X1 Carbon Battery drains on suspend

I typically suspend my laptop between sessions to save battery without powering off fully. I have a new 2019 Lenovo X1 Carbon, running Manjaro Linux 5.2.0-1 and when I suspend my machine with ...
0
votes
0answers
9 views

Computer fails to suspend: ata1.00: NCQ Send/Recv Log not supported

My Lenovo x230 has been giving me a problem with my Samsung 850 EVO 1TB ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded ...
1
vote
0answers
66 views

Automatic suspension no longer works after 'systemctl mask sleep.target' + 'systemctl unmask sleep.target'

My laptop is running KDE on LinuxMint 18.3. Automatic suspend was working so far. KDE version is 5.8.9, Framworks version 5.36.0. QT version 5.6.1, kernel version 4.10.0-38-generic. In the Energy ...
0
votes
0answers
27 views

Unload running kernel module

With lsmod I can watch all kernel modules that running in my linux. How can I suspend and resume spesific kernel module? I tried use modprobe -r <module_name> but got error can't change ...
0
votes
0answers
17 views

Asus transformer mini suspend and hibernate

I have an Asus Transformer Mini (T103HA) and have installed gnome3 debian stretch 9.8 on it. The suspend and hibernate don't work and I don't see any errors in pm-suspend.log. When I click suspend ...
0
votes
0answers
237 views

Ubuntu 18.04 unable to wake from suspend

I am been unable to wake my ubuntu laptop everytime I put it into suspend. 3 possible signs: Sometimes it wake up ok Sometimes, it freezes at wake and show screen before it freeze. Sometimes it just ...
2
votes
0answers
45 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 ...
1
vote
1answer
68 views

Laptop does not enter suspend state when lid is closed

I installed Manjaro 18.0.4 (Gnome) on my Lenovo P50. After setting the NVidia graphics card as the primary card and removing all drivers for the onboard intel GPU, the laptop does not suspend when I ...
4
votes
1answer
25 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
15 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 ...
2
votes
1answer
40 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
1answer
143 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
34 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
43 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
34 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
99 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
1answer
261 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
44 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
32 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
234 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
74 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
290 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
53 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
125 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
150 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
320 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
475 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
67 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
17 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
567 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
89 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
24 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
1k 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
102 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/...
7
votes
1answer
1k 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
207 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
336 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
378 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. ...
3
votes
1answer
426 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
32 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
111 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
208 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
457 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
136 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
73 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 ...