LTS Kernel - No in/out audio device detected (Dell XPS 9700)

Fresh CL installation (42170) on Dell XPS 9700. After default installation with LTS Kernel, no sound card detected.
Everything default, no tweaks, no changes, no docking station, no nothing. The sound settings shows “Dummy output” for an output device, and no input devices.

Any help appreciated.

Details:

$ lspci -v | grep -A7 -i "audio"
00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH cAVS
	Subsystem: Dell Device 098f
	Flags: bus master, fast devsel, latency 64, IRQ 215, IOMMU group 16
	Memory at 609b118000 (64-bit, non-prefetchable) [size=16K]
	Memory at 609b000000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [50] Power Management version 3
	Capabilities: [80] Vendor Specific Information: Len=14 <?>
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: sof-audio-pci-intel-cnl
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl

00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
	Subsystem: Dell Device 098f
	Flags: medium devsel, IRQ 16, IOMMU group 16
	Memory at 609b124000 (64-bit, non-prefetchable) [size=256]
	I/O ports at efa0 [size=32]
$ cat /proc/asound/cards 
--- no soundcards ---
dmesg | grep -i audio
[    2.026927] calling  ledtrig_audio_init+0x0/0xfc0 [ledtrig_audio] @ 393
[    2.026938] initcall ledtrig_audio_init+0x0/0xfc0 [ledtrig_audio] returned 0 after 1 usecs
[    2.104414] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    2.104432] sof-audio-pci-intel-cnl 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.104857] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    2.104968] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops)
[    2.111350] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[    2.125373] probe of ehdaudio0D2 returned 0 after 18 usecs
[    2.125887] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 4
[    2.129983] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    2.129987] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    2.129993] sof-audio-pci-intel-cnl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    2.262582] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    2.262585] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    2.290749] sof-audio-pci-intel-cnl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[    2.291068] sof-audio-pci-intel-cnl 0000:00:1f.3: error: source BUF30.1DR_ADDR not found
[    2.297531] sof-audio-pci-intel-cnl 0000:00:1f.3: error: tplg component load failed -22
[    2.299436] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load DSP topology -22
[    2.301392] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22

But, in Native Kernel (6.10.4-1456.native) it does detect the sound card and everything works well:

$ lspci -v | grep -A7 -i "audio"
00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH cAVS
	Subsystem: Dell Device 098f
	Flags: bus master, fast devsel, latency 64, IRQ 238, IOMMU group 16
	Memory at 609b118000 (64-bit, non-prefetchable) [size=16K]
	Memory at 609b000000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [50] Power Management version 3
	Capabilities: [80] Vendor Specific Information: Len=14 <?>
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: sof-audio-pci-intel-cnl
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_cnl

00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
	Subsystem: Dell Device 098f
	Flags: medium devsel, IRQ 16, IOMMU group 16
	Memory at 609b124000 (64-bit, non-prefetchable) [size=256]
	I/O ports at efa0 [size=32]
$ cat /proc/asound/cards
 0 [sofsoundwire   ]: sof-soundwire - sof-soundwire
                      DellInc.-XPS179700--05JJ5P
$ dmesg | grep -i audio
[    3.207832] sof-audio-pci-intel-cnl 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.209594] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    3.209641] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops)
[    3.217304] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[    3.230950] probe of ehdaudio0D2 returned 0 after 39 usecs
[    3.340753] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 4
[    3.345772] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware paths/files for ipc type 0:
[    3.345775] sof-audio-pci-intel-cnl 0000:00:1f.3:  Firmware file:     intel/sof/sof-cml.ri
[    3.345776] sof-audio-pci-intel-cnl 0000:00:1f.3:  Topology file:     intel/sof-tplg/sof-cml-rt711-rt1308-rt715.tplg
[    3.347427] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    3.347429] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    3.347432] sof-audio-pci-intel-cnl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    3.479243] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    3.479246] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    3.493577] sof-audio-pci-intel-cnl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0

By the way, adding snd-intel-dspcfg.dsp_driver=1 to the kernel args did not help, though it was suggested with Arch here.

Also, I found it reported with Fedora back in 2022, but I never had an issue with Fedora 33-40.

I have been fighting this problem for long now. But I am not strong enough.

uname -r
6.9.7-1445.native
lspci -v | grep -A7 -i "audio"
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_skl

cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xb1120000 irq 133

(I guess, there is a soundcard.)

sudo dmesg | grep -i audio
Password: 
[    3.469123] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops)
[    3.505372] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC236: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.505385] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.505389] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.505392] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.505394] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.505396] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19
[    3.505399] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    3.543040] probe of hdaudioC0D0 returned 0 after 38248 usecs
[    3.551553] probe of hdaudioC0D2 returned 0 after 3351 usecs
aplay --list-devices
aplay: device_list:279: no soundcards found...
pactl list | grep -A20 "Sink\|Source"
Sink #68
	State: SUSPENDED
	Name: auto_null
	Description: Dummy Output
	Driver: PipeWire
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 36672 /  56% / -15.13 dB,   front-right: 36672 /  56% / -15.13 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: auto_null.monitor
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		node.name = "auto_null"
		device.description = "Dummy Output"
		audio.rate = "48000"
		audio.channels = "2"
		audio.position = "FL,FR"
		media.class = "Audio/Sink"
		factory.name = "support.null-audio-sink"
		node.virtual = "true"
		monitor.channel-volumes = "true"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		port.group = "stream.0"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "60"
		object.serial = "68"
	Formats:
		pcm

Source #68
	State: SUSPENDED
	Name: auto_null.monitor
	Description: Monitor of Dummy Output
	Driver: PipeWire
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor of Sink: auto_null
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		node.name = "auto_null"
		device.description = "Dummy Output"
		audio.rate = "48000"
		audio.channels = "2"
		audio.position = "FL,FR"
		media.class = "Audio/Sink"
		factory.name = "support.null-audio-sink"
		node.virtual = "true"
		monitor.channel-volumes = "true"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		port.group = "stream.0"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "60"
		object.serial = "68"
		device.class = "monitor"
	Formats:
		pcm