how to install or use pm-suspend similar command on Qubes

25 views
Skip to first unread message

Guerlan

unread,
Dec 26, 2019, 6:19:50 PM12/26/19
to qubes-users
I'm following https://wiki.ubuntu.com/DebuggingKernelSuspend to debug kernel suspend problems. However, on dom0 there's no pm-suspend command.

How can I install SECURELY this command or how to substitute for another one?

This is the command:

sudo sh -c "sync && echo 1 > /sys/power/pm_trace && pm-suspend"

Which command does xfce use when I click the suspend button?

awokd

unread,
Dec 27, 2019, 3:35:32 AM12/27/19
to qubes...@googlegroups.com
Guerlan:
Try systemctl suspend.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

Claudia

unread,
Dec 27, 2019, 6:13:34 AM12/27/19
to qubes...@googlegroups.com
December 27, 2019 8:35 AM, "awokd' via qubes-users" <qubes...@googlegroups.com> wrote:

> Guerlan:
>
>> I'm following https://wiki.ubuntu.com/DebuggingKernelSuspend to debug
>> kernel suspend problems. However, on dom0 there's no pm-suspend command.
>>
>> How can I install SECURELY this command or how to substitute for another
>> one?
>>
>> This is the command:
>>
>> sudo sh -c "sync && echo 1 > /sys/power/pm_trace && pm-suspend"
>>
>> Which command does xfce use when I click the suspend button?
>
> Try systemctl suspend.

If that doesn't work, there's also `echo mem > /sys/power/state`

https://www.kernel.org/doc/Documentation/power/s2ram.txt

Reply all
Reply to author
Forward
0 new messages