You are not logged in.

#1 2014-07-17 10:36:00

pryme
Member
Registered: 2014-07-17
Posts: 2

Suspend on lid close – weird behaviour

So I installed Arch on my Lenovo x200s. Everything is fine, except suspending on lid close (systemctl suspend works).
When I restart systemd-logind.service or tlp.service – suspend is performed when lid close, but only once. I mean that the first time after service restart succeeds and fails the another time. Kernel 3.14.12-1-lts, but the same issue occur with 3.15.

Content of:
/etc/systemd/logind.conf: http://sprunge.us/dMfN
journalctl -b: http://sprunge.us/UfUP

Previously I had no problems on this laptop. Someday I shut down the computer, booted again and suspend didn't work. In the meantime I reinstalled my Arch instance because of little mess. Using xfce4-power-manager I don't see this problem.

I know that logs are full of mismatches. This is due to the wrong eeprom content.

PS. Sorry for my poor English.

Last edited by pryme (2014-07-17 12:19:19)

Offline

#2 2014-07-17 12:27:54

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Suspend on lid close – weird behaviour

I'm a little confused...

pryme wrote:

Everything is fine, except suspending on lid close (systemctl suspend works).

Does "systemctl suspend" work correctly?

When I restart systemd-logind.service or tlp.service – suspend is performed when lid close, but only once.

Does suspend work correctly? But only once?

Someday I shut down the computer, booted again and suspend didn't work.

Software doesn't magically change by itself. wink What did you change?

Offline

#3 2014-07-17 13:37:42

pryme
Member
Registered: 2014-07-17
Posts: 2

Re: Suspend on lid close – weird behaviour

drcouzelis wrote:

Does "systemctl suspend" work correctly?

Yep.

Does suspend work correctly? But only once?

Suspend works only when I restart logind or tlp before.

Software doesn't magically change by itself. wink What did you change?

I have no idea, but previously I have no acpid or something else and setting HandleLidSwitch=suspend works for every time, not only when I do some magic with services.

Offline

Board footer

Powered by FluxBB