I'm running this version
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
Linux yoga-2 5.18.0-051800-generic #202205222030 SMP PREEMPT_DYNAMIC Sun May 22 20:33:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
on Lenovo yoga and usc-c dock with multiple monitors, keyboard, mouse and some other peripherals attached. Everything works very well, except if I suspend it, I find it awake after some time. I read about disabling wakeups and a disabled them all after boot.
cat /proc/acpi/wakeup
Device S-state Status Sysfs node
GP17 S3 *disabled pci:0000:00:08.1
XHC0 S3 *disabled pci:0000:03:00.3
XHC1 S3 *disabled pci:0000:03:00.4
Anyway the notebook wakes up. It sounds crazy but feels like it reacts to sound or motion (in front of its camera).
So I would like to know how to find out what wakes up the computer and how to disable everything (including crontab jobs, schedules, monitors, all usb devices...) except power button from waking it up.