zzz doesn't work (runit) 11 July 2025, 12:14:07 My system goes to sleep, then after a second of being off, it turns back on again.zzz doesn't report any errors. Quote Selected
Re: zzz doesn't work (runit) Reply #1 – 16 July 2025, 19:34:54 looked into it, apparently it's not zzz's fault, I tried the command "sudo sh -c "echo mem > /sys/power/state"" by itself and the same thing happens, I asked chatgpt and it thinks it's a USB 3 driver issue and that I should update my kernel (already on the newest version) and that I should update my mobo firmware. Quote Selected
Re: zzz doesn't work (runit) Reply #2 – 16 July 2025, 19:58:02 I tried updating the BIOS and it still can't sleep but now it sends me to the lock screen instead of directly back to the desktop. Quote Selected
Re: zzz doesn't work (runit) Reply #3 – 16 July 2025, 20:05:56 I disabled all the devices in /proc/acpi/wakeup/ and now sleep works fine.This is the output if it matters.Device S-state Status Sysfs nodeGP12 S4 *disabled pci:0000:00:07.1GP13 S4 *disabled pci:0000:00:08.1XHC0 S4 *disabled pci:0000:09:00.3GP30 S4 *disabledGP31 S4 *disabledPS2K S3 *disabledPS2M S3 *disabledGPP0 S4 *disabled pci:0000:00:01.1GPP8 S4 *disabled pci:0000:00:03.1SWUS S4 *disabled pci:0000:05:00.0SWDS S4 *disabled pci:0000:06:00.0PTXH S4 *disabled pci:0000:02:00.0PT20 S4 *disabledPT21 S4 *disabledPT22 S4 *disabledPT23 S4 *disabledPT24 S4 *disabledPT26 S4 *disabledPT27 S4 *disabledPT28 S4 *disabledPT29 S4 *disabled pci:0000:03:09.0Is it safe to keep them like this until there's a better fix? Quote Selected
Re: zzz doesn't work (runit) Reply #4 – 16 July 2025, 20:18:30 with the help of chatgpt i narrowed it down to /proc/acpi/wakeup device GPP0, which according to lspci is a00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge (prog-if 00 [Normal decode]) Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453 Flags: bus master, fast devsel, latency 0, IRQ 27, IOMMU group 2 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: [disabled] [32-bit] Memory behind bridge: fcf00000-fcffffff [size=1M] [32-bit] Prefetchable memory behind bridge: [disabled] [64-bit] Capabilities: <access denied> Kernel driver in use: pcieport Quote Selected
Re: zzz doesn't work (runit) Reply #5 – 16 July 2025, 20:40:31 I ended up fixing it by disabling GPP0, I made it persistent with a runit scriptgrep -q '^GPP0.*\*enabled' /proc/acpi/wakeup && echo GPP0 > /proc/acpi/wakeupexit 0 Quote Selected 1 Likes