HP 27 AIO – The speakers only produce a crackling sound

Overview of Intel hardware platforms — SOF Project 2.11.0 documentation

SOF is available on Intel PCI devices starting with Gemini Lake, and has since been the only solution provided by Intel for the following platforms: Comet Lake, Ice Lake, and Tiger Lake.

Since multiple drivers can register for the same PCI ID, it was (until recently) common for users and distributions to use the wrong driver, which could only be resolved by changing the Linux .config file or deselecting drivers in the /etc/modprobe.d configuration files.

The snd-intel-dspcfg module introduced in early 2020 exposes an API used by all drivers, and the user can now override default choices by setting the dsp_driver parameter.
For example, setting options snd-intel-dspcfg dsp_driver=1 will allow for the HDaudio legacy driver to be used.
This will typically work for speakers and headphones/headsets, but will not allow DMIC capture.

To create the modprobe option file:

sudo tee /etc/modprobe.d/alsa-sof.conf <<< 'options snd-intel-dspcfg dsp_driver=1'

and reboot system to reload ALSA modules

2 Likes