You are not logged in.

#1 2025-01-08 22:37:42

krastanov
Member
Registered: 2025-01-08
Posts: 1

immediate wakeup from suspend even after disabling /proc/acpi/wakeup

My PC used to suspend fine. Now it immediately wakes up after a suspend. I have attempted a number of troubleshooting steps and I am in need of help.

It started happening only recently (I do not have a recollection of making a change to cause it).

Arch Linux is the only OS installed on the system. The motherboard is B650I AORUS ULTRA. I tried multiple BIOS versions, but that does not help.

I tried kernels `linux` and `linux-lts` (6.12 and 6.6 respectively), it happens on both.

Removing all USB devices and the ethernet cable does not help. The wifi is off when this happens.

After one of these immediate wakeups I see:

❯ sudo dmidecode 
# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 3.7.0 present.
Table at 0x97ABF000.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
	Vendor: American Megatrends International, LLC.
	Version: F33g
	Release Date: 12/19/2024
	Address: 0xF0000
	Runtime Size: 64 kB
	ROM Size: 32 MB
	Characteristics:
		PCI is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		BIOS ROM is socketed
		EDD is supported
		Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
		Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
		5.25"/360 kB floppy services are supported (int 13h)
		5.25"/1.2 MB floppy services are supported (int 13h)
		3.5"/720 kB floppy services are supported (int 13h)
		3.5"/2.88 MB floppy services are supported (int 13h)
		Print screen service is supported (int 5h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		CGA/mono video services are supported (int 10h)
		ACPI is supported
		USB legacy is supported
		BIOS boot specification is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 5.35

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: Gigabyte Technology Co., Ltd.
	Product Name: B650I AORUS ULTRA
	Version: Default string-CF
	Serial Number: Default string
	UUID: 03560274-043c-0547-e806-e40700080009
	Wake-up Type: Other
	SKU Number: Default string
	Family: B650 MB

In particular

Wake-up Type: Other

I tried disabling every wakeup trigger in `/proc/acpi/wakeup` and the following commands all confirm that everything is disabled:

awk '/enabled/ {print $1}' /proc/acpi/wakeup | while read -r id; do echo $id > /proc/acpi/wakeup; done; cat /proc/acpi/wakeup
cat /sys/bus/pci/devices/0000\:*/power/wakeup

Nonetheless, the immediate wakeups persist.

Looking at the `active_count` for wakeups, I see

[root@oreo stefan]# awk '$0 != "0" {print FILENAME,$0}' /sys/class/wakeup/wakeup*/active_count
/sys/class/wakeup/wakeup6/active_count 2

[root@oreo stefan]# ls -l /sys/class/wakeup/wakeup6
lrwxrwxrwx 1 root root 0 Jan  8 17:01 /sys/class/wakeup/wakeup6 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:45/wakeup/wakeup6

So now I am wondering what is `LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:45`? Can I disable whatever it is?

This issue seems to be identical to the following old unresolved posts (I tried everything suggested there):

- "Changes to /proc/acpi/wakeup dont have any effect" (2022) https://bbs.archlinux.org/viewtopic.php?id=275798
- "Instant wake from suspend" (2024) https://bbs.archlinux.org/viewtopic.php?id=292798
- "PC immediately wakes up after suspend to RAM" (2022) https://bbs.archlinux.org/viewtopic.php?id=277207

Offline

#2 2025-01-16 20:26:22

EcoFiendly
Member
Registered: 2025-01-16
Posts: 1

Re: immediate wakeup from suspend even after disabling /proc/acpi/wakeup

I have the same issue, whenever I try to use any other bios apart from F8, have tried it with F6b, F23 and just today F33g.
My mobo is also the B650i AORUS ULTRA REV 1.0
I am however running pop_os, but I don't think that matters in this context.

EDIT:
I've tried to disable everything from cat /proc/acpi/wakeup that's enabled but couldn't disable EP00 which is the intel ethernet controller.
Also tried using powertop to disable whatever was enabled and didn't work either.

Last edited by EcoFiendly (2025-01-17 19:34:57)

Offline

#3 2025-01-18 00:49:40

hagabaka
Member
Registered: 2010-12-15
Posts: 35

Re: immediate wakeup from suspend even after disabling /proc/acpi/wakeup

I have the same issue, with Gigabyte B650 GAMING X AX V2 motherboard. I've tried disabling all devices in /proc/acpi/wakeup, unplugging USB devices, disabling all I can in powertop, turning off all the "wake on" options in BIOS, and nothing helped. The same computer is able to suspend in Windows. My output from for the wakeup*/activecount command is pretty long:

$ awk '$0 != "0" {print FILENAME,$0}' /sys/class/wakeup/wakeup*/active_count | sort -nrk2   
/sys/class/wakeup/wakeup72/active_count 259
/sys/class/wakeup/wakeup6/active_count 240
/sys/class/wakeup/wakeup5/active_count 240
/sys/class/wakeup/wakeup71/active_count 131
/sys/class/wakeup/wakeup65/active_count 3
/sys/class/wakeup/wakeup64/active_count 3
/sys/class/wakeup/wakeup55/active_count 3
/sys/class/wakeup/wakeup54/active_count 3
/sys/class/wakeup/wakeup53/active_count 3
/sys/class/wakeup/wakeup11/active_count 3
/sys/class/wakeup/wakeup10/active_count 3
/sys/class/wakeup/wakeup66/active_count 1
/sys/class/wakeup/wakeup56/active_count 1

I think some counts are in the hundreds are because I've left my computer on all night, and it keeps trying to suspend and then waking up. Here are the devices the wakeup* links are pointing to:

ls -l /sys/class/wakeup/wakeup{72,6,5,71,65,64,55,54,53,11,10,66,56}
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup10 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:20/wakeup/wakeup10
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup11 -> ../../devices/pci0000:00/0000:00:08.1/wakeup/wakeup11
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup5 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:45/wakeup/wakeup5
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup53 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:20/device:25/wakeup/wakeup53
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup54 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:20/device:2b/wakeup/wakeup54
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup55 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:20/device:24/wakeup/wakeup55
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup56 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:36/device:37/wakeup/wakeup56
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup6 -> ../../devices/pci0000:00/0000:00:02.1/wakeup/wakeup6
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup64 -> ../../devices/pci0000:00/0000:00:08.1/0000:11:00.3/wakeup/wakeup64
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup65 -> ../../devices/pci0000:00/0000:00:08.1/0000:11:00.4/wakeup/wakeup65
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup66 -> ../../devices/pci0000:00/0000:00:08.3/0000:12:00.0/wakeup/wakeup66
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup71 -> ../../devices/pci0000:00/0000:00:08.3/0000:12:00.0/usb7/7-1/7-1.2/7-1.2:1.2/0003:046D:C52B.0011/0003:046D:405E.0012/power_supply/hidpp_battery_2/wakeup71
lrwxrwxrwx 1 root root 0 Jan 17 19:31 /sys/class/wakeup/wakeup72 -> ../../devices/pci0000:00/0000:00:08.3/0000:12:00.0/usb7/7-1/7-1.2/7-1.2:1.2/0003:046D:C52B.0011/0003:046D:4062.0013/power_supply/hidpp_battery_3/wakeup72

Offline

Board footer

Powered by FluxBB