Latrina n00b
Joined: 13 Aug 2017 Posts: 62 Location: Cambridge, UK
|
Posted: Wed May 04, 2022 3:35 pm Post subject: acpid - ACPI event unhandled: button/lid LID close |
|
|
Hello folks,
I am trying to figure out why LID close actions do not get executed on my laptop.
Here is what the acpid event rule looks like:
Code: | event=button/lid/ LID close:
action=/etc/acpi/actions/lid_close.sh |
while its action script:
Code: | #!/bin/sh
#
# Initiate suspend when lid is closed
loginctl lock-sessions
sleep 10
if grep -q closed /proc/acpi/button/lid/LID0/state; then
s2both --force -r /dev/nvme0n1p2 --acpi_sleep 3
fi
|
Here is what happens instead when the lid is closed:
Code: | May 4 16:24:27 c1030 root: ACPI event unhandled: button/lid LID close
May 4 16:24:27 c1030 kernel: wlan0: deauthenticating from c4:41:1e:f8:96:f0 by local choice (Reason: 3=DEAUTH_LEAVING)
May 4 16:24:28 c1030 kernel: PM: suspend entry (s2idle)
May 4 16:24:28 c1030 kernel: Filesystems sync: 0.001 seconds
May 4 16:24:28 c1030 kernel: Loading firmware: i915/kbl_dmc_ver1_04.bin
May 4 16:24:28 c1030 kernel: Loading firmware: iwlwifi-QuZ-a0-hr-b0-66.ucode
May 4 16:24:28 c1030 kernel: Loading firmware: intel/sof/community/sof-cml.ri
May 4 16:24:28 c1030 kernel: Loading firmware: intel/sof-tplg/sof-cml-rt5682-max98357a.tplg
May 4 16:24:28 c1030 kernel: Loading firmware: intel/ibt-19-0-4.sfi
May 4 16:24:28 c1030 kernel: Loading firmware: intel/ibt-19-0-4.ddc
May 4 16:25:03 c1030 kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
May 4 16:25:03 c1030 kernel: OOM killer disabled.
May 4 16:25:03 c1030 kernel: Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done.
May 4 16:25:03 c1030 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
May 4 16:25:03 c1030 kernel: intel_pch_thermal 0000:00:12.0: CPU-PCH is cool [39C], continue to suspend
May 4 16:25:03 c1030 kernel: ACPI: EC: interrupt blocked
May 4 16:25:03 c1030 kernel: ACPI: EC: interrupt unblocked
May 4 16:25:03 c1030 kernel: OOM killer enabled.
May 4 16:25:03 c1030 kernel: Restarting tasks ... done.
May 4 16:25:03 c1030 kernel: PM: suspend exit
May 4 16:25:07 c1030 kernel: wlan0: authenticate with c4:41:1e:f8:96:f0
May 4 16:25:07 c1030 kernel: wlan0: send auth to c4:41:1e:f8:96:f0 (try 1/3)
May 4 16:25:07 c1030 kernel: wlan0: authenticated
May 4 16:25:07 c1030 kernel: wlan0: associate with c4:41:1e:f8:96:f0 (try 1/3)
May 4 16:25:07 c1030 kernel: wlan0: RX AssocResp from c4:41:1e:f8:96:f0 (capab=0x431 status=0 aid=3)
May 4 16:25:07 c1030 kernel: wlan0: associated
May 4 16:25:07 c1030 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
May 4 16:25:11 c1030 root: ACPI event unhandled: battery PNP0C0A:00 00000080 00000001 |
I have been searching all over but so far I was unable to find anything useful to my specific problem. Any idea as to what I am doing wrong?
Thanks _________________ Enslaved by Systemd and all the linuxisms that come with it. |
|