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

Board footer

Powered by FluxBB