#Sleep problem

30 messages · Page 1 of 1 (latest)

clear pasture
#

Sometimes when I put my PC to sleep, the screens go blank but the fans are still running and I have to press the power button for a long time to stop it abruptly. Where does this problem come from? My bios is up to date. Thanks

proven dagger
#

try this cmd cat /sys/power/mem_sleep

clear pasture
proven dagger
#

now this journalctl -b -1 | grep -Ei "fail|error|acpi|suspend|freeze"

clear pasture
proven dagger
clear pasture
proven dagger
#

screen shot

#

tailscaled is blocking the suspend

clear pasture
#

what to do ?

#

i delete the ss ok ? There is my ip on it

proven dagger
#

u can either stop tailscale before sleep or can automate the tailscale to stop before sleep and resume again

clear pasture
#

can you help me to do this ?

proven dagger
#

automate?

clear pasture
#

or I will find an answer in another place ?

clear pasture
proven dagger
#

hmm

#

set it up

#

1st sudo nano /lib/systemd/system-sleep/stop-tailscale.sh

#

2nd ```#!/bin/bash

case $1/$2 in
pre/)
systemctl stop tailscaled
;;
post/
)
systemctl start tailscaled
;;
esac

#

3rd sudo chmod +x /lib/systemd/system-sleep/stop-tailscale.sh

#

then try rebooting

#

let me know if u successfully did it

clear pasture
#

thanx for the script

#

if it appears again i'll open a new one.

#

merci 😇

proven dagger
#

so is it sleeping properly?