From 3f44096a1fb0f8511cb3edb2388c06a095f86a9f Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Thu, 9 Jul 2026 16:57:04 -0700 Subject: [PATCH] [Altair] Disable device auto-sleep for xpadneo/bluetooth. --- system/hosts/altair/hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/hosts/altair/hardware-configuration.nix b/system/hosts/altair/hardware-configuration.nix index cecac5f..6e5d418 100644 --- a/system/hosts/altair/hardware-configuration.nix +++ b/system/hosts/altair/hardware-configuration.nix @@ -34,9 +34,11 @@ extraModulePackages = [ ]; # disable_ertm is required for xpadneo to connect properly and establish a - # data connection. + # data connection. enable_autosuspend is to prevent Linux from putting the + # BT radio to sleep and causing a disconnect. extraModprobeConfig = '' options bluetooth disable_ertm=1 + options btusb enable_autosuspend=0 ''; };