Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] I have two sound cards - and no sound
Date: Fri, 10 Feb 2017 11:02:28
Message-Id: 7290521.oHdNmG1Sex@andromeda
In Reply to: Re: [gentoo-user] I have two sound cards - and no sound by Mick
1 On Friday, February 10, 2017 06:33:31 AM Mick wrote:
2 > On Thursday 09 Feb 2017 22:19:24 thelma@×××××××××××.com wrote:
3 > > On my new box I seem to have two sound cards but no sound.
4 > >
5 > > cat /proc/asound/cards
6 > >
7 > > 0 [SB ]: HDA-Intel - HDA ATI SB
8 > >
9 > > HDA ATI SB at 0xfe400000 irq 16
10 > >
11 > > 1 [NVidia ]: HDA-Intel - HDA NVidia
12 > >
13 > > HDA NVidia at 0xfe080000 irq 50
14 > >
15 > > lspci | grep -i audio
16 > > 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia
17 > > (Intel HDA) (rev 40) 01:00.1 Audio device: NVIDIA Corporation GK208
18 > > HDMI/DP
19 > > Audio Controller (rev a1)
20 > >
21 > > cat /usr/src/linux/.config | grep SND_HDA
22 > > CONFIG_SND_HDA=y
23 > > CONFIG_SND_HDA_INTEL=y
24 > > CONFIG_SND_HDA_HWDEP=y
25 > > # CONFIG_SND_HDA_RECONFIG is not set
26 > > # CONFIG_SND_HDA_INPUT_BEEP is not set
27 > > # CONFIG_SND_HDA_PATCH_LOADER is not set
28 > > # CONFIG_SND_HDA_CODEC_REALTEK is not set
29 > > # CONFIG_SND_HDA_CODEC_ANALOG is not set
30 > > # CONFIG_SND_HDA_CODEC_SIGMATEL is not set
31 > > # CONFIG_SND_HDA_CODEC_VIA is not set
32 > > # CONFIG_SND_HDA_CODEC_HDMI is not set
33 > > # CONFIG_SND_HDA_CODEC_CIRRUS is not set
34 > > # CONFIG_SND_HDA_CODEC_CONEXANT is not set
35 > > # CONFIG_SND_HDA_CODEC_CA0110 is not set
36 > > # CONFIG_SND_HDA_CODEC_CA0132 is not set
37 > > # CONFIG_SND_HDA_CODEC_CMEDIA is not set
38 > > # CONFIG_SND_HDA_CODEC_SI3054 is not set
39 > > # CONFIG_SND_HDA_GENERIC is not set
40 > > CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
41 > > CONFIG_SND_HDA_CORE=y
42 > > CONFIG_SND_HDA_I915=y
43 > > CONFIG_SND_HDA_PREALLOC_SIZE=64
44 > >
45 > > #speaker-test
46 > >
47 > > speaker-test 1.1.2
48 > >
49 > > Playback device is default
50 > > Stream parameters are 48000Hz, S16_LE, 1 channels
51 > > Using 16 octaves of pink noise
52 > > ALSA lib
53 > > /var/tmp/portage/media-libs/alsa-lib-1.1.2/work/alsa-lib-1.1.2/src/pcm/pcm
54 > > _
55 > > dmix.c:1041:(snd_pcm_dmix_open) unable to open slave Playback open error:
56 > > -2,No such file or directory
57 > >
58 > > What am I missing?
59 >
60 > You are missing the correct sound driver for your hardware.
61 >
62 > > Doesn't matter which card I select via "alsamixer" I get:
63 > >
64 > > " This sound device does not have any controls."
65 >
66 > You could use Google to find out which kernel module is required for your
67 > hardware; or, quicker and potentially more accurate would be to set up
68 > *every* driver as a module in your kernel and reboot. The correct module
69 > will be loaded and will show up in dmesg and lsmod. Then you can deselect
70 > the rest and rebuild your kernel.
71
72 For clarity, you are missing the correct CODEC drivers.