View previous topic :: View next topic |
Author |
Message |
frddbbbl Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Jun 2019 Posts: 98
|
Posted: Mon Jul 06, 2020 12:41 pm Post subject: [SOLVED] alsa not recognising any soundcard |
|
|
Hi, i have recently installed gentoo and cannot work out why alsa is not recognisng my soundcar, i belive it may be because udev isnt loading the kerel modules but im not sure.
output of lspci:
Code: |
00:1b.0 lspci | grep -i audio
Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
|
output of grep CONFIG_SND /usr/src/linux/.config
Code: |
frdd /home/freddie # grep CONFIG_SND /usr/src/linux/.config
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_SEQ_DEVICE=y
CONFIG_SND_RAWMIDI=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=y
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_SEQ_MIDI_EVENT=y
CONFIG_SND_SEQ_MIDI=y
CONFIG_SND_SEQ_MIDI_EMUL=y
CONFIG_SND_MPU401_UART=y
CONFIG_SND_OPL3_LIB=y
CONFIG_SND_OPL3_LIB_SEQ=y
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not set
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_ALOOP is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_AC97_POWER_SAVE 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=m
CONFIG_SND_INTEL8X0M=m
# 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=m
CONFIG_SND_VIA82XX_MODEM=m
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
CONFIG_SND_YMFPCI=y
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
# CONFIG_SND_HDA_INTEL_DETECT_DMIC is not set
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
# CONFIG_SND_HDA_INPUT_BEEP is not set
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_CODEC_CIRRUS=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_INTEL_NHLT=y
CONFIG_SND_USB=y
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_US122L is not set
# CONFIG_SND_USB_6FIRE is not set
# CONFIG_SND_USB_HIFACE is not set
# CONFIG_SND_BCD2000 is not set
# CONFIG_SND_USB_POD is not set
# CONFIG_SND_USB_PODHD is not set
# CONFIG_SND_USB_TONEPORT is not set
# CONFIG_SND_USB_VARIAX is not set
CONFIG_SND_PCMCIA=y
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set
# CONFIG_SND_SOC is not set
CONFIG_SND_X86=y
|
output of lsmod:
Code: |
lsmod
Module Size Used by
ath9k 159744 0
ath9k_common 36864 1 ath9k
ath9k_hw 503808 2 ath9k_common,ath9k
|
output of aplay -l
Code: |
aplay: device_list:274: no soundcards found...
|
output of aplay -L
Code: |
null
Discard all samples (playback) or generate zero samples (capture)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
|
output of alsamixer
Code: |
cannot open mixer: No such file or directory
|
i saw someone ask for the output of ps -Al | grep udev on one post similar to this:
Code: |
4 S 0 518 1 0 80 0 - 3047 - ? 00:00:00 udevd
|
and my user and root user is in the audio group.[/code]
Cheers,
Freddie
Last edited by frddbbbl on Tue Jul 07, 2020 9:39 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fturco Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Dec 2010 Posts: 1181
|
Posted: Mon Jul 06, 2020 2:55 pm Post subject: |
|
|
According to this thread, you probably need to build CONFIG_SND_HDA_INTEL as module instead of built-in. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54834 Location: 56N 3W
|
Posted: Mon Jul 06, 2020 3:18 pm Post subject: |
|
|
frddbbbl,
As fturco said, all the bits of CONFIG_SND_HDA need to be configured the same way.
A mix of modules and built in fails. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
frddbbbl Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Jun 2019 Posts: 98
|
Posted: Mon Jul 06, 2020 9:46 pm Post subject: |
|
|
fturco wrote: | According to this thread, you probably need to build CONFIG_SND_HDA_INTEL as module instead of built-in. |
at risk of sounding stupid, i am not sure exactly how to alter my make menuconfig as i thought i had loaded it as a module.below are links to screenshots of what should be the relevent menuconfig pages. how should i alter them?
https://ibb.co/KsVm5YW
https://ibb.co/y5Lrc1N
https://ibb.co/y5Lrc1N |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
halcon l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/488895685f0ccb058b6ff.jpg)
Joined: 15 Dec 2019 Posts: 649
|
Posted: Mon Jul 06, 2020 11:36 pm Post subject: |
|
|
frddbbbl wrote: | i am not sure exactly how to alter my make menuconfig |
NeddySeagoon said that you have to replace "built-in" by "built as module" for CONFIG_SND_HDA and all symbols that are beginning with CONFIG_SND_HDA (CONFIG_SND_HDA_INTEL, CONFIG_SND_HDA_HWDEP etc).
Pressing <space> will switch between [*]/[M]/[] for the selected symbol.
[*] means "built-in", [M] means "built as module", [] means "not buiit".
If some option of the three is not available, it's because some other symbol is blocking it.
If you want to find where, e.g., symbol CONFIG_FOO_BAR is located, and to match its short name with its full prompt in menuconfig, you can press "/" (on each page of menuconfig); you will see the search line; enter CONFIG_FOO_BAR and press <Enter>; you will see the help page with the exact location of CONFIG_FOO_BAR, its full prompt, all its dependencies.
Don't forget to save the changes. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fturco Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Dec 2010 Posts: 1181
|
Posted: Tue Jul 07, 2020 7:18 am Post subject: |
|
|
frddbbbl wrote: | at risk of sounding stupid, i am not sure exactly how to alter my make menuconfig as i thought i had loaded it as a module.below are links to screenshots of what should be the relevent menuconfig pages. how should i alter them? |
Just select the "HD Audio PCI" option and press the "M" key on your keyboard.
If you do that, <*> HD Audio PCI will become <M> HD Audio PCI, which is what we need. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
frddbbbl Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Jun 2019 Posts: 98
|
Posted: Tue Jul 07, 2020 9:38 am Post subject: |
|
|
fturco wrote: | frddbbbl wrote: | at risk of sounding stupid, i am not sure exactly how to alter my make menuconfig as i thought i had loaded it as a module.below are links to screenshots of what should be the relevent menuconfig pages. how should i alter them? |
Just select the "HD Audio PCI" option and press the "M" key on your keyboard.
If you do that, <*> HD Audio PCI will become <M> HD Audio PCI, which is what we need. |
Thanks so much, didn't realise i could build that as a module. All working now cheer! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|