The officially official Devuan Forum!

You are not logged in.

#1 2024-07-21 08:33:34

Mikey
Member
Registered: 2024-07-14
Posts: 12  

[SOLVED] Suspend-to-RAM do not work in Excalibur

Hello,
Unfortunately, Suspend-to-RAM in Excalibur does not work.
All LEDs shine and the fan continues.
The same problem is in Ceres.

In Daedalus it was still flawless.

But when I install pm-utils and enter "sudo pm-suspend", the Suspend-to-RAM works.

Is that already known? Is there a workaround and (if no) where can you report this.

How could I change the behavior of the power buttons to the command pm-suspend.

Last edited by Mikey (2024-07-21 09:56:28)

Offline

#2 2024-07-21 15:03:45

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,470  

Re: [SOLVED] Suspend-to-RAM do not work in Excalibur

Maybe take a look in /etc/elogind/logind.conf and change a default setting or two. See man 5 logind.conf for details.

Offline

#3 2024-07-23 04:36:26

Mikey
Member
Registered: 2024-07-14
Posts: 12  

Re: [SOLVED] Suspend-to-RAM do not work in Excalibur

Thanks for the tip.
I think it's a bug, where could I report it?

Offline

#4 2024-07-26 23:24:59

libretux
Member
From: Argentina
Registered: 2018-04-25
Posts: 6  

Re: [SOLVED] Suspend-to-RAM do not work in Excalibur

Hi.

In these days I have migrated my laptop Lenovo T420 to Excalibur and I have the same problem, do not suspend correctly, in my case with Mate desktop.

I have also tried with the power-manager of xfce4 and with pm-suspend, but the same happens.

Will it be a problem with migration itself?

Offline

#5 2024-07-28 18:06:53

Mikey
Member
Registered: 2024-07-14
Posts: 12  

Re: [SOLVED] Suspend-to-RAM do not work in Excalibur

For me (lxqt), the sudo pm-suspend works, but only after a new boot.
If you (in one session) first try to go in suspend with the mate utils, then pm-suspend has the same behavior. Thats important.

I have added in sudoers file

mikey ALL=NOPASSWD: /sbin/pm-suspend, /sbin/pm-hibernate

So you can make a button (desktop, panel) with "sudo pm-suspend"

I think this is a bug and has to report.

Last edited by Mikey (2024-07-28 19:51:11)

Offline

#6 2024-08-06 03:01:59

libretux
Member
From: Argentina
Registered: 2018-04-25
Posts: 6  

Re: [SOLVED] Suspend-to-RAM do not work in Excalibur

For me (lxqt), the sudo pm-suspend works, but only after a new boot.

Thanks @Mikey, i think when I tried it I had only closed session, when I turned off the team it did start working without problem with "sudo pm-suspend"

Offline

#7 2024-08-13 18:17:26

bigcat
Member
Registered: 2023-05-10
Posts: 30  

Re: [SOLVED] Suspend-to-RAM do not work in Excalibur

Try the following; in /etc/elogind/sleep.conf.d directory create the file 20-suspend.conf with the following contents

[Sleep]
SuspendMode=deep

and reboot.

Offline

#8 2024-08-14 03:31:55

libretux
Member
From: Argentina
Registered: 2018-04-25
Posts: 6  

Re: [SOLVED] Suspend-to-RAM do not work in Excalibur

bigcat wrote:

Try the following; in /etc/elogind/sleep.conf.d directory create the file 20-suspend.conf with the following contents

[Sleep]
SuspendMode=deep

and reboot.

With this solution now it works!

I checked using the menu button, the physical button of the laptot (which asks what to do) and even closing the lid of the laptot.

Thanks a lot, bigcat, for the solution big_smile, and also to whom they contributed to the topic, including their creator

Offline

#9 2024-08-14 11:05:23

Mikey
Member
Registered: 2024-07-14
Posts: 12  

Re: [SOLVED] Suspend-to-RAM do not work in Excalibur

@bigcat
Thank you, that works and it is in any case the better solution.

Last edited by Mikey (2024-08-14 11:22:19)

Offline

Board footer