You are not logged in.
Pages: 1
If I close the lid, the laptop suspends normally. If I run "systemctl suspend" with lid open, it suspends and wakes up immediately. I pasted several lines right before and after waking up below.
Mar 14 10:14:18 balanchine kernel: ACPI: Preparing to enter system sleep state S3
Mar 14 10:14:18 balanchine kernel: ACPI : EC: EC stopped
Mar 14 10:14:18 balanchine kernel: PM: Saving platform NVS memory
Mar 14 10:14:18 balanchine kernel: Disabling non-boot CPUs ...
Mar 14 10:14:18 balanchine kernel: smpboot: CPU 1 is now offline
Mar 14 10:14:18 balanchine kernel: smpboot: CPU 2 is now offline
Mar 14 10:14:18 balanchine kernel: smpboot: CPU 3 is now offline
Mar 14 10:14:18 balanchine kernel: ACPI: Low-level resume complete
Mar 14 10:14:18 balanchine kernel: ACPI : EC: EC started
Mar 14 10:14:18 balanchine kernel: PM: Restoring platform NVS memory
Mar 14 10:14:18 balanchine kernel: Suspended for 3.390 seconds
Mar 14 10:14:18 balanchine kernel: Enabling non-boot CPUs ...
Offline
Hey Cemsbr,
This can be achieved by running
systemctl suspend
Last edited by Jeroen)Mathon (2017-03-14 13:51:36)
Offline
@Jeroen)Mathon - Did you actually read the OP?
If I run "systemctl suspend" with lid open, it suspends and wakes up immediately.
Last edited by Slithery (2017-03-14 14:03:52)
Offline
The exact laptop model and type would help to investigate this issue.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
The exact laptop model and type would help to investigate this issue.
# dmidecode -s system-product-name
MacBookPro8,1
Offline
You can try
HandleLidSwitch=ignore
in /etc/systemd/logind.conf. Also, do you have acpid installed? Try disabling it.
Also systemctl has an " --ignore-inhibitors" option.
Last edited by nokangaroo (2017-03-14 17:59:22)
Offline
You can try
HandleLidSwitch=ignore
in /etc/systemd/logind.conf. Also, do you have acpid installed? Try disabling it.
Also systemctl has an " --ignore-inhibitors" option.
I tried ignoring HandleLidSwitch and then running "systemctl --ignore-inhibitors suspend" and got same results.
Offline
Did you restart systemd-logind?
Offline
Did you restart systemd-logind?
Just did that (and kicked off from my X session ), but got same results. I also disconnected all USB and ethernet cablea before suspending.
Offline
Sorry for that, yes it kills your session..
I have no further solutions, but, you could try to get it working with acpid
Offline
I forgot to answer @nokangaroo that I didn't install acpid. I was wondering what actually happens when the lid is closed so I can do the same with the lid open.
Offline
When lid is closed, systemd suspends your system, (provided "HandleLidSwitch=suspend" is set in logind or the option is commentedout to default value). As long as lid remain closed your laptop keeps suspending in case it is wakeup by some event.
Arch is home!
https://github.com/Docbroke
Offline
Pages: 1