nixos-hardware icon indicating copy to clipboard operation
nixos-hardware copied to clipboard

Dell XPS 13 9310 fails to suspend

Open cloudlena opened this issue 1 year ago • 2 comments

When running systemctl suspend on my Dell XPS 13 9310, the suspend fails. I see the following lines in my journal:

Bluetooth: hci0: SSR or FW donwnload time out
hci_uart_qca serial0-0: PM: dpm_run_callback(): acpi_subsys_suspend+0x0/0x60 returns -110
hci_uart_qca serial0-0: PM: failed to suspend: error -110
PM: Some devices failed to suspend, or early wake event detected

When I disable Bluetooth in the BIOS, everything works as expected, but as long as Bluetooth is enabled, I cannot suspend. Is there anything else I can try to get suspend to work with Bluetooth enabled? If so, we should probably add that to https://github.com/NixOS/nixos-hardware/tree/master/dell/xps/13-9310.

cloudlena avatar Dec 17 '23 20:12 cloudlena

Does it help to run rmmod the bluetooth drivers before suspend?

Mic92 avatar Jan 07 '24 12:01 Mic92

I would try using https://github.com/NixOS/nixos-hardware/blob/master/dell/xps/sleep-resume/bluetooth/default.nix if you haven't already.

Also try cat /sys/power/mem_sleep and see if it's in the wrong sleep state.

JohnMolotov avatar Sep 20 '24 07:09 JohnMolotov