Solved having trouble waking from suspend/hibernation in debian 13

Solved issue

errorperson13

New Member
Joined
Jan 29, 2026
Messages
8
Reaction score
3
Credits
69
important edit : i reinstalled and swapped to kde plasma which doesnt have this issue in the first place, so my assumption is something specifically with GNOME's implementation of sleep and hibernation is incompatible with my specific build of laptop



im very new to linux and installed debian 13 with the default setup (gnome) and i am having trouble getting it out of the suspend mode
i take it that it might use the power button to wake, but thats an issue because my power button is defective
is there a way to wake it with my inbuilt laptop keyboard instead? i use an asus tuf a15, and i have a nvidia gpu


i can disable suspend and hibernation if i need to but id prefer not to if thats possible (it is my solution for now but my computer does get hot)
 
Last edited:


@errorperson13 :-

Hallo.....and
welcome.gif
to Linux.org.

I have to assume you're using a laptop here, yes?

I regularly use suspend on my 2019 HP Pavilion desktop rig. Specs as in my siggy, below.....and I, too, run an Nvidia card. The latter should make no real difference to behaviour, since the ability to suspend - or not - is determined by your CPU's power-handling 'states'.

For suspend / wake-up, I believe this is determined by the 'S3' state.....also known as Suspend-to-RAM.

The suspend 'command' I use is relatively simple:-

Code:
echo -n mem > /sys/power/state

....which is part of a GUI script. This is called from the LogOut GUI, and then goes into 'Suspend' mode after a 30-second timeout (giving me time to shut-off the monitor / mouse / keyboard, etc).

~~~~~~~~~~~~~~~~~~~~~~​

Waking-up is simple. I power-on the monitor, followed by the wireless keyboard + mouse.....then hit the biggest key on the board (the 'Space' bar). 5 seconds later, she's 'alive' again.....and ready to carry on from where I left off the night before.

I don't know if it would be that simple on a laptop, given that there's the ACPI stuff to take into account.....along with the magnetically-operated switch that detects when the lid is opened. I have an older Dell Latitude, but I never suspend this; only ever a full power-off.

Others will know more about this than I do! I believe, however, that wake-from-suspend is usually set to work with opening the lid on a laptop. It's also possible to open the lid then hit the power button, through from what you say, it rather sounds as though you don't currently have this option...


Mike. ;)
 
Last edited:
oh- that command is a legit proper sleep i can use my keyboard to wake up from
before, what happened was when i closed my lid it would go into a state where i couldnt power it on at all
but i ran the command just because i wanted to see how it worked and lo and behold, its what i wanted my lid to do when i closed it
weird

thank you so much though! ill definitely use this command when im not using my computer, at least until i can get the lid working proper
 
@errorperson13 :-

Well, I realise it's not QUITE what you wanted, but it should mostly do what you need it to do. It IS possible to get it working with the lid's magnetic reed switch, but I just have no experience of doing so. And that's why I said that others should be able to help with this...

Out of curiosity, if your power button isn't behaving itself, how are you booting in the first place?


Mike.
hmm.gif
 
the power button is not completely dead, its just really hard to get it to respond
iirc its a common defect with the model i have

EDIT: ok so i ended up having to reinstall because GNOME decided to just die on me, and i swapped to KDE plasma which seems to have magically fixed my issue with the sleep function
funny stuff
thank you so much for the command regardless though it was a lifesaver
 
Last edited:


Follow Linux.org

Members online

No members online now.

Top