From 31c3d206de577fb220090048564c9f4abf9f22fd Mon Sep 17 00:00:00 2001 From: Dima Date: Thu, 22 Jan 2026 22:09:46 +0100 Subject: [PATCH] Framework 13 AI 300: Disabling AMD ACP sound card This issue became more obvious due to alsa-ucm profiles horribly misassigning a non-existent device as the default microphone and juggling profiles for the devices in a very weird way recently. The first hotfix was this: https://github.com/NixOS/nixos-hardware/pull/1732 But upon more discussion it seems to be a Framework bios bug that falsely reports an AMD ACP as exitent and wired up via ACPI. Until this is fixed at the source, the best way foward is to just blacklist the module. I have tried this change now on 4 devices and and feel confident enough about it working well for most users. See this discussion for all the details: https://github.com/NixOS/nixos-hardware/issues/1603 --- framework/13-inch/amd-ai-300-series/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/framework/13-inch/amd-ai-300-series/default.nix b/framework/13-inch/amd-ai-300-series/default.nix index 710efc8..305411f 100644 --- a/framework/13-inch/amd-ai-300-series/default.nix +++ b/framework/13-inch/amd-ai-300-series/default.nix @@ -22,5 +22,15 @@ boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.15") ( lib.mkDefault pkgs.linuxPackages_latest ); + + # The framework bios wrongly reports the ACP device as wired, causing + # issues with alsa ucm, but also generally adding a phantom interface + # to the system. + # + # See discussion in https://github.com/NixOS/nixos-hardware/issues/1603 + boot.blacklistedKernelModules = [ + "snd_acp70" + "snd_acp_pci" + ]; }; }