[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Laptop resumes each 1h13 after suspend-to-ram



On 14/09/2025 23:36, Jeffrey Walton wrote:
On Fri, Sep 12, 2025 at 11:35 AM Eugen Dedu <eugen.dedu@univ-fcomte.fr> wrote:

On 11/09/2025 23:42, Jeffrey Walton wrote:
On Thu, Sep 11, 2025 at 2:45 PM Eugen Dedu <eugen.dedu@univ-fcomte.fr>
wrote:

I have a weird problem with suspend-to-ram with my Dell Precision 3591
laptop, which awakes alone/itself, without touching it, each approx. 1
hour and 13 minutes.  This problem has existed since I installed Debian
on it, on January.  I tested with several kernels, such as linux 6.12
and 6.16.  Note that the awake occurs only I suspend by pressing the
button on the keyboard; if I close the lid it does not awake.

Update the UEFI before you start down a rabbit hole with the kernel and
drivers.

It looks like the latest version is 1.11.2 from December 2024. See <
https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=h60cy

I am up to date with respect to UEFI, by running fwupdmgr update.  I
currently have:
└─System Firmware:
    └─Latitude 5550,Precision 3590,Precision 3591 System Update:
          New version:      1.15.1
          Created:          2025-05-12 14:27:25

I do not know if this is the same thing as what you wrote, because I do
not find your version 1.11.2 in the list shown at
https://www.dell.com/support/product-details/fr-fr/product/precision-15-3591-laptop/drivers

Next, decide which component should control power management: UEFI or Systemd.

If you choose UEFI, then disable Systemd power state functions. Mask
the sleep.target suspend.target hibernate.target hybrid-sleep.target
units. See <https://www.tecmint.com/disable-suspend-and-hibernation-in-linux/>
(and friends) for the command.

If you choose Systemd, then go to your BIOS/UEFI setup, and disable
S3, S4 and S5 power states. Those power states are sleep, suspend and
hibernate. Systemd will now control them.

Personally, I disable S3,S4 and S5 in the BIOS/UEFI. I allow the
operating system to control them.

I tested all the options related to sleep in UEFI:
- Power->Block sleep (allow OS to use S3): off=>bug, on=>does not sleep anymore (after pressing sleeping button, keyboard is still lighted (brightness on) + µP fan on) - Performance->C-state control (allow CPU to enter/exit low power states): both on and off=>bug
- USB wake support (related to dock): on and off=>bug

Alternatively, I disabled Systemd files, after executing:
# systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
Now I cannot suspend anymore:
root@snoopy:~# systemctl suspend
Call to Suspend failed: Access denied
root@snoopy:~#
Pressing power button on keyboard does nothing either.


Reply to: