Lost HDMI audio with Kernel update

I don’t know why but almost every time I update the KERNEL I loose the HDMI audio. To fix it I copied & paste the following and then reboot. It’s majic my HDMI audio starts to work. Don’t know where I got this but thank-you and hope it works for someone else.

echo 'options snd-intel-dspcfg dsp_driver=1' | sudo tee -a /etc/modprobe.d/alsa-hda.conf

I’m using an older Intel NUC


Mod edit:- It is only required that code or command output be placed within a pre-formatted text box. Normal comments can remain typed directly into the post, as the edit demonstrates.
Please post with some forethought in future. Formatting corrected. No charge.

1 Like

This specific command was suggested, but not implemented, in 2021 - HDMI audio gone

Any sufficiently under-explained Linux is indistinguishable from magic

Spoilers
$ modinfo -p snd-intel-dspcfg
dsp_driver:Force the DSP driver for Intel DSP (0=auto, 1=legacy, 2=SST, 3=SOF, 4=AVS) (int)

SOF Linux Driver Architecture - Support for High Definition Audio (HD-Audio) – SOF Project documentation

but “When it sounds good, it is good” Duke Ellington

Yep I’m a Noob…I hang my head in shame.