this post was submitted on 25 May 2025
38 points (91.3% liked)

Linux

55989 readers
1304 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Fedora 42 gnome, suspend does not work it wakes up immediately and stays in the login screen.

top 32 comments
sorted by: hot top controversial new old
[–] Kambo@lemmy.world 11 points 1 month ago (2 children)

Hope this will help.

I fixed this issue by disabling USB Wake up for my mouse. The wireless receiver/mouse seemed to be sending a constant request to wake up the computer, so obviously, when put to sleep, it would wake up immediately.

[–] that_leaflet@lemmy.world 5 points 1 month ago

This also also affecting me. Though it was just because I was unaware of the USB wake function. Since I have, I made it a habit to suspend, then immediately lift up my mouse to turn it off. Though I guess that's not an option for wired mice.

[–] dr_sentinel@lemm.ee 2 points 1 month ago

Didnt solve for me :(

[–] IanTwenty@lemmy.world 5 points 1 month ago (1 children)

The logs should indicate the device/app that prevents suspend, run 'journalctl -r' after it happens.There are ways to disable devices from preventing suspend but we need to know what's causing it first.

[–] dr_sentinel@lemm.ee 3 points 1 month ago (1 children)
[–] IanTwenty@lemmy.world 3 points 1 month ago

Your IRQ 'permission denied' log lines could be caused by this: https://github.com/Irqbalance/irqbalance/issues/336

..to which the answer is currently to wait for kernel fix. Whether this is the cause of the suspend issue as well I couldn't say.

Is this all the logs, from very start of you hitting suspend to when the machine comes back? I ask because I expected to see more things stopping and then restarting...

[–] terminhell@lemmy.dbzer0.com 5 points 1 month ago (1 children)

Is it just f42 or any OS? I've had issues in the past with some mice being treated as a keyboard and it would do exactly this.

[–] dr_sentinel@lemm.ee 2 points 1 month ago (1 children)

Fedora & mint has this issue, but suspend works in arch tho. Maybe because i dont have swap partition?

[–] terminhell@lemmy.dbzer0.com 1 points 2 weeks ago

Maybe you've fixed this by now, but thinking about it again it was a gaming mouse I used to have. Windows would do it too. Ended up having to do something with it in dbus or something cuz it reported as a keyboard instead of a mouse.

[–] 0xf@lemmy.ml 4 points 1 month ago (1 children)

Try to turn off 'fast boot' in bios and test again, should work.

[–] dr_sentinel@lemm.ee 1 points 1 month ago

Not working :(

[–] Father_Redbeard@lemmy.ml 4 points 1 month ago (1 children)

Do you have a Gigabyte motherboard in your PC? I'm battling the same with Pop!_OS that is related to Gigabyte mobos of a certain model. There is a fix, but I havent been able to get it to work and haven't had time to find out why.

Specifically the B550 model(s).

[–] dr_sentinel@lemm.ee 1 points 1 month ago

I have an acer aspire lite AL5141. But suspend used to work in arch. Im thinking of using previous kernel version maybe that will fix.

[–] Karkitoo@lemmy.ml 3 points 1 month ago

Did you have Firefox running perchance ?

It happened often to me so it became a habit.

[–] ArsonButCute@lemmy.dbzer0.com 3 points 1 month ago

Please confirm that sleep is configured correctly for your hardware.

Read this article from the Arch Wiki then refer to Section 3 after you've familiarized yourself with the content to make the changes necessary.

Many hardware implementations of the various sleep types are borked due to workarounds for the way Windows would prefer to handle sleep. The information in this article should allow you to mitigate this.

[–] pemptago@lemmy.ml 3 points 1 month ago (1 children)

Had a similar problem on Pop_OS. Seemed to be an nvidia diver issue. Suspend would stop working after a driver update and sometimes go away after another update. This happened 2 or 3 times. There were also some logs about nvidia suspend issues. My troubleshooting was unsuccessful and iirc, it was complicated to keep pop from updating so I eventually swapped nvidia for amd and it stopped being an issue.

[–] dr_sentinel@lemm.ee 1 points 1 month ago (1 children)
[–] pemptago@lemmy.ml 2 points 1 month ago* (last edited 1 month ago)

Shoot. Sorry I couldn't help then. Good luck with your troubleshooting. I know it can be a very frustrating issue.

[–] catloaf@lemm.ee 2 points 1 month ago

What's in the logs?

[–] MangoPenguin@lemmy.blahaj.zone 2 points 1 month ago (1 children)

My HP laptop did that until I disabled "Deep Sleep" in the BIOS settings, now it sleeps properly and only loses a couple percent per day.

[–] dr_sentinel@lemm.ee 1 points 1 month ago (1 children)

Theres nothing like deep sleep in my acer bios

[–] MangoPenguin@lemmy.blahaj.zone 1 points 1 month ago

Check what the last wake source was and see of that helps.

[–] sasquash@sopuli.xyz 1 points 1 month ago

I have the same issue but with KDE. But in my case I think its because of the wireless mouse.

[–] just_another_person@lemmy.world 1 points 1 month ago (1 children)

Check dmesg and system logs and post relevant entries.

[–] dr_sentinel@lemm.ee 1 points 1 month ago (1 children)
[–] just_another_person@lemmy.world 1 points 1 month ago (1 children)

I saw your comment that you don't have swap enabled, and you're trying to hibernate. This won't work. Create a swapfile equal to your memory size.

https://linuxize.com/post/create-a-linux-swap-file/

[–] dr_sentinel@lemm.ee 1 points 1 month ago (1 children)

hey im trying to suspend not hibernate.

[–] just_another_person@lemmy.world 1 points 1 month ago (1 children)

The resume message suggests otherwise...

Are you POSITIVE your BIOS supports S3 and not S4?

[–] dr_sentinel@lemm.ee 1 points 1 month ago

im not sure, it shows [s2idle]. however my laptop used to succesfully suspend in arch, ubuntu and windows when i used them few months back. this week ive tried mint and fedora and both have this issue. as another person here said i think its a kernel issue

[–] oranki@sopuli.xyz 1 points 1 month ago

I'm not sure if this is of any help, but I had the same issue with Wake on LAN enabled. This was a while ago with an Asus motherboard.

If you don't need WoL, disable it and it should fix it if your MB is affected.

But if you do need WoL, look at https://wiki.archlinux.org/title/Wake-on-LAN.

The section 5.2.2 Fix by kernel quirks was what fixed it for me.

[–] enemenemu@lemm.ee 1 points 1 month ago (1 children)
[–] dr_sentinel@lemm.ee 1 points 1 month ago

via cli also has same issue