Sound drivers not found in the sound settings

Can not find/install the should drivers:

If I checked this with LinuxMint20.3, the below driver was found:

What Device ID does lspci -nn show for it?

$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Coffee Lake HOST and DRAM Controller [8086:3e34] (rev 0c)
00:02.0 VGA compatible controller [0300]: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] [8086:3ea0] (rev 02)
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 0c)
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
00:12.0 Signal processing controller [1180]: Intel Corporation Cannon Point-LP Thermal Controller [8086:9df9] (rev 30)
00:14.0 USB controller [0c03]: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller [8086:9ded] (rev 30)
00:14.2 RAM memory [0500]: Intel Corporation Cannon Point-LP Shared SRAM [8086:9def] (rev 30)
00:14.3 Network controller [0280]: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] [8086:9df0] (rev 30)
00:14.5 SD Host controller [0805]: Intel Corporation BayHubTech Integrated SD controller [8086:9df5] (rev 30)
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP Serial IO I2C Controller #0 [8086:9de8] (rev 30)
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP Serial IO I2C Controller #1 [8086:9de9] (rev 30)
00:16.0 Communication controller [0780]: Intel Corporation Cannon Point-LP MEI Controller #1 [8086:9de0] (rev 30)
00:17.0 RAID bus controller [0104]: Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a] (rev 30)
00:1c.0 PCI bridge [0604]: Intel Corporation Cannon Point-LP PCI Express Root Port #1 [8086:9db8] (rev f0)
00:1c.4 PCI bridge [0604]: Intel Corporation Cannon Point-LP PCI Express Root Port #5 [8086:9dbc] (rev f0)
00:1d.0 PCI bridge [0604]: Intel Corporation Cannon Point-LP PCI Express Root Port #9 [8086:9db0] (rev f0)
00:1d.4 PCI bridge [0604]: Intel Corporation Cannon Point-LP PCI Express Root Port #13 [8086:9db4] (rev f0)
00:1f.0 ISA bridge [0601]: Intel Corporation Cannon Point-LP LPC Controller [8086:9d84] (rev 30)
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Cannon Point-LP High Definition Audio Controller [8086:9dc8] (rev 30)
00:1f.4 SMBus [0c05]: Intel Corporation Cannon Point-LP SMBus Controller [8086:9da3] (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP SPI Controller [8086:9da4] (rev 30)
02:00.0 3D controller [0302]: NVIDIA Corporation GP108M [GeForce MX250] [10de:1d13] (rev a1)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
04:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Blue SN500 / PC SN520 NVMe SSD [15b7:5003] (rev 01)

This case I think it finds device:

$ lspci -nn | grep Audio
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Cannon Point-LP High Definition Audio Controller [8086:9dc8] (rev 30)

However this device is not seen in the sound settings menu.

Is the module loaded for the soundcard? From this: Intel Cannon Point-LP High Definition Audio Controller

lsmod | grep -i snd_intel

just in case it’s not loaded for some reason. Also see if this posts helps on the Fedora forum: Dummy audio output after update - #2 by stemid - Ask Fedora some of the commands you might need to adapt, eg for from replacing fedora with rocky. If that post is a potential solution, then something should show up in dmesg if it’s not loading the modules properly.

Result:

$ lsmod | grep -i snd_intel
snd_intel_dspcfg       28672  3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl

Check the Fedora link above and verify with your dmesg output to see if it matches with a problem loading the modules incorrectly or not loading properly at all.

I can see below messages for Audio:

$ dmesg | grep audio
[    6.772664] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    6.773846] sof-audio-pci-intel-cnl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    6.775043] sof-audio-pci-intel-cnl 0000:00:1f.3: enabling device (0000 -> 0002)
[    6.776442] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    6.778073] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    6.785931] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[    6.826920] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 5
[    6.828361] sof-audio-pci-intel-cnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    6.829707] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    6.832285] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 1:8:0-9e7a8
[    6.833682] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:18:1 Kernel ABI 3:18:0
[    6.835057] sof-audio-pci-intel-cnl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    6.928045] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 1:8:0-9e7a8
[    6.928845] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:18:1 Kernel ABI 3:18:0
[    6.933912] sof-audio-pci-intel-cnl 0000:00:1f.3: Topology: ABI 3:18:1 Kernel ABI 3:18:0
[    6.951448] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[    6.968770] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC285: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    6.969737] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.970543] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    6.971488] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    6.972259] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    6.973635] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    7.635070] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    7.635857] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[  161.261823] snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
[  161.261860] snd_hda_codec_realtek ehdaudio0D0: ASoC: error at snd_soc_dai_startup on Digital Codec DAI: -22
[  161.272232] snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
[  161.272271] snd_hda_codec_realtek ehdaudio0D0: ASoC: error at snd_soc_dai_startup on Digital Codec DAI: -22
[  161.648711] snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
[  161.648750] snd_hda_codec_realtek ehdaudio0D0: ASoC: error at snd_soc_dai_startup on Digital Codec DAI: -22
[  161.671508] snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
[  161.671545] snd_hda_codec_realtek ehdaudio0D0: ASoC: error at snd_soc_dai_startup on Digital Codec DAI: -22

