9
votes
PC Wakes Up Immediately After Suspend
I just purchased a new computer, and suspend worked fine when I had it in my office connected to my monitor, but when I moved it to my front room and connected it to my TV, it started exhibiting this ...
3
votes
Ubuntu 23.04 suspention or sleep doesn't wake up after power again the system or can not login(and still not working)
The output of journalctl --grep='sleep|suspend|resume' --no-pager --since='-1day' tells you that your system power saving mode is in S0:
kernel: Low-power S0 idle used by default for system suspend
...
3
votes
Accepted
How to change /sys/power/mem_sleep? Nothing is able to change it and all advice so far seems to be wrong?
(OP addition): First make sure your BIOS->config->power-sleep state is correct (or whatever it is called). It should be set to Linux. Default is probably windows. Not having this set properly ...
2
votes
Suspend problem with Ubuntu 22.04
Here from googling for the fix after a reinstall and finding this ask live this round.
This is likely the "Gigabyte B550 family boards do not come out of suspend on linux" GPP0/GPP8 bug that ...
2
votes
"failed to enable link training" when resuming from suspend
When resuming from suspend, I frequently receive a black screen which only contains this error:
i915 0000:00:02.0: [drm] *ERROR* failed to enable link training
This issue is a bit odd because most of ...
2
votes
How do I prevent mouse movement from waking up a suspended computer?
It is possible to use udev rules to set the wakeup setting automatically. For example, I create a new udev rule in /etc/udev/rules.d/99-nowakeup.rules:
ACTION=="add", SUBSYSTEM=="pci|...
2
votes
Ubuntu server 22.04 suspend issues
How to investigate?
You need to see what's going on behind the scenes in your system while it's suspending/sleeping ... You can start by inspecting related system messages using journalctl like so:
...
2
votes
How to check, if HDD is in sleep mode?
sudo hdparm -C DEVICE will do it e.g.
sudo hdparm -C /dev/sdd1
dev/sdd1:
drive state is: active/idle
or for a sleeping device it will return:
drive state is: standby
Also see the smartctl command ...
2
votes
Accepted
Ubuntu 22.04 : Laptop don't wake up after suspend
In your output of journalctl --grep='sleep|suspend|resume' --no-pager --since='-1day':
kernel: BIOS may not properly restore RDRAND after suspend, hiding RDRAND via CPUID. Use rdrand=force to ...
2
votes
Ubuntu 23.10, return from sleep/suspend problems
Find out what's going on by looking at the system's log messages.
First step is to put a pin in the timestream with
date '+%y-%m-%d %H:%M:%S' >pin.tmp
Then, do your suspend thing. When your system ...
1
vote
Ubuntu 23.04 logs me out arbitrarily while going to sleep mode
Open Settings -> Privacy -> Screen and disable Automatic Screen Lock.
Read more at https://help.ubuntu.com/stable/ubuntu-help/privacy-screen-lock.html
1
vote
Why does sleep mode revert to s2idle when I set it to deep?
You can make the change permanent as per these instructions:
Edit your grub configuration: sudo nano /etc/default/grub
Replace GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" with ...
1
vote
Non-boot CPUs are not disabled( seems there is a bug in "6.2.0-26-generic" kernel)
I made my life easier by deleting the last kernel using following commands:
sudo apt-get purge linux-image-6.2.0-26-generic
sudo apt-get purge linux-headers-6.2.0-26-generic
Now I am using my ...
1
vote
Ubuntu 23.04 suspention or sleep doesn't wake up after power again the system or can not login(and still not working)
Just an idea: Maybe the OP should try disabling the GPU's ULPS (Ultra-low power state) feature also marketed as "AMD ZeroCore Power" technology*. The screen staying black after some sort of ...
1
vote
Accepted
Thinkpad on Ubuntu 22.04 doesn't wake up from suspend
Very good problem description from your side. Helped me to fix my problem.
I confirmed that I tried all the ideas you mentioned. Then I came across a bug report on launchpad.
I also have/had this ...
1
vote
Ubuntu 22.04 jammy run script on resume
It's /lib/systemd/system-sleep/ and not "/lib/systemd/systemd-sleep" ... Your scriptfile's contents can look like this:
#!/bin/sh
# "/lib/systemd/system-sleep/" template script
...
1
vote
Ubuntu 20.04, 22.04, 23.04 Laptop freezes after suspend
I have the same problem only with Ubuntu 23.04, both on my laptop and PC. Ubuntu, Kubuntu, Tuxedo OS2, and any other Ubuntu-based Linux that is using 23.04. Not only from Suspend but even when turning ...
1
vote
How do I make changes to /proc/acpi/wakeup permanent?
Based on @Hrishikesh Kadam's answer, but with more details and some improvements. 🤗
Disable the computer from waking up using the keyboard, mouse and others
List devices that can wakeup the system
...
1
vote
What is the difference between Hibernate and Suspend
This is a very old thread, and although it is not asking for how to do either suspend or hibernate, I think it is one of the reasons some people land in this question.
At the time of writing (August ...
1
vote
Touchpad stopped working after suspend/sleep
The above didnt work for me (I have a thinkpad l440). If you look in dmesg you will probably see some rmi errors (looks like a kernel bug with IRQ reading).
Do this to fix the touchpad after resume:
...
1
vote
1
vote
Download aborted when computer went to sleep
Sleeping will interrupt downloads across pretty much all operating systems. You will need to keep the computer awake during downloads.
You can do this manually, but I made myself a little script, ...
1
vote
Accepted
How to tell in a shell script whether this script is continued after suspend?
First and foremost, let's note that sleep does not take suspended time into account.
For example, if you execute the command sleep 5m, then suspend the computer, then 4 minutes later wake it up, then ...
1
vote
How to tell in a shell script whether this script is continued after suspend?
One way
Last resume time should be available via systemd journal system with something like:
journalctl -r | awk '/resume/ {print $0; exit}'
Therefore, you can assign the timestamp in short-iso ...
1
vote
AMD Ryzen 4700U Processor and AMD Radeon Graphics Machine Failing to Resume After Suspend on Ubuntu 22.10
Thank you everyone for your comments. This turned out to be a bug with the Linux kernel version I was using, I upgraded to 6.2.0 and I no longer see this issue.
1
vote
Quick Battery Drain in Suspend Mode
sudo vi /sys/power/mem_sleep
Open the file with a super user account and edit and save:
s2idle [deep]
It should sleep in S3 sleep when you exexute systemctl suspend or equivalent to it.
Linux system ...
1
vote
Ubuntu 22.04 won't wake up from sleep
Dell XPS 9550
in Ubuntu 22.04 I tried next steps:
added mem_sleep_default=deep to GRUB_CMDLINE_LINUX_DEFAULT (/etc/default/grub) - didn't help
added WaylandEnable=false in /etc/gdm3/custom.conf (...
1
vote
Ubuntu 22.04.1: How to automatically reset USB connections upon wake?
2 years and 3 months after asking, I think I finally got it working! 🎉
Thanks so much to @Raffa, @Oratorium, and @emk2203 for the guidance.
mkdir ~/code/ubuntu_tools
touch ~/code/ubuntu_tools/...
1
vote
Thinkpad T14 Gen 3 Intel on Ubuntu - sleep mode issue
I solved it by updating the BIOS !
Answer moved here from OP's question.
Community wiki
1
vote
Ubuntu 22.04.1 Rebooting after switch to sleep mode
I had the same problem and tried a lot of things (editing the logind.conf etc.). A complete shutdown (instead of reboot) solved my problem.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
suspend × 4050power-management × 700
hibernate × 370
16.04 × 302
20.04 × 291
nvidia × 278
laptop × 274
18.04 × 273
14.04 × 250
drivers × 181
networking × 174
shutdown × 173
wireless × 157
22.04 × 153
12.04 × 128
dell × 126
keyboard × 122
wakeup × 122
gnome × 120
boot × 107
kernel × 107
lenovo × 105
lock-screen × 104
xubuntu × 102
battery × 100