Created attachment 299343 [details] dmidecode When suspending the machine via s2idle and then closing the lid, the machine will wake up again. Debugging has show that before the normal ACPI interrupt is received another interrupt from the internal sensor hub (ISH) is received which unconditionally triggers a wakeup. The problem can avoided in one of the following ways: * add to the kernel cmdline: modprobe.blacklist=intel_ish_ipc * remove the calls to enable_irq_wake()/disable_irq_wake() in drivers/hid/intel-ish-hid/ipc/pci-ish.c This happens on the latest kernel and UEFI.
Created attachment 299345 [details] lspci -vvnn
Created attachment 299347 [details] ACPI DSDT
Seems to also affect X1 Yoga Gen6 (which is mostly the same device): https://forums.lenovo.com/t5/Other-Linux-Discussions/Wake-from-suspend-on-lid-close-on-X1-Yoga-Gen6-under-Linux/m-p/5085290
This is going to be fixed in 5.16 through https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=086e81f6b90e41a07a1a885bb11e93daa6915747 (Which will most probably be backported to stable kernels, too)