Re: [gentoo-user] I have two sound cards - and no sound
On 02/10/2017 02:47 AM, Neil Bothwick wrote: > On Fri, 10 Feb 2017 06:33:31 +, 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
Re: [gentoo-user] I have two sound cards - and no sound
On Friday, February 10, 2017 06:33:31 AM Mick wrote: > On Thursday 09 Feb 2017 22:19:24 the...@sys-concept.com wrote: > > 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 0xfe40 irq 16 > > > > 1 [NVidia ]: HDA-Intel - HDA NVidia > > > > HDA NVidia at 0xfe08 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? > > 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. For clarity, you are missing the correct CODEC drivers.
Re: [gentoo-user] I have two sound cards - and no sound
On Fri, 10 Feb 2017 06:33:31 +, 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. pgprUfE2gspuo.pgp Description: OpenPGP digital signature
Re: [gentoo-user] I have two sound cards - and no sound
On Thursday 09 Feb 2017 22:19:24 the...@sys-concept.com wrote: > 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 0xfe40 irq 16 > 1 [NVidia ]: HDA-Intel - HDA NVidia > HDA NVidia at 0xfe08 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? 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 Description: This is a digitally signed message part.
[gentoo-user] I have two sound cards - and no sound
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 0xfe40 irq 16 1 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xfe08 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