You are not logged in.

#1 2018-05-02 22:32:46

leitimmel
Member
Registered: 2018-05-02
Posts: 1

MacBook: Closing the lid aborts shutdown

Whereas everyone else seems to have trouble with their laptops shutting down when they are not supposed to, mine does the exact opposite and responds to poweroff followed by closing the lid with suspending. Most often I notice because I open my backpack and am greeted by a wave of heat, which leaves me concerned that one day it might be magic smoke.

Unfortunately I have no idea where to start. I assume that it's a problem with ACPI and that it may be a fight between systemd and acpid, but I don't really know where to start debugging, and neither did I spot anything on the corresponding wiki pages.

Specs (not sure which of them are helpful):

  • Early 2013 MacBook Pro 15" retina

  • nvidia-dkms for graphics (before anyone asks: nouveau does not work on my laptop)

  • display manager is LXDM (previously had LightDM, closing the lid caused a crash)

  • window manager is HerbstluftWM on Xorg if that matters

  • both acpid and systemd running, as mentioned

  • bootloader is systemd-boot, kernel command line only contains root partition

  • laptop does dual boot with macOS

  • kernel version 4.16.3-1-ARCH

  • I do updates at least weekly, but mostly more often.

Any help or guidance for debugging would be appreciated greatly.

Last edited by leitimmel (2018-05-02 22:34:40)


Have you considered rewriting it in vim?

Offline

#2 2018-05-03 08:57:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: MacBook: Closing the lid aborts shutdown

Have a look at /etc/systemd/logind.conf

Offline

Board footer

Powered by FluxBB