AM5 Linux triggering suspected firmware bug with S3 sleep

Ok, I think ive found a fix - i dont want to speak too soon here as its very anecdotal but previously i was able to recreate this issue every single time by sleeping 3 times then rebooting, ive now tested this multiple times with up to 6 sleeps and a reboot and the issue seems to have stopped.

can you try adding this kernel boot parameter and let me know if its fixed for you?

usbcore.autosuspend=-1

here is my full limine config:

/+Omarchy
### This OS entry is auto-generated by limine-entry-tool
comment: Omarchy
comment: machine-id=redacted order-priority=50
  //linux
  ### This kernel entry is auto-generated by limine-entry-tool
  comment: Kernel version: 6.18.7-arch1-1
  comment: kernel-id=linux
  protocol: efi
  path: boot():/EFI/Linux/omarchy_linux.efi#0f703c389fac437d328f80eba38a1e8c7b2fc4e1d0178b9eecc21af5f657c0b4bfaba72d5beac0e696cf4384b2edd9475e10935eb6c401eadd7cca693c2a37a9
  cmdline: usbcore.autosuspend=-1 quiet splash cryptdevice=PARTUUID=9769317f-6883-4eeb-a1bf-77b484564b8d:root root=/dev/mapper/root zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs

for anyone running omarchy/limine:

add: KERNEL_CMDLINE+="usbcore.autosuspend=-1" to /etc/default/limine

then run sudo limine-mkinitcpio

if this doesnt work, try changing the bios setting Wake up event by: from BIOS to OS and test again

1 Like