Skip to main content

Questions tagged [suspend]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

i3wm i3lock with 2 monitors - resume from suspend only brings up main monitor

Setup lenovo x1 carbon gen 10 2nd monitor linked through hdmi cable ubuntu 22.04, i3wm, i3lock, i3lock-fancy What's wrong After resuming from suspend, the 2nd monitor is blank, not receiving any ...
vladimir.gorea's user avatar
0 votes
0 answers
6 views

screen doesn't wake up after resume from suspend

I'm have installed Devuan Daedalus in my friend's computer. It is a HP laptop with AMD RYZEN 3 and Radeon Graphics. As expected, all the function keys don't work. That is alright. After suspend, when ...
vrgovinda's user avatar
  • 279
0 votes
0 answers
12 views

Laptop refusing to wakeup after closed on Pop_OS

brand new Linux user here. I've just installed Pop_OS on my laptop (Acer Predator Triton 500 SE) yesterday, and am having some trouble when my computer goes to sleep. When I open my laptop back up ...
Purplecthulhu's user avatar
0 votes
1 answer
52 views

Suspending and Resuming Thinkpad X1 Carbon Gen 10 in Debian 12

S3 suspend used to work on this machine, but then I updated the firmware and now it doesn't. systemctl suspend makes the screen go black and print Allocating and mlocking memory: 1050624 kb Sleeping ....
groceryheist's user avatar
0 votes
0 answers
37 views

Unable to hibernate, sleep or suspend

I'd like to get hibernate, sleep or suspend to work on my laptop running debian bookworm. I first tried hibernate, but this failed: █[debian-x1-7th][~][0]$ sudo systemctl start systemd-hibernate....
ealfonso's user avatar
  • 953
0 votes
0 answers
54 views

Hang after S3 resume - Bluetooth: hci0: Opcode 0xfc1e failed: -16

I have an MSI board with built in Intel AX200 BT and Wifi. This is on kernel: iwlwifi 0000:29:00.0: loaded firmware version 77.ad46c98b.0 cc-a0-77.ucode op_mode iwlmvm After successfully booting ...
densub's user avatar
  • 1
0 votes
1 answer
45 views

How do I launch a GUI application with systemd after wake-from-suspend?

On my old Ubuntu 22.04 machine (under Wayland) I was able to modify this solution to create the file /etc/systemd/system/my_user_script.service and launch the Thunderbird flatpak after waking my ...
jophuh's user avatar
  • 23
1 vote
1 answer
56 views

Why won't systemd run some of my scripts, but it will run others?

I've written a service file based on this old answer that runs a script whenever I wake my Ubuntu 24.04 Wayland PC from suspend. This is the logscript.sh script that's run: #!/bin/bash echo "...
jophuh's user avatar
  • 23
1 vote
0 answers
117 views

Sometimes the keyboard is turned off when waking from standby after upgrading to Debian12

After upgrading to Debian12 with KDE, sometimes the keyboard of a laptop is turned off while the touchpad still works. It doesn't work again after putting it back into standby and then waking it from ...
mYnDstrEAm's user avatar
  • 4,388
0 votes
0 answers
24 views

Systemd: do not suspend if operation is performed

How to configure systemd so if an operation is being performed, do nothing on systemctl suspend and optionally suspend after the operation is completed? Operations example: archive extraction, rsync, ...
MPEI_stud's user avatar
0 votes
1 answer
259 views

wake up from suspend via keyboard in Debian 12

With bullseye this line in /etc/rc.local worked: echo enabled > /sys/bus/usb/devices/usb3/power/ ... to enable a keypress to wake up the system from suspend. Doesn't work in bookworm. These other ...
Ray Andrews's user avatar
  • 2,527
0 votes
2 answers
29 views

How to keep OS working when the laptop's lid is closed for Peppermint?

For Peppermint 11.6 bullseye - which it is based on Debian - for 32 bits I want to reach the following behavior: When the laptop's lid is closed, the OS still working (but with the screen as black). ...
Manuel Jordan's user avatar
1 vote
0 answers
84 views

