Suspend And Hibernation Not Working
System details
Dell-G15 5530
What's wrong?
System details
Dell-G15 5530
What's wrong?
Hi,
I'm running Omarchy (linux-zen 6.18.7-zen1-1-zen) on a laptop with an NVIDIA GPU and I've been unable to get suspend or hibernate working.
System:
- Omarchy with Hyprland
- Bootloader: Limine
- Kernel: linux-zen 6.18.7-zen1-1-zen
- NVIDIA GPU (proprietary drivers)
- LUKS encrypted BTRFS root with swapfile at /swap/swapfile
- External USB hub connected
Issue 1: Suspend (systemctl suspend) fails
The system attempts to suspend but immediately wakes back up with the following errors in journalctl:
usb usb1: PM: dpm_run_callback(): usb_dev_suspend returns -16 usb usb1: PM: failed to suspend async: error -16 usb usb2: PM: dpm_run_callback(): usb_dev_suspend returns -16 usb usb2: PM: failed to suspend async: error -16 PM: Some devices failed to suspend, or early wake event detected systemd-sleep: Failed to put system to sleep. System resumed again: Device or resource busy
The system only supports s2idle (Low-power S0 idle used by default for system suspend), not S3 deep sleep. The xhci_hcd USB controller fails to suspend, immediately aborting the sleep attempt. Bluetooth also triggers an immediate wake event.
The kernel parameter usbcore.autosuspend=1 and a udev rule disabling USB wakeup did not resolve the issue. The freeze sleep state also fails with 'Device or resource busy'.
Issue 2: Hibernate (systemctl hibernate) fails with invalid resume config
Hibernate is potentially a viable workaround since the system has a 20GB swapfile and resume_offset=67118336 (verified with btrfs inspect-internal map-swapfile). However, hibernate fails with:
Call to Hibernate failed: Invalid resume config: resume= is not populated yet resume_offset= is
The reason is that the auto-generated cmdline in /boot/limine.conf contains a malformed resume= parameter:
resume=UUID=/dev/mapper/root ← broken, mixes UUID= prefix with a device path
The correct value should be:
resume=/dev/mapper/root
This appears to be generated by limine-entry-tool. Manually editing /boot/limine.conf to fix the resume= parameter does allow hibernate to work, but the fix gets overwritten on kernel updates since /boot/limine.conf is auto-generated.
What I'd love to see fixed:
-
The resume= parameter generated by limine-entry-tool should be resume=/dev/mapper/root not resume=UUID=/dev/mapper/root for LUKS setups.
-
Ideally, a way to persist custom kernel cmdline parameters in /home/user/.local/share/omarchy/default/limine/limine.conf that survive kernel updates and limine-entry-tool regeneration.
-
Longer term, it would be great if Omarchy defaulted to hibernate instead of suspend on systems where s2idle is the only available sleep state, since hibernate bypasses all the USB/NVIDIA suspend issues entirely.
Thanks for all the work on Omarchy — happy to provide any additional logs or testing if helpful.