You are not logged in.

#1 2016-07-24 19:08:24

cfmg
Member
Registered: 2016-07-18
Posts: 11

Issues with Suspend (Sleep). (systemd-logins output included)

Hello,

The laptop (ThinkPad X200) doesn't go to sleep when the laptop lid is closed, or when then Sleep/Suspend option is chosen under Power Management. I have tried changing the power settings under KDE's Power Management to have 'laptop lid closed' trigger 'suspend', but that hasn't worked. (I have also tried the xfce desktop, and had the same issue.)

pm-suspend

doesn't work either.

Output for

journalctl -f -u systemd-logind
-- Logs begin at Sun 2016-07-17 17:03:20 EDT. --
Jul 26 16:26:50 wolverine systemd-logind[313]: New seat seat0.
Jul 26 16:26:50 wolverine systemd[1]: Started Login Service.
Jul 26 16:26:50 wolverine systemd-logind[313]: Watching system buttons on /dev/input/event3 (Power Button)
Jul 26 16:26:50 wolverine systemd-logind[313]: Watching system buttons on /dev/input/event14 (Video Bus)
Jul 26 16:26:50 wolverine systemd-logind[313]: Watching system buttons on /dev/input/event1 (Lid Switch)
Jul 26 16:26:50 wolverine systemd-logind[313]: Watching system buttons on /dev/input/event2 (Sleep Button)
Jul 26 16:26:50 wolverine systemd-logind[313]: Watching system buttons on /dev/input/event5 (ThinkPad Extra Buttons)
Jul 26 16:27:08 wolverine systemd-logind[313]: New session c1 of user sddm.
Jul 26 16:27:35 wolverine systemd-logind[313]: New session c2 of user wolverine.
Jul 26 16:27:35 wolverine systemd-logind[313]: Removed session c1.
Jul 26 16:44:23 wolverine systemd-logind[313]: Operation 'sleep' finished.
Jul 26 16:44:57 wolverine systemd-logind[313]: Lid closed.
Jul 26 16:45:00 wolverine systemd-logind[313]: Operation 'sleep' finished.
Jul 26 16:45:05 wolverine systemd-logind[313]: Lid opened.
Jul 26 16:45:31 wolverine systemd-logind[313]: Lid closed.
Jul 26 16:45:34 wolverine systemd-logind[313]: Operation 'sleep' finished.
Jul 26 16:45:41 wolverine systemd-logind[313]: Lid opened.
Jul 26 16:45:53 wolverine systemd-logind[313]: Operation 'sleep' finished.
Jul 26 16:46:41 wolverine systemd-logind[313]: Power key pressed.
Jul 26 16:46:44 wolverine systemd-logind[313]: Operation 'sleep' finished.
Jul 26 16:47:12 wolverine systemd-logind[313]: Operation 'sleep' finished

The laptop did not go into sleep mode, only the screen was locked.

I have read through the following posts, but have not been able to figure out how to proceed:
https://wiki.archlinux.org/index.php/Po … th_systemd
https://wiki.archlinux.org/index.php/Po … _hibernate
https://bbs.archlinux.org/viewtopic.php?pid=730763
https://bbs.archlinux.org/viewtopic.php?id=110752
https://bbs.archlinux.org/viewtopic.php?id=185731

(I did not change anything in the logind.conf file in case I accidentally set up conflicting power management rules.)

Here's what I found on the logind.conf file (all lines commented).

#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#UserTasksMax=12288

I would really appreciate any help and suggestion in this regard.

Thank you.

EDIT:
I just realized: The Suspend option from the KDE menu works for the first few minutes after rebooting. But then stops working.

Last edited by cfmg (2016-07-26 22:34:50)

Offline

#2 2016-07-29 00:31:47

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: Issues with Suspend (Sleep). (systemd-logins output included)

I'm also having this issue (just noticed it today) on my Thinkpad X220.  Not sure what changed but I had to re-enable acpid systemd service:

(if uninstalled) pacman -S acpid
systemctl start acpid
systemctl enable acpid

Hope that helps!


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#3 2016-07-29 17:45:51

cfmg
Member
Registered: 2016-07-18
Posts: 11

Re: Issues with Suspend (Sleep). (systemd-logins output included)

Thank you for the suggestion, punkrockguy318.  I installed acpid and enabled it as per the instructions. However, the the problem is still there as before. I stried rebooting and checking to make sure that acpid was enabled. (It was.) But the laptop still doesn't go tosleep/suspend.

Is there anything else I could try?

Offline

#4 2016-08-28 16:22:44

cfmg
Member
Registered: 2016-07-18
Posts: 11

Re: Issues with Suspend (Sleep). (systemd-logins output included)

Hello,

Some additonal info after a few updates:
Suspend works the first time after rebooting. But thereafter, susped (using 'systemctl suspend' or the suspend button on KDE menu) locks the screen, but the laptop doesn't sleep.

(I also found another unsolved post about similar problems:
https://bbs.archlinux.org/viewtopic.php?id=216340)

Please let me know what additional info or journalctl outputs I can provide to help solve this problem.

Thank you.

Offline

#5 2016-09-18 19:52:12

cfmg
Member
Registered: 2016-07-18
Posts: 11

Re: Issues with Suspend (Sleep). (systemd-logins output included)

Hello,

I wanted to bump this post, and ask for help with the sleep/suspend issue. (Please let me know if I should start a new thread intead.)

Also, if any additional console outputs would help to identiify what's causing the issue, please let me let me know what commands to run.

Thank you.

Offline

Board footer

Powered by FluxBB