Linux machine doesn't wake up from suspend

I moved from the laptop to PC recently and noticed that suspend doesn't work. In particular it acts like: I click «Suspend» and looks like system properly goes to sleep There is a blue LED on the ...
SCIF's user avatar
  • 11
1 vote
1 answer
131 views

Multiple distros crash and reboot when trying to resume from sleep/suspend on laptop

Gigabyte Aorus 15 XE4. Nvidia RTX 3070ti. After multiple attempts, this doesn't seem to be related to Nvidia Drivers or intel/nvidia optimus like I thought based on many people with a similar issue. (...
Richard's user avatar
  • 111
0 votes
1 answer
226 views

Fedora 39 freezing on waking from suspend *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 0

Fedora Workstation 39 is freezing on waking up from suspend. It doesn't freeze when using x11, only when using wayland display server. I have NVIDIA driver version 545, some forums told me this could ...
Riki137's user avatar
  • 123
0 votes
1 answer
34 views

When has my laptop been put to sleep? When has it been awakened?

The title says it all... I can add that I'd like to access the full history, full meaning at least to the last time I turned off my computer. I have a Debian Sid laptop and a Suse Tumbleweed one, so ...
gboffi's user avatar
  • 1,454
0 votes
0 answers
112 views

Run the command in the script after waking up in Ubuntu 18.04.6 LTS

I have such a malfunction: after coming out of sleep, the sound disappears on the PC (in chromium). It can be solved if you type the pulseaudio -k command in the terminal. But in order not to enter it ...
sapeg's user avatar
  • 101
0 votes
0 answers
35 views

Resume from suspend only works with external monitor

Since I upgraded from Xubuntu 22.04 to Xubuntu 23.04 (currently on 23.10), my Lenovo laptop has problems with waking from pm-suspend: When the external monitor is connected, it always works. With the ...
Saibot's user avatar
  • 143
0 votes
0 answers
82 views

I’m using Zorin OS 17 and my laptop keeps getting on AirPlane mode after waking up and it won’t disable. Please help fix this forever

My laptop keeps getting in airplane mode when I wakeup the laptop and I can't disable it to use wifi. The airplane mode won't turn off on clicking and the wifi is disabled because of this. However, ...
Ankit Kashyap's user avatar
1 vote
2 answers
67 views

SIGSTOP all proccesses, but stay awake

My computer has a hardware problem, causing it to break when sleeping(needs a hard reset). I would, however, still like to get some sort of low-power mode. is it possible to send a SIGSTOP to all ...
jp_'s user avatar
  • 27
0 votes
0 answers
99 views

Debian PC not waking up after suspending to RAM

When I suspend my computer to RAM, it won't wake up when I press the keys or move the mouse, or even press the power button, and I have to turn the computer off and on again. I believe the suspend ...
zombom's user avatar
  • 1
0 votes
0 answers
75 views

Is possible restart a suspended system remotely?

For Ubuntu and Fedora based on GUI - both as remote clients - in a laptop (and even PC) is possible execute remotely through either SSH or Remmina the following command: sleep 15 && systemctl ...
Manuel Jordan's user avatar
0 votes
0 answers
33 views

Fedora KDE 39 only sleeps once on lid close

The first time I close my laptop lid it goes to sleep as expected. After waking it, all subsequent lid closes do absolutely nothing. Any idea how to fix this? I have no idea where to start. I am using ...
Callum Thomson's user avatar
0 votes
0 answers
47 views

How do you make 'xrandr -q' command work in systemd sleep pre script?

I want to act depending on which output is active. The script would be placed in /lib/systemd/system-sleep/.
jarno's user avatar
  • 620
0 votes
0 answers
39 views

From Ubuntu recent installation, the suspended session remain blocked, how could I do to solve it?

I have this pc, and I mounted on Ubuntu 22.0.4.3 LTS. From that moment I have the problem that when I suspend my session, if too much time passes (like 2 hours), I am not able to enter again, my mouse ...
Dev11's user avatar
  • 1
