note that this research/legwork was done on debian trixie but i imagine this is something that’s the same on Trixie and unstable.
ok read that arch user article more (i constantly underestimate how information dense the arch manual is, wow) i find section 1.4 which states the following paths will have wakeup triggers
/sys/class/wakeup/*/device/physical_node/power/wakeup
/sys/class/wakeup/*/device/power/wakeup
catting the second one i get 3 “enabled” returns. manually going in i checked the directories and get this
nebula@The-Reform-False-God-Of-The-Abyss-Entropys-Paradox-Conqueror-Of:/sys/class/wakeup$ ls -la
total 0
drwxr-xr-x 2 root root 0 Aug 27 15:34 .
drwxr-xr-x 69 root root 0 Aug 27 15:34 ..
lrwxrwxrwx 1 root root 0 Aug 27 15:34 wakeup0 -> ../../devices/virtual/wakeup/wakeup0
lrwxrwxrwx 1 root root 0 Aug 27 15:34 wakeup1 -> ../../devices/virtual/wakeup/wakeup1
lrwxrwxrwx 1 root root 0 Aug 27 15:34 wakeup2 -> ../../devices/platform/soc/ff800000.bus/ff8000a8.rtc/wakeup/wakeup2
lrwxrwxrwx 1 root root 0 Aug 27 15:34 wakeup3 -> ../../devices/platform/soc/ff800000.bus/ff8000a8.rtc/rtc/rtc1/alarmtimer.0.auto/wakeup/wakeup3
lrwxrwxrwx 1 root root 0 Aug 27 15:34 wakeup4 -> ../../devices/virtual/wakeup/wakeup4
lrwxrwxrwx 1 root root 0 Aug 27 15:34 wakeup5 -> ../../devices/platform/spi/spi_master/spi0/spi0.0/power_supply/BAT0/wakeup5
checking them each i get
nebula@The-Reform-False-God-Of-The-Abyss-Entropys-Paradox-Conqueror-Of:/sys/class/wakeup$ cat wakeup0/device/power/wakeup
cat: wakeup0/device/power/wakeup: No such file or directory
nebula@The-Reform-False-God-Of-The-Abyss-Entropys-Paradox-Conqueror-Of:/sys/class/wakeup$ cat wakeup1/device/power/wakeup
cat: wakeup1/device/power/wakeup: No such file or directory
nebula@The-Reform-False-God-Of-The-Abyss-Entropys-Paradox-Conqueror-Of:/sys/class/wakeup$ cat wakeup2/device/power/wakeup
enabled
nebula@The-Reform-False-God-Of-The-Abyss-Entropys-Paradox-Conqueror-Of:/sys/class/wakeup$ cat wakeup3/device/power/wakeup
enabled
nebula@The-Reform-False-God-Of-The-Abyss-Entropys-Paradox-Conqueror-Of:/sys/class/wakeup$ cat wakeup4/device/power/wakeup
cat: wakeup4/device/power/wakeup: No such file or directory
nebula@The-Reform-False-God-Of-The-Abyss-Entropys-Paradox-Conqueror-Of:/sys/class/wakeup$ cat wakeup5/device/power/wakeup
enabled
so 2, 3, and 5 all have wakeup triggers. all are symlinks, 2 goes to soc components, so not sure i want that, 3 leads to soc alarmtimer so i don’t think i want that either, and 5 is listed as power supply, i definitely don’t think i want that. using section 3.2’s command, grep -F "" /sys/class/wakeup/*/device/power/wakeup_count, gets zeroes across the board, before and after lock and unlock.
bouncing back to section 1.2, it says that /sys/module/acpi/parameters/ec_no_wakeup would have the data for the acpi kernel module. searching with apt and installing acpi isn’t what i’m after i don’t think, but maybe it’s another package since it’s a kernel module?
now if this is gonna be a fully FW based solution, will there be a way to trigger that state on screen lock as well? perhaps one of the above locations can be used for ease of access with the feature integrated into the driver?
hope that if nothing else some of this poking around helps give some data to work with.