You are not logged in.

#1 2022-03-14 11:58:52

botsunny
Member
Registered: 2022-03-14
Posts: 9

Laptop wakes by itself after suspending, followed Wiki to no avail

I have a laptop with a Ryzen 7 4800H CPU. When I suspend the machine, it wakes up instantaneously. I followed this guide from the Arch Wiki. When I run cat /proc/acpi/wakeup , I do not see ECH1, EHC2 and XHC devices. Instead, I see GP17, XHC0 and XHC1, all with S3 S-state. I disabled them anyway using:

# echo GP17 > /proc/acpi/wakeup
# echo XHC0 > /proc/acpi/wakeup
# echo XHC1 > /proc/acpi/wakeup
and referred to this post to automate it. Now when I suspend my machine, it sleeps properly.

But a few days later the issue has been coming up again. Sometimes it sleeps until I wake it (as it should), sometimes it wakes up instantaneously just like before, sometimes a random number of minutes. cat /proc/acpi/wakeup shows all the devices disabled and systemctl status disable-USB-wakeup shows that the service is active and started normally at boot.

Here are a couple of my journalctl logs:

This one shows initiation of sleep at 17:56:23 and the machine woke up by itself fully at 17:56:26.

This one shows me clicking Sleep again directly after that. The machine wakes up by itself 45 minutes later at 18:41:28.

Any way to fix this?

Offline

#2 2022-03-25 10:06:23

defragger
Member
Registered: 2015-03-25
Posts: 2

Re: Laptop wakes by itself after suspending, followed Wiki to no avail

I am facing the same issue for a few weeks now. Is this lts or normal kernel?

Offline

#3 2022-04-01 04:27:07

botsunny
Member
Registered: 2022-03-14
Posts: 9

Re: Laptop wakes by itself after suspending, followed Wiki to no avail

defragger wrote:

I am facing the same issue for a few weeks now. Is this lts or normal kernel?

Hi, this is the normal kernel.

Offline

#4 2022-04-13 23:57:42

damjan
Member
Registered: 2006-05-30
Posts: 451

Re: Laptop wakes by itself after suspending, followed Wiki to no avail

Happens to me too, on my Thinkpad X1 (LENOVO 20U90003RI, BIOS N2WET35W (1.25 ) 02/23/2022), kernel is at 5.17.1

$ grep enabled /proc/acpi/wakeup
GLAN      S4    *enabled   pci:0000:00:1f.6
XHC       S3    *enabled   pci:0000:00:14.0
RP09      S4    *enabled   pci:0000:00:1d.0
RP13      S4    *enabled   pci:0000:00:1d.4
PXSX      S4    *enabled   pci:0000:05:00.0
SLPB      S3    *enabled   platform:PNP0C0E:00
LID       S4    *enabled   platform:PNP0C0D:00

# the corresponding pci devices:
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V
00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #13 (rev f0)
05:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)

Offline

#5 2022-04-14 09:56:34

damjan
Member
Registered: 2006-05-30
Posts: 451

Re: Laptop wakes by itself after suspending, followed Wiki to no avail

seems that disabling RP09 GLAN XHC as wakeup events did fix the issue for me. but let's see how a couple of suspend go.

Offline

#6 2022-04-14 14:36:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,429

Re: Laptop wakes by itself after suspending, followed Wiki to no avail

There have been a lot of suspension fixes - backports in the Arch kernel even - with the current 5.17.2-arch3 packages, you'll definitely want to upgrade here.

Online

#7 2022-04-14 14:46:12

geopardo
Member
From: Europe
Registered: 2021-03-23
Posts: 108

Re: Laptop wakes by itself after suspending, followed Wiki to no avail

V1del wrote:

There have been a lot of suspension fixes - backports in the Arch kernel even - with the current 5.17.2-arch3 packages, you'll definitely want to upgrade here.

I sent you a message .. it arrived?

there are problems in all archlinux servers .. maybe ..

why i have problems with deskop notifications ..
although I have saved the configuration ..
and there have been no updates in the wiki.

Last edited by geopardo (2022-04-14 14:47:46)


Some 'security people are f*cking morons' says Linus Torvalds..

Offline

#8 2022-04-14 17:51:17

ndhakara
Member
Registered: 2015-01-16
Posts: 25

Re: Laptop wakes by itself after suspending, followed Wiki to no avail

I have a similiar problem while bluetooth is open. Before sleep, you can disable bluetooth or maybe sleep hook that make bluetooth off till kernel fix arrives.

Offline

#9 2022-04-16 09:43:07

geopardo
Member
From: Europe
Registered: 2021-03-23
Posts: 108

Re: Laptop wakes by itself after suspending, followed Wiki to no avail

Problem solved about notifications..
but there is problems in italian servers.. google, archlinux, microsoft..  more fake servers...
twitter, facebook, instagram... type acpid package maybe is broken..

Last edited by geopardo (2022-04-16 09:47:01)


Some 'security people are f*cking morons' says Linus Torvalds..

Offline

Board footer

Powered by FluxBB