View previous topic :: View next topic |
Author |
Message |
frozenpenguin n00b
Joined: 04 Feb 2024 Posts: 33
|
Posted: Mon Jun 17, 2024 12:56 pm Post subject: [SOLVED]Sound card is not being detected |
|
|
I have followed various guides and forum posts by others, yet my sound card is still not being detected.
lsmod
config
lspci -nnk
Assistance is appreciated
Last edited by frozenpenguin on Fri Jul 26, 2024 11:33 pm; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5091 Location: Bavaria
|
Posted: Mon Jun 17, 2024 2:15 pm Post subject: |
|
|
frozenpenguin,
there are still threads from you where you were asked something and didn't answer. You might want to look through these threads again.
Every user who helps others in our forum is happy to receive feedback, especially if they have asked a question and are waiting for an answer.
As for the sound, there are mainboards that don't need the whole SOF and work great with snd_hda_intel (like my Gigabyte). However, if you really need SOF, you will of course also need the package "sys-firmware/sof-firmware".
What is probably very faulty is this:
Code: | # CONFIG_SND_HDA_RECONFIG is not set |
I have an Intel RaptorLake system with a Gigabyte Aorus Elite Z790 mainboard and all I need is only this:
Code: | CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_SEQ_DEVICE=y
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
# CONFIG_SND_OSSEMUL is not set
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_HRTIMER=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_PROC_FS=y
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
CONFIG_SND_CTL_FAST_LOOKUP=y
CONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_VERBOSE is not set
# CONFIG_SND_CTL_INPUT_VALIDATION is not set
# CONFIG_SND_CTL_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_CTL_LED=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
# CONFIG_SND_SEQ_UMP is not set
# CONFIG_SND_DRIVERS is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SE6X is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
#
# HD-Audio
#
CONFIG_SND_HDA=y
CONFIG_SND_HDA_GENERIC_LEDS=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_SCODEC_COMPONENT=y
CONFIG_SND_HDA_CODEC_REALTEK=y
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
CONFIG_SND_HDA_CODEC_HDMI=y
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CS8409 is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
# CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM is not set
# CONFIG_SND_HDA_CTL_DEV_ID is not set
# end of HD-Audio
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=0
CONFIG_SND_INTEL_NHLT=y
CONFIG_SND_INTEL_DSP_CONFIG=y
CONFIG_SND_INTEL_SOUNDWIRE_ACPI=y
# CONFIG_SND_USB is not set
# CONFIG_SND_SOC is not set
# CONFIG_SND_X86 is not set |
(no SOF; no soundwire; no SND_DRIVERS; no super old CONFIG_SND_INTEL8X0; only CONFIG_SND_HDA_CODEC_REALTEK=y + CONFIG_SND_HDA_CODEC_HDMI=y)
If this does not help, we would need your new kernel .config AND the output of "dmesg" after a system start. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
frozenpenguin n00b
Joined: 04 Feb 2024 Posts: 33
|
Posted: Tue Jun 18, 2024 5:28 am Post subject: |
|
|
I will go through my other threads at a later time.
The soundcard is still not being detected after enabling
Code: | CONFIG_SND_HDA_RECONFIG |
Of your configs shown, all are enabled(though some are modulated) except for
Code: | CONFIG_SND_DEBUG
CONFIG_SND_HDA_SCODEC_COMPONENT |
The former was not enabled as I felt it was unnecessary as I am not debugging the kernel and I couldn't find the latter in the config in my 6.6.13 kernel config.
dmesg
config |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5091 Location: Bavaria
|
Posted: Tue Jun 18, 2024 11:22 am Post subject: |
|
|
frozenpenguin wrote: | The former was not enabled as I felt it was unnecessary as I am not debugging the kernel and I couldn't find the latter in the config in my 6.6.13 kernel config. |
CONFIG_SND_DEBUG does not hurt ... and gives you more information at system startup in your dmesg. Yes, I am on 6.9.5 and therefore have some differences to 6.6.
What you really must change is: CONFIG_NR_CPUS=8 because:
Code: | [ 0.020581] smpboot: 12 Processors exceeds NR_CPUS limit of 8 |
(In the past I had some weird problems with AMD CPUs where not all CPU have been activated; I dont know the behaviour of Intel CPUs if you cut off some cores)
I gave you my config also, that you can disable some options which could make some troubles; like the super old CONFIG_SND_AC97_CODEC ...
I have also see that you have enabled: CONFIG_SERIAL_MULTI_INSTANTIATE=m (good!) we had missed in another thread; IOMMU is also correct (e.g.CONFIG_IRQ_REMAP=y) ... so the last we can do is to compare your .config with the .config of the dist-kernel.
BTW: You will need the package "net-wireless/wireless-regdb" for this:
Code: | [ 0.890644] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 0.891330] cfg80211: failed to load regulatory.db |
AND ...
you have enabled it statically, so you must add it also in ...: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Driver_needs_Firmware _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Tue Jun 18, 2024 2:40 pm Post subject: |
|
|
frozenpenguin,
Code: | 00:1f.3 Multimedia audio controller [0401]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:896e]
Kernel driver in use: sof-audio-pci-intel-tgl
Kernel modules: snd_sof_pci_intel_tgl |
You need the Sound Open Firmware sound stack and the firmware to go with it. In particular SND_SOC_SOF_INTEL_TGL
Code: | Symbol: SND_SOC_SOF_INTEL_TGL [=n] │
│ Type : tristate │
│ Defined at sound/soc/sof/intel/Kconfig:212 │
│ Depends on: SOUND [=y] && SND [=m] && SND_SOC [=n] && SND_SOC_SOF_TOPLEVEL [=n] && SND_SOC_SOF_INTEL_TOPLEVEL [=n] && SND_SOC_SOF_PCI [=n] │
│ Selects: SND_SOC_SOF_HDA_COMMON [=n] && SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE [=n] && SND_SOC_SOF_IPC3 [=n] && SND_SOC_SOF_IPC4 [=n] │
│ Selected by [n]: │
│ - SND_SOC_SOF_TIGERLAKE [=n] && SOUND [=y] && SND [=m] && SND_SOC [=n] && SND_SOC_SOF_TOPLEVEL [=n] && SND_SOC_SOF_INTEL_TOPLEVEL [=n] && SND_SOC_SOF_PCI [=n] │
│ - SND_SOC_SOF_ELKHARTLAKE [=n] && SOUND [=y] && SND [=m] && SND_SOC [=n] && SND_SOC_SOF_TOPLEVEL [=n] && SND_SOC_SOF_INTEL_TOPLEVEL [=n] && SND_SOC_SOF_PCI [=n] │
│ - SND_SOC_SOF_ALDERLAKE [=n] && SOUND [=y] && SND [=m] && SND_SOC [=n] && SND_SOC_SOF_TOPLEVEL [=n] && SND_SOC_SOF_INTEL_TOPLEVEL [=n] && SND_SOC_SOF_PCI [=n] |
If its hidden for you, the Depends on boolean is false.
Press the 'z' key to show/search in hidden symbols.
As its going to load firmware, SND_SOC_SOF_INTEL_TGL [=m] will be a good choice. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5091 Location: Bavaria
|
Posted: Tue Jun 18, 2024 6:32 pm Post subject: |
|
|
Neddy,
of course I had checked his config for this ... he has already:
Code: | CONFIG_SND_SOC=m
CONFIG_SND_SOC_SOF_TOPLEVEL=y
CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL=y
CONFIG_SND_SOC_SOF_PCI=m
CONFIG_SND_SOC_SOF_INTEL_TGL=m
CONFIG_SND_SOC_SOF_TIGERLAKE=m |
there I see no problem ... I see a problem with the missing snd_hda_intel ... usually you have both in your "lspci-output and not only SOF ... this I want to see:
Code: | Kernel driver in use: snd_hda_intel, snd_sof_pci_intel_tgl |
and at the moment I dont know what is wrong with snd_hda_intel ... ... I hope there was no editing of the .config file
(https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Never_edit_.config) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Tue Jun 18, 2024 6:45 pm Post subject: |
|
|
pietinger,
Indeed, cateee.net lists both drivers for Vendor:Device 8086:51c8 but lspci says
Code: | 00:1f.3 Multimedia audio controller [0401]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:896e]
Kernel driver in use: sof-audio-pci-intel-tgl
Kernel modules: snd_sof_pci_intel_tgl |
so the older driver is not used. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
frozenpenguin n00b
Joined: 04 Feb 2024 Posts: 33
|
Posted: Fri Jul 26, 2024 11:33 pm Post subject: |
|
|
After getting a debian live cd, booting it up and checking the output of
and going to gentoo's kernel config to check if any modules were not being built;
it was discovered that
Code: | CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH |
was not enabled. Then, after enabling it and rebooting, my sound cards got detected.
Thanks to everyone for your assistance. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5091 Location: Bavaria
|
Posted: Sat Jul 27, 2024 5:16 am Post subject: |
|
|
frozenpenguin wrote: | Thanks to everyone for your assistance. |
Thank you for the report. It will certainly help other users too. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
|