You are not logged in.

#1 2013-07-27 17:52:43

Score_Under
Member
Registered: 2013-07-24
Posts: 4

"Sleep quirks" for systemctl?

I'm using a HP Pavilion g6, here's what lshw has to say, and my screen doesn't turn on after resume from "sudo systemctl suspend". I can flick over to another TTY and (blindly) log in and execute commands, but my screen won't turn back on. (Edit - something similar happens for "systemctl hibernate" - except this time, the screen just turns off and it never powers down).

I know that pm-suspend has "sleep quirks" for this (though I never figured out what mine were), but what can I do to remedy this in systemctl?

Last edited by Score_Under (2013-07-27 18:34:08)

Offline

#2 2013-07-27 18:47:20

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 98

Re: "Sleep quirks" for systemctl?

You could try an older kernel as the latest ones seem to give problems.
I have just downgraded the kernel on my desktop for the reason that you have and all is OK.

Offline

#3 2013-07-27 18:52:16

Score_Under
Member
Registered: 2013-07-24
Posts: 4

Re: "Sleep quirks" for systemctl?

What version of the kernel did you downgrade to?

Offline

#4 2013-07-27 19:25:37

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 98

Re: "Sleep quirks" for systemctl?

Kernel 3.9.7-1 at the moment as the last 2 or 3 wouldn't resume.

Offline

#5 2013-07-28 00:18:51

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,143

Re: "Sleep quirks" for systemctl?

I imagine if you figured out what pm-suspend did, you could get systemd to do that by crafting a suitable unit file and having the relevant systemd target "want" it.

You should be able to figure out what pm-suspend did from the logs/journal, I think.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2013-07-28 00:39:16

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: "Sleep quirks" for systemctl?

Even easier than using native units to enable sleep quirks (once you figure out what they are) would be to simply port the scripts provided by pm-utils/pm-quirks to the systemd-sleep format.

Offline

Board footer

Powered by FluxBB