Computer Wakes Immediately After Sleep

After sleeping, it automatically wakes despite no input. Dual boot, does not behave this way on Windows. Is there any way to fix?

Operating System: CachyOS Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.7-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: AMD Radeon RX 9070 XT

can you send the the output of sudo dmesg and journalctl -b 0 after it doesn’t sleep?

Yeah, here is some output:

❯ journalctl -b 0

Sep 16 12:25:15 cachyos-x8664 kernel: Linux version 6.16.7-2-cachyos (linux-cachyos@cachyos) (clang version 20.1.8, LLD 20.1.8) #1 SMP PREEMPT_DYNAMIC Sat, 13 Sep 2025 12:51:14 +0000
Sep 16 12:25:15 cachyos-x8664 kernel: Command line: quiet nowatchdog splash rw rootflags=subvol=/@ root=UUID=92943c7c-741c-4a2a-b905-044e72816c64
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-provided physical RAM map:
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000009bfefff] usable
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x0000000009bff000-0x0000000009ffffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x000000000a000000-0x000000000a1fffff] usable
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x000000000a200000-0x000000000a20dfff] ACPI NVS
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x000000000a20e000-0x000000000affffff] usable
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x000000000b000000-0x000000000b01ffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x000000000b020000-0x00000000c9ea5fff] usable
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000c9ea6000-0x00000000ca209fff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000ca20a000-0x00000000ca260fff] ACPI data
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000ca261000-0x00000000ca952fff] ACPI NVS
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000ca953000-0x00000000cbbfefff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000cbbff000-0x00000000ccffffff] usable
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000cd000000-0x00000000cfffffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000fd200000-0x00000000fd2fffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000fd600000-0x00000000fd7fffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000fea00000-0x00000000fea0ffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000feb80000-0x00000000fec01fff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000fec30000-0x00000000fec30fff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000fed40000-0x00000000fed44fff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000fed80000-0x00000000fed8ffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000fedc2000-0x00000000fedcffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000fedd4000-0x00000000fedd5fff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x0000000100000000-0x000000082f37ffff] usable
Sep 16 12:25:15 cachyos-x8664 kernel: BIOS-e820: [mem 0x000000082f380000-0x000000082fffffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: NX (Execute Disable) protection: active
Sep 16 12:25:15 cachyos-x8664 kernel: APIC: Static calls initialized
Sep 16 12:25:15 cachyos-x8664 kernel: efi: EFI v2.7 by American Megatrends
Sep 16 12:25:15 cachyos-x8664 kernel: efi: ACPI=0xca260000 ACPI 2.0=0xca260014 TPMFinalLog=0xca908000 SMBIOS=0xcb9f7000 SMBIOS 3.0=0xcb9f6000 MEMATTR=0xc6cf5018 ESRT=0xc8b5c118
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Remove mem73: MMIO range=[0xf8000000-0xfbffffff] (64MB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: e820: remove [mem 0xf8000000-0xfbffffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Remove mem74: MMIO range=[0xfd200000-0xfd2fffff] (1MB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: e820: remove [mem 0xfd200000-0xfd2fffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Remove mem75: MMIO range=[0xfd600000-0xfd7fffff] (2MB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: e820: remove [mem 0xfd600000-0xfd7fffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Not removing mem76: MMIO range=[0xfea00000-0xfea0ffff] (64KB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Remove mem77: MMIO range=[0xfeb80000-0xfec01fff] (0MB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: e820: remove [mem 0xfeb80000-0xfec01fff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Not removing mem78: MMIO range=[0xfec10000-0xfec10fff] (4KB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Not removing mem79: MMIO range=[0xfec30000-0xfec30fff] (4KB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Not removing mem80: MMIO range=[0xfed00000-0xfed00fff] (4KB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Not removing mem81: MMIO range=[0xfed40000-0xfed44fff] (20KB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Not removing mem82: MMIO range=[0xfed80000-0xfed8ffff] (64KB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Not removing mem83: MMIO range=[0xfedc2000-0xfedcffff] (56KB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Not removing mem84: MMIO range=[0xfedd4000-0xfedd5fff] (8KB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: efi: Remove mem85: MMIO range=[0xff000000-0xffffffff] (16MB) from e820 map
Sep 16 12:25:15 cachyos-x8664 kernel: e820: remove [mem 0xff000000-0xffffffff] reserved
Sep 16 12:25:15 cachyos-x8664 kernel: SMBIOS 3.3.0 present.
Sep 16 12:25:15 cachyos-x8664 kernel: DMI: System manufacturer System Product Name/ROG STRIX X470-F GAMING, BIOS 6232 09/29/2024
Sep 16 12:25:15 cachyos-x8664 kernel: DMI: Memory slots populated: 2/4
Sep 16 12:25:15 cachyos-x8664 kernel: tsc: Fast TSC calibration using PIT
Sep 16 12:25:15 cachyos-x8664 kernel: tsc: Detected 3400.092 MHz processor
Sep 16 12:25:15 cachyos-x8664 kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
Sep 16 12:25:15 cachyos-x8664 kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
Sep 16 12:25:15 cachyos-x8664 kernel: last_pfn = 0x82f380 max_arch_pfn = 0x400000000
Sep 16 12:25:15 cachyos-x8664 kernel: total RAM covered: 3327M
Sep 16 12:25:15 cachyos-x8664 kernel: Found optimal setting for mtrr clean up
Sep 16 12:25:15 cachyos-x8664 kernel: gran_size: 64K chunk_size: 128M num_reg: 4 lose cover RAM: 0G
Sep 16 12:25:15 cachyos-x8664 kernel: MTRR map: 8 entries (4 fixed + 4 variable; max 21), built from 9 variable MTRRs
lines 1-67

End of sudo dmesg:

[ 78.093028] amdgpu 0000:0b:00.0: amdgpu: smu driver if version = 0x0000002e, smu fw if version = 0x00000032, smu fw program = 0, smu fw version = 0x00684a00 (104.74.0)
[ 78.093031] amdgpu 0000:0b:00.0: amdgpu: SMU driver if version not matched
[ 78.128438] amdgpu 0000:0b:00.0: amdgpu: SMU is resumed successfully!
[ 78.128689] amdgpu 0000:0b:00.0: amdgpu: program CP_MES_CNTL : 0x4000000
[ 78.128692] amdgpu 0000:0b:00.0: amdgpu: program CP_MES_CNTL : 0xc000000
[ 78.137834] amdgpu 0000:0b:00.0: amdgpu: [drm] DMUB hardware initialized: version=0x00011300
[ 78.165506] ata5: SATA link down (SStatus 0 SControl 330)
[ 78.165570] ata3: SATA link down (SStatus 0 SControl 330)
[ 78.165591] ata8: SATA link down (SStatus 0 SControl 300)
[ 78.165612] ata6: SATA link down (SStatus 0 SControl 330)
[ 78.165800] ata4: SATA link down (SStatus 0 SControl 330)
[ 78.171100] usb 1-9: reset full-speed USB device number 2 using xhci_hcd
[ 78.253405] usb 4-2: reset SuperSpeed USB device number 2 using xhci_hcd
[ 78.476036] amdgpu 0000:0b:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[ 78.476038] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 78.476039] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 78.476041] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 6 on hub 0
[ 78.476042] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 7 on hub 0
[ 78.476043] amdgpu 0000:0b:00.0: amdgpu: ring sdma0 uses VM inv eng 8 on hub 0
[ 78.476044] amdgpu 0000:0b:00.0: amdgpu: ring sdma1 uses VM inv eng 9 on hub 0
[ 78.476045] amdgpu 0000:0b:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
[ 78.476046] amdgpu 0000:0b:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 8
[ 78.484234] OOM killer enabled.
[ 78.484235] Restarting tasks: Starting
[ 78.484578] Restarting tasks: Done
[ 78.484592] random: crng reseeded on system resumption
[ 78.484597] PM: suspend exit
[ 78.895700] ata7: failed to resume link (SControl 0)
[ 78.895716] ata7: SATA link down (SStatus 0 SControl 0)
[ 81.379293] igb 0000:07:00.0 enp7s0: igb: enp7s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 83.164224] ata2: link is slow to respond, please be patient (ready=0)
[ 83.168219] ata1: link is slow to respond, please be patient (ready=0)
DST=ff02:0000:0000:0000:0000:0000:0001:0003 LEN=79 TC=0 HOPLIMIT=255 FLOWLBL=916689 PROTO=UDP SPT=5355 DPT=5355 LEN=39
DST=ff02:0000:0000:0000:0000:0000:0001:0003 LEN=79 TC=0 HOPLIMIT=255 FLOWLBL=916689 PROTO=UDP SPT=5355 DPT=5355 LEN=39
[ 84.148582] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 84.173334] sd 0:0:0:0: [sda] Starting disk
[ 84.174334] ata1.00: configured for UDMA/133
[ 87.521596] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 87.533532] sd 1:0:0:0: [sdb] Starting disk
[ 87.536258] ata2.00: configured for UDMA/133

Can you check in your motherboard BIOS settings if Sleeping/Hybernation is enabled? It might be named as “S3 Sleeping”

Thanks, but no luck finding that. However I did a sleep test with various USB devices unplugged 1-by-1. So far it seems to be when my Logitech MX Master 3S wireless receiver is plugged into my UGREEN USB 3.0 Switch. Is there any fix to this?

My computer was working fine until a few days ago when I had a bizarre crash.

When I brought it back up the mouse wasn’t working so I moved it to a different port.

Since then I’ve had the “wake immediately after sleep” issue.

Between this post and another I thought maybe the mouse on that port is the issue.

So I unplugged the mouse and told it to sleep via keyboard. It worked. So I plugged the mouse back into the original port and it sleeps again.

The original is a USB 2 black port at the top (the normal mouse and keyboard place). The other was a “fast USB” port.

So try unplugging all USB exterior the keyboard and see if it still happens.

From the other post, you can check your wake-able devices list. cat /proc/acpi/wakeup