From b2385b31f0fca73c25966ee79cb3eb2ec0e69496 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 8 Oct 2026 22:08:19 +0200 Subject: [PATCH] kmod/whitelist: Add sound modules split off in Linux 6.18 Linux 6.18 reorganizes the HD-audio codec drivers [1]. The Realtek driver snd_hda_codec_realtek is split into one module per codec family plus a helper library, and the HDMI codecs are split out of snd_hda_codec_hdmi, which remains as the generic HDMI core. As the old modules are whitelisted, but the new ones are not, sound on systems running 6.18 does not work, as already seen on *ploetze*, for which commit 7a0045ed (whitelist snd_hda_codec_alc269 realtek audio module) only added snd_hda_codec_alc269. Comparing the sound modules of 6.12.98.mx64.492 and 6.18.51.mx64.498 shows these new modules derived from the two whitelisted ones: snd_hda_codec_alc260 snd_hda_codec_atihdmi snd_hda_codec_alc262 snd_hda_codec_intelhdmi snd_hda_codec_alc268 snd_hda_codec_nvhdmi snd_hda_codec_alc269 snd_hda_codec_nvhdmi_mcp snd_hda_codec_alc662 snd_hda_codec_simplehdmi snd_hda_codec_alc680 snd_hda_codec_tegrahdmi snd_hda_codec_alc861 snd_hda_codec_alc861vd snd_hda_codec_alc880 snd_hda_codec_alc882 snd_hda_codec_realtek_lib Whitelist them all, and fill in the missing description of snd_hda_codec_alc269. Keep snd_hda_codec_realtek for older kernels. The Cirrus modules snd_hda_codec_cs420x and snd_hda_codec_cs421x, split off snd_hda_codec_cirrus, are not added, as snd_hda_codec_cirrus was not whitelisted before either. [1]: https://lore.kernel.org/all/20250709160434.1859-1-tiwai@suse.de/ Assisted-by: claude-opus-5.5 (Claude Code) --- etc/kmod/whitelist.conf | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/etc/kmod/whitelist.conf b/etc/kmod/whitelist.conf index 11fbf55..a15c5d9 100644 --- a/etc/kmod/whitelist.conf +++ b/etc/kmod/whitelist.conf @@ -160,10 +160,26 @@ whitelist smartpqi # whitelist snd # Advanced Linux Sound Architecture driver for soundcards. whitelist snd_ctl_led # ALSA control interface to LED trigger code. whitelist snd_hda_codec # HDA codec core -whitelist snd_hda_codec_alc269 # +whitelist snd_hda_codec_alc260 # Realtek ALC260 HD-audio codec +whitelist snd_hda_codec_alc262 # Realtek ALC262 HD-audio codec +whitelist snd_hda_codec_alc268 # Realtek ALC267/268 HD-audio codec +whitelist snd_hda_codec_alc269 # Realtek ALC269 and compatible HD-audio codecs +whitelist snd_hda_codec_alc662 # Realtek ALC662 and compatible HD-audio codec +whitelist snd_hda_codec_alc680 # Realtek ALC680 HD-audio codec +whitelist snd_hda_codec_alc861 # Realtek ALC861 HD-audio codec +whitelist snd_hda_codec_alc861vd # Realtek ALC861-VD HD-audio codec +whitelist snd_hda_codec_alc880 # Realtek ALC880 HD-audio codec +whitelist snd_hda_codec_alc882 # Realtek ALC882 and compatible HD-audio codecs +whitelist snd_hda_codec_atihdmi # AMD/ATI HDMI HD-audio codec whitelist snd_hda_codec_generic # Generic HD-audio codec parser whitelist snd_hda_codec_hdmi # HDMI HD-audio codec +whitelist snd_hda_codec_intelhdmi # Intel HDMI HD-audio codec +whitelist snd_hda_codec_nvhdmi # Nvidia HDMI HD-audio codec +whitelist snd_hda_codec_nvhdmi_mcp # Legacy Nvidia HDMI HD-audio codec whitelist snd_hda_codec_realtek # Realtek HD-audio codec +whitelist snd_hda_codec_realtek_lib # Realtek HD-audio codec helper +whitelist snd_hda_codec_simplehdmi # Simple HDMI HD-audio codec support +whitelist snd_hda_codec_tegrahdmi # Nvidia Tegra HDMI HD-audio codec whitelist snd_hda_core # HD-audio bus whitelist snd_hda_intel # Intel HDA driver whitelist snd_hda_scodec_component # HD Audio component binding library