Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] I have two sound cards - and no sound

170 views
Skip to first unread message

the...@sys-concept.com

unread,
Feb 10, 2017, 12:20:02 AM2/10/17
to
On my new box I seem to have two sound cards but no sound.

cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe400000 irq 16
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe080000 irq 50

lspci | grep -i audio
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)

cat /usr/src/linux/.config | grep SND_HDA
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_HWDEP=y
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
# CONFIG_SND_HDA_CODEC_REALTEK is not set
# 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 is not set
# CONFIG_SND_HDA_CODEC_CIRRUS 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 is not set
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64

#speaker-test

speaker-test 1.1.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.2/work/alsa-lib-1.1.2/src/pcm/pcm_dmix.c:1041:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory

What am I missing?
Doesn't matter which card I select via "alsamixer" I get:

" This sound device does not have any controls."

--
Thelma

Mick

unread,
Feb 10, 2017, 1:40:03 AM2/10/17
to
You are missing the correct sound driver for your hardware.


> Doesn't matter which card I select via "alsamixer" I get:
>
> " This sound device does not have any controls."

You could use Google to find out which kernel module is required for your
hardware; or, quicker and potentially more accurate would be to set up *every*
driver as a module in your kernel and reboot. The correct module will be
loaded and will show up in dmesg and lsmod. Then you can deselect the rest
and rebuild your kernel.
--
Regards,
Mick
signature.asc

Neil Bothwick

unread,
Feb 10, 2017, 4:50:02 AM2/10/17
to
On Fri, 10 Feb 2017 06:33:31 +0000, Mick wrote:

> > Doesn't matter which card I select via "alsamixer" I get:
> >
> > " This sound device does not have any controls."
>
> You could use Google to find out which kernel module is required for
> your hardware; or, quicker and potentially more accurate would be to
> set up *every* driver as a module in your kernel and reboot. The
> correct module will be loaded and will show up in dmesg and lsmod.
> Then you can deselect the rest and rebuild your kernel.

Or you can boot from a live CD that works with your sound card and see
which modules it uses for it, using dmesg and lspci -k. That saves
rebuilding your kernel again.


--
Neil Bothwick

What do you have when you have six lawyers buried up to their necks in
sand? Not enough sand.

J. Roeleveld

unread,
Feb 10, 2017, 6:10:03 AM2/10/17
to
For clarity, you are missing the correct CODEC drivers.

the...@sys-concept.com

unread,
Feb 10, 2017, 9:00:04 AM2/10/17
to
On 02/10/2017 02:47 AM, Neil Bothwick wrote:
> On Fri, 10 Feb 2017 06:33:31 +0000, Mick wrote:
>
>>> Doesn't matter which card I select via "alsamixer" I get:
>>>
>>> " This sound device does not have any controls."
>>
>> You could use Google to find out which kernel module is required for
>> your hardware; or, quicker and potentially more accurate would be to
>> set up *every* driver as a module in your kernel and reboot. The
>> correct module will be loaded and will show up in dmesg and lsmod.
>> Then you can deselect the rest and rebuild your kernel.
>
> Or you can boot from a live CD that works with your sound card and see
> which modules it uses for it, using dmesg and lspci -k. That saves
> rebuilding your kernel again.

I booted from live USB since it was a quicker method and:
"dmesg |grep -i codec" showed me:
CONFIG_SND_HDA_CODEC_REALTEK

Thank you all it was a quick solution.

--
Thelma
0 new messages