Update the default `rawDeviceName` for the Framework 13 AMD AI 300 series. Recent UCM profile updates (or kernel driver changes) now cause the device to expose a HiFi profile sink name (`HiFi__Speaker__sink`) instead of the generic `analog-stereo` name. This ensures the audio enhancement effects correctly attach to the speaker sink out of the box. Device name changed from: `alsa_output.pci-0000_c1_00.6.analog-stereo` to: `alsa_output.pci-0000_c1_00.6.HiFi__Speaker__sink`
26 lines
498 B
Nix
26 lines
498 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
../common
|
|
../common/amd.nix
|
|
];
|
|
|
|
config = {
|
|
# Everything is updateable through fwupd
|
|
services.fwupd.enable = true;
|
|
|
|
hardware.framework.laptop13.audioEnhancement.rawDeviceName =
|
|
lib.mkDefault "alsa_output.pci-0000_c1_00.6.HiFi__Speaker__sink";
|
|
|
|
# suspend works with 6.15
|
|
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.15") (
|
|
lib.mkDefault pkgs.linuxPackages_latest
|
|
);
|
|
};
|
|
}
|