You are not logged in.

#1 2024-08-18 05:35:03

ReYuki
Member
Registered: 2024-07-30
Posts: 37
Website

system wake up too early after suspended

I've disabled all trigger on /proc/acpi/wakeup:

$ cat /proc/acpi/wakeup
Device  S-state   Status   Sysfs node
GPP1      S4    *disabled  pci:0000:00:01.2
GPP2      S4    *disabled
GPP0      S4    *disabled  pci:0000:00:01.1
GPP5      S4    *disabled  pci:0000:00:02.1
GPP6      S4    *disabled  pci:0000:00:02.2
GPP7      S4    *disabled
GP11      S4    *disabled  pci:0000:00:03.1
SWUS      S4    *disabled
GP12      S4    *disabled
SWUS      S4    *disabled
XHC0      S4    *disabled  pci:0000:66:00.3
XHC1      S4    *disabled  pci:0000:66:00.4
XHC2      S4    *disabled  pci:0000:68:00.0
XHC3      S4    *disabled  pci:0000:68:00.3
XHC4      S4    *disabled  pci:0000:68:00.4
NHI0      S4    *disabled  pci:0000:68:00.5
NHI1      S4    *disabled

When the HDMI cable is left plugged into my laptop, it causes the system to wake up from sleep mode almost immediately. I've confirmed that this issue does not occur when the HDMI cable is unplugged.

How to figure out what causing or trigger wake up and how to solve it? thank you in advance for your time and assistance.

The journalctl log: log.txt


Some felt terror! some felt hatred! some trusted it! some were obsessed with it! The feelings in the hearts of all mankind were what drove them to follow the path of destruction! Just as all who live by the sword must die by it as well.

- Saga of Tanya the Evil: The Movie

Offline

#2 2024-08-18 08:41:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,828

Re: system wake up too early after suspended

Aug 18 12:28:42 ASUS kernel: PM: suspend entry (s2idle)

Do you have deep/S3 support?

cat /sys/power/mem_sleep

(nb. that attempting this might horribly fail and the system won't wake and you've to reboot, so save your data before trying!)

Offline

#3 2024-08-19 16:04:22

ReYuki
Member
Registered: 2024-07-30
Posts: 37
Website

Re: system wake up too early after suspended

seth wrote:

Do you have deep/S3 support?

$  cat /sys/power/mem_sleep
[s2idle]

it seems... no?


Some felt terror! some felt hatred! some trusted it! some were obsessed with it! The feelings in the hearts of all mankind were what drove them to follow the path of destruction! Just as all who live by the sword must die by it as well.

- Saga of Tanya the Evil: The Movie

Offline

#4 2024-08-19 21:09:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,828

Re: system wake up too early after suspended

No. sad

There's https://community.frame.work/t/responde … itor/42911 - my guess about the situation is that the system goes to sleep, the output powers down, the monitor (tv?) notices that, powers down and that signal somehow™ triggers the GPU to wake the system.

Since you seem to be able to reproduce this at will, what happens if you make sure to cut off the output well before you go to sleep?
eg. sth. like

xset dpms force off # output should turn off and stay off as long as you don't touch mouse or keyboard, only works on X11
sleep 30 # nothing happens, we'll just give output and monitor enough time to respond
systemctl suspend # system goes to sleep … and stays there?

Offline

#5 2024-08-20 09:33:20

ReYuki
Member
Registered: 2024-07-30
Posts: 37
Website

Re: system wake up too early after suspended

Yeah, you're right.

xset dpms force off

seems not a reliable way, because sometimes I accidentally touch the touchpad, so as a workaround, I turned off the monitor, so it can't send wake signal to the system, and thus sleep continue.

is there a way to prevent GPU from wake-up the system? the /proc/acpi/wakeup seems not work for me.


Some felt terror! some felt hatred! some trusted it! some were obsessed with it! The feelings in the hearts of all mankind were what drove them to follow the path of destruction! Just as all who live by the sword must die by it as well.

- Saga of Tanya the Evil: The Movie

Offline

#6 2024-08-20 14:24:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,828

Re: system wake up too early after suspended

Does the Tv have a CEC setting (the HDMI back channel)?

Offline

#7 2024-08-21 15:25:24

ReYuki
Member
Registered: 2024-07-30
Posts: 37
Website

Re: system wake up too early after suspended

It's not a TV, just an external monitor.


Some felt terror! some felt hatred! some trusted it! some were obsessed with it! The feelings in the hearts of all mankind were what drove them to follow the path of destruction! Just as all who live by the sword must die by it as well.

- Saga of Tanya the Evil: The Movie

Offline

Board footer

Powered by FluxBB