diff options
author | Rouven Czerwinski <rouven@czerwinskis.de> | 2020-03-29 10:03:47 +0200 |
---|---|---|
committer | Rouven Czerwinski <rouven@czerwinskis.de> | 2020-03-29 21:11:17 +0200 |
commit | 62cdbd678cf2870267f230a412a8f44c6839dfe9 (patch) | |
tree | 94a20e1bcc64704bda9cde5ca1bdc12c43d54082 | |
parent | ce9bec83dacb092b9da99732ed158878af98157e (diff) | |
download | nixlib-62cdbd678cf2870267f230a412a8f44c6839dfe9.tar nixlib-62cdbd678cf2870267f230a412a8f44c6839dfe9.tar.gz nixlib-62cdbd678cf2870267f230a412a8f44c6839dfe9.tar.bz2 nixlib-62cdbd678cf2870267f230a412a8f44c6839dfe9.tar.lz nixlib-62cdbd678cf2870267f230a412a8f44c6839dfe9.tar.xz nixlib-62cdbd678cf2870267f230a412a8f44c6839dfe9.tar.zst nixlib-62cdbd678cf2870267f230a412a8f44c6839dfe9.zip |
linux config: enable SND CA0132 DSP loading
Since we select everything as a module, snd_hda_codec_ca0132 is built as well. DSP loading is not enabled by default, but without it the soundcard produces timeouts within ALSA and does not emit sound. Explicitly enable the firmware loading to ensure Soundblaster Z/Zx/ZxR/Recon devices can be used with NixOS. The patch to enable this by default in the kernel is staged for 5.8.
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 2c8b8de65b31..efd49ab930d6 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -244,6 +244,7 @@ let SND_HDA_RECONFIG = yes; # Support reconfiguration of jack functions # Support configuring jack functions via fw mechanism at boot SND_HDA_PATCH_LOADER = yes; + SND_HDA_CODEC_CA0132_DSP = whenOlder "5.8" yes; # Enable DSP firmware loading on Creative Soundblaster Z/Zx/ZxR/Recon SND_OSSEMUL = yes; SND_USB_CAIAQ_INPUT = yes; # Enable PSS mixer (Beethoven ADSP-16 and other compatible) |