5 votes
2 answers
274 views

Suspend doesn't work in Debian / powers up after a second

I already asked in #debian-next and on the forum, but thought I'll also ask here before switching back to Fedora. Suspend does not work. When I use systemctl suspend, the workstation goes into suspend ...
J. Doe's user avatar
  • 125
0 votes
0 answers
67 views

Systemctl Suspend Inside Cronjob

I have a cron: * * * * * /usr/local/bin/script 2>/tmp/cron.log And the script: #!/bin/bash if <some validation>; then systemctl suspend fi So I get the error when cron executed: Call to ...
rhuanpk's user avatar
  • 415
0 votes
0 answers
62 views

System won't sleep, Kernel issue?

Randomly, my system will not enter s3 sleep properly, and thus does not wake up from sleep. I have noticed that when it does not enter s3 sleep correctly, entries in my journalctl from the kernel ...
Diamond White's user avatar
0 votes
0 answers
197 views

What is the minimum swap size for hibernation?

Consider the following scenario: I'm running a Linux system with a large amount of RAM. Swap is disabled, except for hibernation. When hibernating, let's assume that RAM data can not be compressed ...
programonkey's user avatar
0 votes
1 answer
180 views

Bizarre system time drift when resuming from sleep

I recently purchased a HP 14-fq1003cl laptop and stripped it curse that is Windows 11 and put KDE neon on the system. It works very well with Linux and I am very pleased with it. However, one issue ...
Alek's user avatar
  • 1
0 votes
0 answers
52 views

USB wakeup from suspended state on Android 13.x IMX8MQ evk

I am unable to use USB wake-up feature of Android on IMX8MQ evk. I am using the following setup: -Imx8mq EVK -Android 13 -Kernel 5.15.71-dirty -GSM modem is attached via USB I have set the following ...
Muhammad Awais's user avatar
0 votes
1 answer
317 views

Fedora occasionally freezes when entering Sleep Mode

Fedora occasionally freezes when entering Sleep Mode. I bought an Samsung 970 Evo Plus NVME SSD for my PC (AMD Ryzen CPU and a AMD Radeon GPU. Both are a few years old.) Last night the computer ...
sebastian_kraska's user avatar
3 votes
1 answer
170 views

is there a sleep command that works with real date time and ignores suspend?

is there a sleep command that works with real date time and ignores suspend? echo a;sleep 3600;echo b i work 10mins, suspend the notebook for 2h. When I wake it up from suspend, "b" will ...
VeganEye's user avatar
0 votes
0 answers
66 views

Wake notebook from sleep with USB4 wake-on-connect

I have a Lenovo T16 Gen 2 notebook with two thunderbolt 4 ports and a docking station. A usb keyboard is connected to the dock. I switch the connection of the dock between two notebooks. I want to ...
Simone Gaiarin's user avatar
0 votes
1 answer
562 views

Linux crashes after resume from suspend

My Linux crashes after it wakes up from sleep mode, namely, it stops responding to any commands, at the moment I have Manjaro Linux, but there was a similar problem on Ubuntu. My laptop: Huawei Mate ...
zoodle's user avatar
  • 1
0 votes
0 answers
553 views

Running Scripts Before and After Suspend with Systemd

I found this blog article here that explains the process of Running scripts before and after suspend with systemd. Here are the steps: Create a /usr/lib/systemd/system-sleep/suspend-date.sh script: #...
jophuh's user avatar
  • 23
0 votes
1 answer
19 views

One time suspension of suspension upon lid closing

Assume that I am compiling some big project and want to put my laptop on my bag without stopping the compilation process. Closing the lid put my computer in hibernation. What are the options to stop ...
InfiniteLooper's user avatar
3 votes
0 answers
100 views

Display linux sleep state

I have built up a new AlmaLinux 9 system which has a power LED that is normally on (constant). After a while I notice the power led slow blinks. According to what I found online this indicates the ...
TSG's user avatar
  • 1,768
0 votes
0 answers
404 views

