nixos-hardware
nixos-hardware copied to clipboard
Dell XPS 13 9310 fails to suspend
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.
Does it help to run rmmod the bluetooth drivers before suspend?
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.