And it looks there is some error:

[  161.261823] snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
[  161.261860] snd_hda_codec_realtek ehdaudio0D0: ASoC: error at snd_soc_dai_startup on Digital Codec DAI: -22

How to fix this?
If I edit the /etc/default/grub, the “linuxmint20.3” disappears from boot menu!
Normally grub2-mkconfig gives:

Generating grub configuration file ...
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Linux Mint 20.3 Una (20.3) on /dev/nvme0n1p6
Adding boot menu entry for EFI firmware configuration

However, it seems linuxmint gone now:

Generating grub configuration file ...
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done

Setting is now as:
GRUB_CMDLINE_LINUX="crashkernel=auto rd.driver.blacklist=nouveau snd_hda_intel.dmic_detect=0"
I return to the original setting and still, linuxmint20.3 is gone…

Did you try the fixes that were suggested in the Fedora post?

I think that is the main fix suggested there: to edit the /etc/default/grub-file.

I’ve had this happen now and then. I corrected it by temporarily mounting, in your case, the Linux Mint partition to /mnt and then rerunning “grub2-mkconfig”

It looks linuxmint gone, it seems disppear once and a while and few times it seems add linuxmint to the grub boot menu.
I ran than grub2-mkconfig again and now results is:

Generating grub configuration file ...
device-mapper: remove ioctl on osprober-linux-nvme0n1p5  failed: Device or resource busy
Command failed.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Linux Mint 20.3 Una (20.3) on /dev/nvme0n1p6
Adding boot menu entry for EFI firmware configuration
done

But it happened linuxmint was added this time!
Sound is still not working, or no sound found in the sound settings.
dmesg- results might be different now:

$ dmesg | grep audio
[    7.063210] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    7.129039] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC285: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    7.129757] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.130468] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    7.131186] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    7.132069] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    7.133317] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19


The menu as seen above is still totally emtpy.

Do you have alsa-sof-firmware package installed? From searching quite a lot of people have issues with this audio card even in Fedora.

It was already there:

$ sudo dnf install alsa-sof-firmware.noarch
Last metadata expiration check: 2:04:27 ago on Fri 14 Jan 2022 10:50:53 PM PST.
Package alsa-sof-firmware-1.8-1.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
echo "options snd-intel-dspcfg dsp_driver=1" > /etc/modprobe.d/cpoint-audio.conf

as suggested here: Sound stopped working after upgrading to Linux 5.4 (Intel HD Audio) - Super User

this is in addition to using the option posted earlier that you added to /etc/default/grub - so if you removed this, you might need to add it again to /etc/default/grub.

I realise the kernel is 4.x, but might still apply. Worth trying. This puts snd_intel_hda in legacy without it using sof.

Now, for some reason the sound just started to working, but microphone is still not found:



Then I boot again and the sound driver is gone again:

That will be because of this:

snd_hda_intel.dmic_detect=0"

that was added to /etc/default/grub. The way I understand it, that disabled the microphone. You would need to remove that, and make the grub configuration again to enable the mic. I just don’t know though if your sound will then stop working, but you can try.

At worst, you will have sound but no microphone.

This sound configuration looks weird… not working.
Also everytime I login to the system, I have to write password twice to pass some ‘logging keyring’ :

This is most likely because new hardware, old kernel. This is why it works in Linux Mint which has a far newer kernel. If you want it to work in Rocky, it means disabling the microphone. If you need the microphone, then it looks like you are out of luck.

As already posted, a lot of people are having these problems, and this is how I found the commands to help get part of your sound card working. They also said the microphone doesn’t work which is a side-effect because of it. So it’s either that, or change and use a newer Linux distro on this machine, or wait until Rocky 9 is available that might have a Linux kernel 5.4 or newer.

As for your keyring issue, that is not related to your sound problem. Most likely at some point you were doing something on your machine that asked you to set a password for your keyring. And whatever process is then asking or requiring something that is stored in your keyring, needs you to unlock it. This of course will always happen when you restart your machine since your keyring is not loaded into memory and it isn’t unlocked. I’m not sure if you can have a keyring without a password which would solve the problem. This was possible ages ago, as I did do that, but I didn’t have this problem for a long time now.

CentOS Stream 9 has currently kernel 5.14.

ELRepo has kernel-lt-5.4 and kernel-ml-5.16 for EL8. That is, for Rocky too. ELRepo | HomePage

1 Like

This is now as:

$ cat /proc/version 
Linux version 5.15.1-1.el8.elrepo.x86_64 (mockbuild@f0e8539a85534c1981fc3b05730c9e28) (gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1), GNU ld version 2.30-93.el8) #1 SMP Thu Nov 4 19:14:37 EDT 2021

But no 5.4.xx here.

It looks here is no efficient solution and discussion is going outside the subject.