How do I stop random sleep/hibernation?

I am currently running Debian 12 on a Microsoft Surface Pro 2 with the 6.4.12-surface kernel from the linux-surface project. However, I have been experiencing the computer's screen turning off and the ...
kickit's user avatar
  • 1
1 vote
0 answers
74 views

Diagnosing Suspend/Wakeup problems in Xubuntu

I had my old laptop (Xubuntu LTE 20.04, Kernel 5.something) configured to suspend when I close the lid, which worked fine. When I switched to a new laptop (Tuxedo Pulse 15 - Gen2, Ryzen 7 5700U with ...
bakunin's user avatar
  • 531
0 votes
0 answers
592 views

systemd, journalctl, and suspend/resume (sleep/wake): marked by default in the logs? Or how to add? And scripting around suspend/resume in general?

( First of all, I'm not completely sure what the official terms are. I think it's "suspend"/"resume", with "sleep"/"wake" being synonyms (and I'm not sure if ...
dwawlyn's user avatar
  • 23
0 votes
0 answers
644 views

Gave up waiting for suspend/resume device ubuntu 22.04

My laptop has ubuntu 22 and windows OS installed. Ubuntu was logged in. Mistakenly, I forgot to plug the charger and battery drained. When I tried to restart, I can see grub menu, but then it loads ...
TalESid's user avatar
  • 119
3 votes
1 answer
590 views

In GNOME on Wayland, how can I issue a command to reset the idle time?

I know I can issue this command to get the Idle Time dbus-send --print-reply --dest=org.gnome.Mutter.IdleMonitor /org/gnome/Mutter/IdleMonitor/Core org.gnome.Mutter.IdleMonitor.GetIdletime , but how ...
Jason Hunter's user avatar
1 vote
0 answers
1k views

Debian 12 - Suspend sometimes doesn't work

After installing Debian 12 on my laptop, suspend sometimes doesn't work. Trying from the shutdown menu in Gnome, or by using systemctl suspend, I encounter the same random behavior. I can't figure out ...
manu_romero_411's user avatar
0 votes
0 answers
247 views

Find workaround for display not resuming from deep sleep

How can I activate the screen if it doesn't turn on after resuming from the S3 deep sleep state (suspend to RAM)? The test for suspending to RAM appears to be successful. # echo core > /sys/power/...
Roman Riabenko's user avatar
3 votes
3 answers
2k views

systemctl suspend, Call to Suspend failed: Access denied

After a recent update on an Ubuntu 20.04: $ systemctl suspend Call to Suspend failed: Access denied Some weeks ago worked fine this way, without any root privileges. On journal: dbus-daemon[1310]: [...
Pablo A's user avatar
  • 2,821
0 votes
0 answers
170 views

Crontab jobs during suspend will not run?

Environment: Linux XUBUNTU 22.04.2 LTS on an ACER ASPIRE laptop. Tools: Using Linux Text Editor to create a bash script also tried using crontab to execute each command a minute apart. Goal: To have ...
J. Mander's user avatar
1 vote
0 answers
136 views

Does Debian 12 running on a Dell XPS 15 9520 support "deep" suspend mode?

I have checked the file /sys/power/mem_sleep and it only has the value [s2idle], I didn't see the option deep, but maybe is missing.
logicito's user avatar
  • 111
0 votes
1 answer
333 views

How to simulate the plugging and unplugging of an HDMI cable through software?

After some struggle, I got systemctl suspend working with my Nvidia graphics card; only that when machine resumes, the monitor is blank. Yet I discovered that if I unplug the HDMI cable and plug it in ...
Philipp Claßen's user avatar
0 votes
0 answers
800 views

Pop-OS 22.04 with nvidia-driver-525 fails to suspend on a hybrid laptop

The fact that after surfing dozens of help posts I failed to reach a solution indicates how diverse the problem is. Problem: I'm using Pop-OS 22.04 LTS on my HP Pavilion laptop which features Intel ...
Meraj al Maksud's user avatar

1
2 3 4 5
11