Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Suspension issue on Sparkylinux 7.1

Started by Henry1, October 23, 2023, 10:47:27 AM

Previous topic - Next topic

Henry1

Good morning,

I have an issue with Sparkylinux 7.1 on my laptop that is not able to suspend, even on "live mode" if screensaver is disabled or uninstalled when before the stand by mode was working even with screensaver disabled setting the time of suspension through the power management. I have tried the way listed below but didn't work, I read few other posts on internet having this problem with Debian Bookworm while I never experienced this issue until today, thank you in advance for the help.

Henry

systemctl status sleep.target
sleep.target - Sleep
     Loaded: loaded (/lib/systemd/system/sleep.target; static)
     Active: inactive (dead)
       Docs: man:systemd.special(7)
        Hp-650:~$ systemctl enable suspend.target 
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
 
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Created symlink /etc/systemd/system/sleep.target → /dev/null.
Created symlink /etc/systemd/system/suspend.target → /dev/null.
Created symlink /etc/systemd/system/hibernate.target → /dev/null.
Created symlink /etc/systemd/system/hybrid-sleep.target → /dev/null.

systemctl status sleep.target
sleep.target
     Loaded: masked (Reason: Unit sleep.target is masked.)
     Active: inactive (dead)

sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
Removed "/etc/systemd/system/sleep.target".
Removed "/etc/systemd/system/suspend.target".
Removed "/etc/systemd/system/hibernate.target".
Removed "/etc/systemd/system/hybrid-sleep.target".

pavroo

Can't help with that, suspend never worked on Debian well for me, sorry.
I use hibernate instead.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

Henry1

The thing is till 2 days ago I could disable the screensaver and get the notebook suspended using the power management then suddenly some update must have changed something and now it is not possible to get the laptop in standby mode if you do not set the same minutes in the screensaver panel...I had posted another question last Friday on Ungoogled Chromium not being updated to the the latest version even updating packages, any news?

Thank you for your help as usual Pavroo.

View the most recent posts on the forum