Suspend doesn't work

Hi all, first of all, I’m new NixOS. Currently I’m having the issue that suspending my laptop doesn’t work. What I do:

  • systemctl suspend.
  • Screen gets black for around 1-2 seconds.
  • Screen turns on again

So somehow the suspend does not work. I guess this is not a purely NixOS related issue.
I already tried disabling the wakup triggers (Is this the correct term) one by one and then rerunning systemctl suspend as suggested in Resumes immediately after suspend: How to diagnose - #4 by TLATER, but this did not work.

There is no configuration for my lapton on the nixos hardware repositories (ASUS ProArt PX 13).
This ubuntu user has the same problem, but their script didn’t work for me. nvidia - ASUS ProArt PX13 - unable to suspend (immediately start again) - Ask Ubuntu

Here is the output of journalctl, maybe this is helpful: Apr 15 00:27:45 nixos systemd-logind[2097]: The system will suspend now!Apr 15 - Pastebin.com
Please let me know if I can provide other relevant information or perform analysis tasks.

Thanks a lot!

Looks like a firmware bug, have you tried updating BIOS?

Thanks for your answer.
I have not tried it yet, and never did on other systems in the past.
I now installed Fwupd - NixOS Wiki , however fwupdmgr get-updates tells me there are no updates available. I will research whether there are alternative ways.

ASUS would need to explicitly support fwupdmgr for that to work.

Make sure to grab the right wiki by the way: Managing links to the unofficial wiki

Thanks @TLATER . Seems like ASUS does not support it. I’ll research further, maybe I can find another reason why this happens.

p.d. I changed the link to the new wiki. Thanks for the hint. I didn’t know about it.

1 Like

You can manually grab firmware for your laptop from here: https://www.asus.com/laptops/for-creators/proart/proart-px13-hn7306/helpdesk_bios?model2Name=HN7306WI

Installing it should be fairly easy from BIOS - just check the model name is actually correct (HN7306WI).