You are not logged in.

#1 2020-12-29 12:55:26

Miles28
Member
From: Spain
Registered: 2008-08-31
Posts: 88

[SOLVED] No sound card detected

Hi.
I have changed the motherboard and after restarting Archlinux everything works well except the sound card.

$ alsamixer
cannot open mixer: No existe el fichero o el directorio
$ aplay -l
aplay: device_list:274: no soundcards found...
lsmod | grep snd
snd_hda_intel          53248  0
snd_intel_nhlt         20480  1 snd_hda_intel
snd_hda_codec         159744  1 snd_hda_intel
snd_hda_core          102400  2 snd_hda_intel,snd_hda_codec
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               143360  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              40960  1 snd_pcm
snd                   110592  5 snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
soundcore              16384  1 snd
$ lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
$ journalctl -p err
snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x010f0004
hdaudio hdaudioC0D0: cannot read sub nodes for FG 0x10
snd_hda_intel 0000:00:1f.3: no codecs initialized
dmesg | grep -i audio
[    0.220333] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    3.207975] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    9.537838] hdaudio hdaudioC0D0: cannot read sub nodes for FG 0x10

Audio group exists and my user is added.
Previous motherboard card was Realtek ALC887 7.1-Channel High Definition Audio and the new one is Realtek ALC887 8-Channel High Definition Audio.
The sound card works well after testing with another OS I don't want to write here wink
I'm missing something and don't know how to fix it.

Thanks in advance.

Last edited by Miles28 (2020-12-29 18:04:35)

Offline

#2 2020-12-29 13:24:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 15,083

Re: [SOLVED] No sound card detected

Install sof-firmware and alsa-ucm-conf: https://wiki.archlinux.org/index.php/Ad … A_Firmware

If that isn't it post

dmesg | grep -E 'sof|snd'

Offline

#3 2020-12-29 13:31:27

Miles28
Member
From: Spain
Registered: 2008-08-31
Posts: 88

Re: [SOLVED] No sound card detected

I have installed those packages and restarted.

dmesg | grep -E 'sof|snd'
[    0.414285] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.414287] software IO TLB: mapped [mem 0xbcb45000-0xc0b45000] (64MB)
[    3.550858] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    6.617482] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x200f0000
[    7.637461] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x200f0000
[    8.657465] snd_hda_intel 0000:00:1f.3: Codec #2 probe error; disabling it...
[    9.697514] snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x010f0004
[    9.697525] snd_hda_intel 0000:00:1f.3: no codecs initialized

Offline

#4 2020-12-29 13:43:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 15,083

Re: [SOLVED] No sound card detected

mmm looks more problematic in this case, you aren't trying to use the LTS kernel are you? linux-firmware is installed? Do you have custom .conf in /etc/modprobe.d that tries to enforce something?

Offline

#5 2020-12-29 13:50:48

Miles28
Member
From: Spain
Registered: 2008-08-31
Posts: 88

Re: [SOLVED] No sound card detected

I have tried with both LTS and no LTS kernel. Linux-firmware is installed and have no custom .conf files in /etc/modprobe.d.

Offline

#6 2020-12-29 13:54:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 15,083

Re: [SOLVED] No sound card detected

Is your igpu accessible/connected to a display? Maybe try disabling that in your UEFI if you aren't actively trying to use the i915 driver

Offline

#7 2020-12-29 14:08:28

Miles28
Member
From: Spain
Registered: 2008-08-31
Posts: 88

Re: [SOLVED] No sound card detected

I'm using the igpu by dvi to a monitor. I don't have any dgpu installed on this machine. Is it what you want me to disable or maybe i have misunderstood your response.

Offline

#8 2020-12-29 16:15:57

Miles28
Member
From: Spain
Registered: 2008-08-31
Posts: 88

Re: [SOLVED] No sound card detected

I have tested with two liveusb distributions and the sound card problem persists.

Offline

#9 2020-12-29 18:04:03

Miles28
Member
From: Spain
Registered: 2008-08-31
Posts: 88

Re: [SOLVED] No sound card detected

I have found a solution on https://forums.linuxmint.com/viewtopic.php?t=327629

sudo tee /etc/modprobe.d/snd-hda-intel-fix.conf <<<'options snd-hda-intel probe_mask=1'

Apparently it's a buggy bios firmware.

V1del, thanks a lot anyway for dedicating your time with my problem.

Offline

#10 2021-08-04 11:32:14

ShadowGekko
Member
Registered: 2021-08-04
Posts: 1

Re: [SOLVED] No sound card detected

Even though this is solved, I'm adding the way I managed to solve it, as this method didn't quite work.

Here is how I was able to resolve this:

sudo vim /etc/default/grub
Find GRUB_CMDLINE_LINUX_DEFAULT and add snd_hda_intel.dmic_detect=0 to the end of it. (ex: GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 snd_hda_intel.dmic_detect=0")
sudo grub-mkconfig -o /boot/grub/grub.cfg

Reboot.

(source: https://superuser.com/questions/1509312 … -hd-audio)

Last edited by ShadowGekko (2021-08-04 11:33:14)

Offline

#11 2021-08-04 12:03:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 15,083

Re: [SOLVED] No sound card detected

If that was your fix, then installing sof-firmware instead would be better, as now you don't have a mic (unless sof-firmware didn't work).

In any case this doesn't appear to be in any way related to your issue, aside of the "common" symptom that the soundcard wasn't detected, but Miles28 didn't have a SOF card, while you most likely have one.

Also dmic_detect=0 is deprecated and slated for removal, if you want something more sustainable use snd-intel-dspcfg.dsp_driver=1 instead


Closing this old thread.

Last edited by V1del (2021-08-04 12:05:48)

Offline

Board footer

Powered by FluxBB