Hi, on my laptop CLEVO L141AU 14inch magnesium running LEAP 15.5 KDE Argon
https://en.opensuse.org/SDB:Argon_and_Krypton
with these KDE repositries
https://en.opensuse.org/SDB:KDE_repositories#KDE_Frameworks_5.2C_Plasma_5_and_Applications
I would like to avoid to resume fron RAM when I open the lid,
if I hybernate opening the lid doesn’t trigger the resume,
if I suspend to RAM (sleep) opening the lid trigger the resume,
how can I avoiding the resume from RAM opening the lid?
I tried to disable LID0 (from Power management/Wakeup triggers - ArchWiki)
pla@plaTW:~> cat /proc/acpi/wakeup
Device S-state Status Sysfs node
.....
LID0 S3 *enabled platform:PNP0C0D:00
pla@plaTW:~>
test with
echo LID > /proc/acpi/wakeup
plaTW:/home/pla # echo LID0 > /proc/acpi/wakeup
plaTW:/home/pla # cat /proc/acpi/wakeup
Device S-state Status Sysfs node
........
LID0 S3 *disabled platform:PNP0C0D:00
plaTW:/home/pla #
LID0 risults disabled
also PNP0C0D:00 results disabled (from cat /proc/acpi/wakeup)
plaTW:/home/pla # grep . /sys/devices/platform/PNP0C0D:00/power/wakeup
disabled
plaTW:/home/pla #
also LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00 results disabled
(from Solved: EliteBook 845 G8 powering on from standby when closing lid !... - HP Support Community - 8454890)
plaTW:/home/pla # grep . /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/power/wakeup
disabled
plaTW:/home/pla #
but opening the lid always resume
somewhere I found this if it is useful, I see lid-switch but I cannot use this information
plaTW:/home/pla # systemd-inhibit
WHO UID USER PID COMM WHAT >
ModemManager 0 root 964 ModemManager sleep >
NetworkManager 0 root 1080 NetworkManager sleep >
PowerDevil 1000 pla 2089 org_kde_powerde handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch>
Screen Locker 1000 pla 1936 ksmserver sleep >
signal-desktop 1000 pla 5150 xdg-dbus-proxy sleep >
PowerDevil 1002 pla6TW 3071 org_kde_powerde handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch>
6 inhibitors listed.
plaTW:/home/pla #