Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA and PULSEAUDIO ERROR
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
v4char
n00b
n00b


Joined: 11 May 2017
Posts: 11

PostPosted: Mon May 15, 2017 7:18 pm    Post subject: ALSA and PULSEAUDIO ERROR Reply with quote

Not work alsa and pulseaudio in gentoo, i used i3wm but in tty does't work too, i use a jack to conect de speakers.

Code:
linux ~ # uname -a
Linux linux 4.9.16-gentoo #4 SMP Mon May 8 02:01:42 CEST 2017 x86_64 Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz GenuineIntel GNU/Linux



Code:
linux ~ # lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aae0


Code:
linux ~ # aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
surround21:CARD=PCH
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
surround21:CARD=HDMI
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=HDMI
    4.0 Surround output to Front and Rear speakers
surround41:CARD=HDMI
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=HDMI
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=HDMI
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=HDMI
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers


Code:
v4char@linux ~ $ pulseaudio
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_01_00.1" card_name="alsa_card.pci-0000_01_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.


Code:
linux v4char # cat /proc/asound/card*/codec#0 | grep -i codec
Codec: Realtek ID 887
Codec: ATI ID aa01


Code:
linux v4char # cat /usr/src/linux/.config | grep SND
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_PCM_ELD=y
CONFIG_SND_DMAENGINE_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_COMPRESS_OFFLOAD=y
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_HRTIMER=y
CONFIG_SND_SEQ_HRTIMER_DEFAULT=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_RAWMIDI_SEQ=y
CONFIG_SND_OPL3_LIB_SEQ=m
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
CONFIG_SND_EMU10K1_SEQ=m
CONFIG_SND_MPU401_UART=y
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_DRIVERS=y
CONFIG_SND_PCSP=y
CONFIG_SND_DUMMY=y
CONFIG_SND_ALOOP=y
CONFIG_SND_VIRMIDI=y
CONFIG_SND_MTPAV=y
CONFIG_SND_SERIAL_U16550=y
CONFIG_SND_MPU401=y
# CONFIG_SND_AC97_POWER_SAVE is not set
CONFIG_SND_SB_COMMON=m
CONFIG_SND_PCI=y
CONFIG_SND_AD1889=m
CONFIG_SND_ALS300=m
CONFIG_SND_ALS4000=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ASIHPI=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
CONFIG_SND_AW2=m
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not set
CONFIG_SND_CA0106=m
CONFIG_SND_CMIPCI=m
CONFIG_SND_OXYGEN_LIB=m
CONFIG_SND_OXYGEN=m
CONFIG_SND_CS4281=m
CONFIG_SND_CS46XX=m
# CONFIG_SND_CS46XX_NEW_DSP is not set
CONFIG_SND_CTXFI=m
CONFIG_SND_DARLA20=m
CONFIG_SND_GINA20=m
CONFIG_SND_LAYLA20=m
CONFIG_SND_DARLA24=m
CONFIG_SND_GINA24=m
CONFIG_SND_LAYLA24=m
CONFIG_SND_MONA=m
CONFIG_SND_MIA=m
CONFIG_SND_ECHO3G=m
CONFIG_SND_INDIGO=m
CONFIG_SND_INDIGOIO=m
CONFIG_SND_INDIGODJ=m
CONFIG_SND_INDIGOIOX=m
CONFIG_SND_INDIGODJX=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_ENS1370=m
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
# CONFIG_SND_ES1968_INPUT is not set
CONFIG_SND_FM801=m
CONFIG_SND_HDSP=m
CONFIG_SND_HDSPM=m
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_KORG1212=m
CONFIG_SND_LOLA=m
CONFIG_SND_LX6464ES=m
CONFIG_SND_MAESTRO3=m
# CONFIG_SND_MAESTRO3_INPUT is not set
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_PCXHR=m
CONFIG_SND_RIPTIDE=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=m
CONFIG_SND_RME9652=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_TRIDENT=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VIRTUOSO=m
CONFIG_SND_VX222=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=0
# CONFIG_SND_HDA_PATCH_LOADER is not set
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=y
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_DSP_LOADER=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_EXT_CORE=y
CONFIG_SND_HDA_PREALLOC_SIZE=2048
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=y
CONFIG_SND_SOC_AC97_BUS=y
CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
CONFIG_SND_SOC_COMPRESS=y
CONFIG_SND_SOC_TOPOLOGY=y
CONFIG_SND_SOC_AMD_ACP=y
CONFIG_SND_ATMEL_SOC=y
# CONFIG_SND_SOC_FSL_ASRC is not set
# CONFIG_SND_SOC_FSL_SAI is not set
# CONFIG_SND_SOC_FSL_SSI is not set
# CONFIG_SND_SOC_FSL_SPDIF is not set
# CONFIG_SND_SOC_FSL_ESAI is not set
# CONFIG_SND_SOC_IMX_AUDMUX is not set
CONFIG_SND_SOC_IMG=y
CONFIG_SND_SOC_IMG_I2S_IN=y
CONFIG_SND_SOC_IMG_I2S_OUT=y
CONFIG_SND_SOC_IMG_PARALLEL_OUT=y
CONFIG_SND_SOC_IMG_SPDIF_IN=y
CONFIG_SND_SOC_IMG_SPDIF_OUT=y
CONFIG_SND_SOC_IMG_PISTACHIO_INTERNAL_DAC=y
CONFIG_SND_SST_MFLD_PLATFORM=y
CONFIG_SND_SST_IPC=y
CONFIG_SND_SST_IPC_ACPI=y
CONFIG_SND_SOC_INTEL_SST=y
CONFIG_SND_SOC_INTEL_SST_ACPI=y
CONFIG_SND_SOC_INTEL_SST_MATCH=y
CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH=y
CONFIG_SND_SOC_INTEL_BXT_RT298_MACH=y
CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=y
CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH=y
CONFIG_SND_SOC_INTEL_SKYLAKE=y
CONFIG_SND_SOC_INTEL_SKL_RT286_MACH=y
# CONFIG_SND_SOC_XTFPGA_I2S is not set
CONFIG_SND_SOC_I2C_AND_SPI=y
CONFIG_SND_SOC_AC97_CODEC=y
CONFIG_SND_SOC_ADAU1701=y
CONFIG_SND_SOC_ADAU7002=y
CONFIG_SND_SOC_AK4554=y
CONFIG_SND_SOC_AK4613=y
CONFIG_SND_SOC_AK4642=y
CONFIG_SND_SOC_AK5386=y
CONFIG_SND_SOC_ALC5623=y
CONFIG_SND_SOC_BT_SCO=y
CONFIG_SND_SOC_CS35L32=y
CONFIG_SND_SOC_CS35L33=y
CONFIG_SND_SOC_CS42L51=y
CONFIG_SND_SOC_CS42L51_I2C=y
CONFIG_SND_SOC_CS42L52=y
CONFIG_SND_SOC_CS42L56=y
CONFIG_SND_SOC_CS42L73=y
CONFIG_SND_SOC_CS4265=y
CONFIG_SND_SOC_CS4270=y
CONFIG_SND_SOC_CS4271=y
CONFIG_SND_SOC_CS4271_I2C=y
CONFIG_SND_SOC_CS42XX8=y
CONFIG_SND_SOC_CS42XX8_I2C=y
CONFIG_SND_SOC_CS4349=y
CONFIG_SND_SOC_CS53L30=y
CONFIG_SND_SOC_DA7219=y
CONFIG_SND_SOC_DMIC=y
CONFIG_SND_SOC_ES8328=y
CONFIG_SND_SOC_GTM601=y
CONFIG_SND_SOC_HDAC_HDMI=y
CONFIG_SND_SOC_INNO_RK3036=y
CONFIG_SND_SOC_MAX98357A=y
CONFIG_SND_SOC_MAX98504=y
CONFIG_SND_SOC_MAX9860=y
CONFIG_SND_SOC_PCM1681=y
CONFIG_SND_SOC_PCM179X=y
CONFIG_SND_SOC_PCM179X_I2C=y
CONFIG_SND_SOC_PCM3168A=y
CONFIG_SND_SOC_PCM3168A_I2C=y
CONFIG_SND_SOC_PCM512x=y
CONFIG_SND_SOC_PCM512x_I2C=y
CONFIG_SND_SOC_RL6231=y
CONFIG_SND_SOC_RL6347A=y
CONFIG_SND_SOC_RT286=y
CONFIG_SND_SOC_RT298=y
CONFIG_SND_SOC_RT5616=y
CONFIG_SND_SOC_RT5631=y
CONFIG_SND_SOC_RT5640=y
CONFIG_SND_SOC_RT5651=y
CONFIG_SND_SOC_RT5663=y
# CONFIG_SND_SOC_RT5677_SPI is not set
CONFIG_SND_SOC_SGTL5000=y
CONFIG_SND_SOC_SIGMADSP=y
CONFIG_SND_SOC_SIGMADSP_I2C=y
CONFIG_SND_SOC_SIRF_AUDIO_CODEC=y
CONFIG_SND_SOC_SPDIF=y
CONFIG_SND_SOC_SSM2602=y
CONFIG_SND_SOC_SSM2602_I2C=y
CONFIG_SND_SOC_SSM4567=y
CONFIG_SND_SOC_STA32X=y
CONFIG_SND_SOC_STA350=y
CONFIG_SND_SOC_STI_SAS=y
CONFIG_SND_SOC_TAS2552=y
CONFIG_SND_SOC_TAS5086=y
CONFIG_SND_SOC_TAS571X=y
CONFIG_SND_SOC_TAS5720=y
CONFIG_SND_SOC_TFA9879=y
CONFIG_SND_SOC_TLV320AIC23=y
CONFIG_SND_SOC_TLV320AIC23_I2C=y
CONFIG_SND_SOC_TLV320AIC31XX=y
CONFIG_SND_SOC_TLV320AIC3X=y
CONFIG_SND_SOC_TS3A227E=y
CONFIG_SND_SOC_WM8510=y
CONFIG_SND_SOC_WM8523=y
CONFIG_SND_SOC_WM8580=y
CONFIG_SND_SOC_WM8711=y
CONFIG_SND_SOC_WM8728=y
CONFIG_SND_SOC_WM8731=y
CONFIG_SND_SOC_WM8737=y
CONFIG_SND_SOC_WM8741=y
CONFIG_SND_SOC_WM8750=y
CONFIG_SND_SOC_WM8753=y
CONFIG_SND_SOC_WM8776=y
CONFIG_SND_SOC_WM8804=y
CONFIG_SND_SOC_WM8804_I2C=y
CONFIG_SND_SOC_WM8903=y
CONFIG_SND_SOC_WM8960=y
CONFIG_SND_SOC_WM8962=y
CONFIG_SND_SOC_WM8974=y
CONFIG_SND_SOC_WM8978=y
CONFIG_SND_SOC_WM8985=y
CONFIG_SND_SOC_NAU8810=y
CONFIG_SND_SOC_TPA6130A2=y
CONFIG_SND_SIMPLE_CARD_UTILS=y
CONFIG_SND_SIMPLE_CARD=y
Back to top
View user's profile Send private message
Hieronymus Bosch
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2015
Posts: 83
Location: 31°45′33.14″N 106°29′24.63″W

PostPosted: Thu May 18, 2017 1:12 am    Post subject: Reply with quote

Try in the kernel configuration under:

Code:

Device Drivers --->
     Sound Card Support --->
            Advanced Linux Sound Architecture --->
                     HD-AUDIO --->
                          Select something related to Realtek


_________________
Details fueled any investigation ...
Back to top
View user's profile Send private message
v4char
n00b
n00b


Joined: 11 May 2017
Posts: 11

PostPosted: Thu May 18, 2017 6:41 am    Post subject: Reply with quote

Yes, i tried, this is my kernel config:
Code:

<*> Sound card support  --->
   [*]   Preclaim OSS device numbers
   <*>   Advanced Linux Sound Architecture  --->
<*>   Sequencer support
                   <*>     Sequencer dummy client
                   <M>   OSS Mixer API     
                   <M>   OSS PCM (digital audio) API   
                   [*]     OSS PCM (digital audio) API - Include plugin system
                   [ ]   OSS Sequencer API
                   <M>   HR-timer backend support
                   [ ]     Use HR-timer as default sequencer timer
                   [ ]   Dynamic device file minor numbers
                   [ ]   Support old ALSA API
                   -*-   Sound Proc FS Support
                   [ ]     Verbose procfs contents     
                   [ ]   Verbose printk
                   [ ]   Debug 
                   [*]   Generic sound devices  --->   
                   [*]   PCI sound devices  --->
                         HD-Audio  --->
                                  [*] Build hwdep interface for HD-audio driver
                                  [ ] Allow dynamic codec reconfiguration
                                  [ ] Support digital beep via input layer 
                                  [ ] Support initialization patch loading for HD-audio
                                  <*> Build Realtek HD-audio codec support
                                  < > Build Analog Device HD-audio codec support
                                  < > Build IDT/Sigmatel HD-audio codec support 
                                  < > Build VIA HD-audio codec support 
                                  <M> Build HDMI/DisplayPort HD-audio codec support 
                                  *** Set to Y if you want auto-loading the codec driver ***
                                  < > Build Cirrus Logic codec support   
                                  < > Build Conexant HD-audio codec support
                                  < > Build Creative CA0110-IBG codec support 
                                  < > Build Creative CA0132 codec support
                                  < > Build C-Media HD-audio codec support 
                                  < > Build Silicon Labs 3054 HD-modem codec support
                                  -*- Enable generic HD-audio codec parser
                                  (3) Default time-out for HD-audio power-save mode 
                   (2048) Pre-allocated buffer size for HD-audio driver   
                   [ ]   USB sound devices  ----
                   [ ]   PCMCIA sound devices  ----     
                   <M>   ALSA for SoC audio support  --->



And this is my make.conf:
Code:
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
USE="bindist glamor xinerama 256-color blink fading-colors iso14755 \
     pixbuf unicode3 xft mmx sse libav X aqua alsa xinelib a52 aac v4l vcd vorbis win32codecs xcb xinerama xv ogg"
CPU_FLAGS_X86="mmx sse sse2 mmxext"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
MAKEOPTS="-j4"
ALSA_CARDS="snd_hda_intel"
GENTOO_MIRRORS="http://gentoo-euetib.upc.es/mirror/gentoo/ ftp://lug.mtu.edu/gentoo/ http://lug.mtu.edu/gentoo/"
VIDEO_CARDS="amdgpu radeonsi"
Back to top
View user's profile Send private message
Hieronymus Bosch
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2015
Posts: 83
Location: 31°45′33.14″N 106°29′24.63″W

PostPosted: Thu May 18, 2017 7:21 am    Post subject: Reply with quote

We have a similar kernel configuration:

Code:


                                            <*> HD Audio PCI                                                                                                   
                                            [*] Build hwdep interface for HD-audio driver                                                                     
                                            [ ] Allow dynamic codec reconfiguration                                                                           
                                            [ ] Support digital beep via input layer                                                                             
                                            [ ] Support initialization patch loading for HD-audio                                                             
                                            <*> Build Realtek HD-audio codec support                                                                             
                                            <*> Build Analog Device HD-audio codec support                                                                     
                                            < > Build IDT/Sigmatel HD-audio codec support                                                                     
                                            < > Build VIA HD-audio codec support                                                                               
                                            <*> Build HDMI/DisplayPort HD-audio codec support                                                                 
                                            < > Build Cirrus Logic codec support                                                                                 
                                            < > Build Conexant HD-audio codec support                                                                         
                                            < > Build Creative CA0110-IBG codec support                                                                       
                                            < > Build Creative CA0132 codec support                                                                           
                                            < > Build C-Media HD-audio codec support                                                                           
                                            < > Build Silicon Labs 3054 HD-modem codec support                                                                 
                                            -*- Enable generic HD-audio codec parser                                                                           
                                            (0) Default time-out for HD-audio power-save mode



In the make.conf file I did not add the ALSA_CARDS. However, the snd_hda_intel is the kernel drive that I use:

Code:

sudo lspci -k

...
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
   Subsystem: Dell 7 Series/C210 Series Chipset Family High Definition Audio Controller
   Kernel driver in use: snd_hda_intel
....

_________________
Details fueled any investigation ...
Back to top
View user's profile Send private message
v4char
n00b
n00b


Joined: 11 May 2017
Posts: 11

PostPosted: Thu May 18, 2017 4:48 pm    Post subject: Reply with quote

I tried, but not work can u put your /etc/modprobe.d/alsa.conf?
when i use alsamixer print this
Code:
┌───────────────────── AlsaMixer v1.1.2 ──────────────────────┐
│ Card: HDA Intel PCH                 F1:  Help               │
│ Chip:                               F2:  System information │
│ View:                               F6:  Select sound card  │
│ Item:                               Esc: Exit               │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│        This sound device does not have any controls.        │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
│                                                             │
└─────────────────────────────────────────────────────────────┘

Hieronymus Bosch wrote:
We have a similar kernel configuration:

Code:


                                            <*> HD Audio PCI                                                                                                   
                                            [*] Build hwdep interface for HD-audio driver                                                                     
                                            [ ] Allow dynamic codec reconfiguration                                                                           
                                            [ ] Support digital beep via input layer                                                                             
                                            [ ] Support initialization patch loading for HD-audio                                                             
                                            <*> Build Realtek HD-audio codec support                                                                             
                                            <*> Build Analog Device HD-audio codec support                                                                     
                                            < > Build IDT/Sigmatel HD-audio codec support                                                                     
                                            < > Build VIA HD-audio codec support                                                                               
                                            <*> Build HDMI/DisplayPort HD-audio codec support                                                                 
                                            < > Build Cirrus Logic codec support                                                                                 
                                            < > Build Conexant HD-audio codec support                                                                         
                                            < > Build Creative CA0110-IBG codec support                                                                       
                                            < > Build Creative CA0132 codec support                                                                           
                                            < > Build C-Media HD-audio codec support                                                                           
                                            < > Build Silicon Labs 3054 HD-modem codec support                                                                 
                                            -*- Enable generic HD-audio codec parser                                                                           
                                            (0) Default time-out for HD-audio power-save mode



In the make.conf file I did not add the ALSA_CARDS. However, the snd_hda_intel is the kernel drive that I use:

Code:

sudo lspci -k

...
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
   Subsystem: Dell 7 Series/C210 Series Chipset Family High Definition Audio Controller
   Kernel driver in use: snd_hda_intel
....
Back to top
View user's profile Send private message
Hieronymus Bosch
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2015
Posts: 83
Location: 31°45′33.14″N 106°29′24.63″W

PostPosted: Thu May 18, 2017 4:54 pm    Post subject: Reply with quote

Sure, here is my alsa.conf

Code:


# Alsa kernel modules' configuration file.

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1



_________________
Details fueled any investigation ...
Back to top
View user's profile Send private message
v4char
n00b
n00b


Joined: 11 May 2017
Posts: 11

PostPosted: Thu May 18, 2017 5:11 pm    Post subject: Reply with quote

Thanks but in my computer not work
u use pulseaudio or only alsa?
Code:
linux v4char # lspci -k
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
   Subsystem: Micro-Star International Co., Ltd. [MSI] 6 Series/C200 Series Chipset Family High Definition Audio Controller
   Kernel driver in use: snd_hda_intel

Hieronymus Bosch wrote:
Sure, here is my alsa.conf

Code:


# Alsa kernel modules' configuration file.

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1


Back to top
View user's profile Send private message
Hieronymus Bosch
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2015
Posts: 83
Location: 31°45′33.14″N 106°29′24.63″W

PostPosted: Thu May 18, 2017 5:12 pm    Post subject: Reply with quote

When you type alsamixer and the select F6, What options it displays?
_________________
Details fueled any investigation ...
Back to top
View user's profile Send private message
v4char
n00b
n00b


Joined: 11 May 2017
Posts: 11

PostPosted: Thu May 18, 2017 5:20 pm    Post subject: Reply with quote

this
Code:
┌───────────────────────── AlsaMixer v1.1.2 ──────────────────────────┐
│ Card: HDA Intel PCH                         F1:  Help               │
│ Chip:                                       F2:  System information │
│ View: F3: Playback  F4: Capture  F5: All    F6:  Select sound card  │
│ Item:                                       Esc: Exit               │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│            This sound device does not have any controls.            │
│                      ┌───── Sound Card ──────┐                      │
│                      │-  (default)           │                      │
│                      │0  HDA Intel PCH       │                      │
│                      │1  HDA ATI HDMI        │                      │
│                      │   enter device name...│                      │
│                      └───────────────────────┘                      │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
│                                                                     │
└─────────────────────────────────────────────────────────────────────┘

Hieronymus Bosch wrote:
When you type alsamixer and the select F6, What options it displays?
Back to top
View user's profile Send private message
Hieronymus Bosch
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2015
Posts: 83
Location: 31°45′33.14″N 106°29′24.63″W

PostPosted: Thu May 18, 2017 5:22 pm    Post subject: Reply with quote

When you select any options, it appears something similar like vertical bars ?
_________________
Details fueled any investigation ...
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu May 18, 2017 5:25 pm    Post subject: Reply with quote

amixer output is comprehensive, covers all devices and is easy to paste.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
v4char
n00b
n00b


Joined: 11 May 2017
Posts: 11

PostPosted: Thu May 18, 2017 5:27 pm    Post subject: Reply with quote

No, only when i change the card print "This sound device does not have any controls." in the two cards
Back to top
View user's profile Send private message
v4char
n00b
n00b


Joined: 11 May 2017
Posts: 11

PostPosted: Thu May 18, 2017 5:31 pm    Post subject: Reply with quote

Amixer output nothing
Jaglover wrote:
amixer output is comprehensive, covers all devices and is easy to paste.
Back to top
View user's profile Send private message
v4char
n00b
n00b


Joined: 11 May 2017
Posts: 11

PostPosted: Thu May 18, 2017 5:44 pm    Post subject: Reply with quote

I think the error is that the modules dont load when i use modprobe
Code:
linux v4char #  find /lib/modules/4.9.16-gentoo/ -name '*.ko'
/lib/modules/4.9.16-gentoo/kernel/net/ipv6/netfilter/nf_log_ipv6.ko
/lib/modules/4.9.16-gentoo/kernel/net/ipv4/netfilter/nf_log_ipv4.ko
/lib/modules/4.9.16-gentoo/kernel/net/ipv4/netfilter/nf_log_arp.ko
/lib/modules/4.9.16-gentoo/kernel/net/ipv4/netfilter/ipt_MASQUERADE.ko
/lib/modules/4.9.16-gentoo/kernel/net/ipv4/netfilter/nf_nat_masquerade_ipv4.ko
/lib/modules/4.9.16-gentoo/kernel/net/ipv4/netfilter/iptable_nat.ko
/lib/modules/4.9.16-gentoo/kernel/net/ipv4/netfilter/nf_nat_ipv4.ko
/lib/modules/4.9.16-gentoo/kernel/net/netfilter/nf_nat_sip.ko
/lib/modules/4.9.16-gentoo/kernel/net/netfilter/nf_log_common.ko
/lib/modules/4.9.16-gentoo/kernel/net/netfilter/nf_nat_ftp.ko
/lib/modules/4.9.16-gentoo/kernel/net/netfilter/xt_mark.ko
/lib/modules/4.9.16-gentoo/kernel/net/netfilter/xt_nat.ko
/lib/modules/4.9.16-gentoo/kernel/net/netfilter/xt_addrtype.ko
/lib/modules/4.9.16-gentoo/kernel/net/netfilter/nf_nat.ko
/lib/modules/4.9.16-gentoo/kernel/net/netfilter/nf_nat_irc.ko
/lib/modules/4.9.16-gentoo/kernel/net/netfilter/xt_LOG.ko
/lib/modules/4.9.16-gentoo/kernel/drivers/net/ethernet/realtek/r8169.ko
/lib/modules/4.9.16-gentoo/kernel/drivers/thermal/x86_pkg_temp_thermal.ko
/lib/modules/4.9.16-gentoo/kernel/drivers/base/regmap/regmap-mmio.ko
/lib/modules/4.9.16-gentoo/kernel/sound/drivers/snd-aloop.ko
/lib/modules/4.9.16-gentoo/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/4.9.16-gentoo/kernel/sound/pci/ac97/snd-ac97-codec.ko
/lib/modules/4.9.16-gentoo/kernel/sound/pci/snd-intel8x0m.ko
/lib/modules/4.9.16-gentoo/kernel/sound/ac97_bus.ko
/lib/modules/4.9.16-gentoo/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/4.9.16-gentoo/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/4.9.16-gentoo/kernel/sound/core/snd-hrtimer.ko
/lib/modules/4.9.16-gentoo/kernel/sound/core/snd-pcm-dmaengine.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/snd-soc-core.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/codecs/snd-soc-ac97.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/codecs/snd-soc-spdif-rx.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/codecs/snd-soc-spdif-tx.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/codecs/snd-soc-rt5631.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/amd/snd-soc-acp-pcm.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/fsl/snd-soc-fsl-sai.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/fsl/snd-soc-fsl-esai.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/fsl/snd-soc-fsl-asrc.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/fsl/snd-soc-imx-audmux.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/fsl/snd-soc-fsl-ssi.ko
/lib/modules/4.9.16-gentoo/kernel/sound/soc/fsl/snd-soc-fsl-spdif.ko
/lib/modules/4.9.16-gentoo/kernel/fs/efivarfs/efivarfs.ko
/lib/modules/4.9.16-gentoo/kernel/fs/fuse/cuse.ko
/lib/modules/4.9.16-gentoo/kernel/fs/fuse/fuse.ko
/lib/modules/4.9.16-gentoo/misc/vboxnetadp.ko
/lib/modules/4.9.16-gentoo/misc/vboxdrv.ko
/lib/modules/4.9.16-gentoo/misc/vboxnetflt.ko
/lib/modules/4.9.16-gentoo/misc/vboxpci.ko

Code:
linux v4char # modprobe -v snd-hda-intel
linux v4char # lsmod
Module                  Size  Used by
vboxpci                14254  0
vboxnetadp             18438  0
vboxnetflt             16644  0
vboxdrv               353339  3 vboxnetadp,vboxnetflt,vboxpci
r8169                  67603  0
x86_pkg_temp_thermal     5445  0
linux v4char #
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu May 18, 2017 5:52 pm    Post subject: Reply with quote

They won't show up in lsmod if they are built in <*>. You can see if the driver is loaded in lspci -k output.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
v4char
n00b
n00b


Joined: 11 May 2017
Posts: 11

PostPosted: Thu May 18, 2017 6:10 pm    Post subject: Reply with quote

I have the speakers connected to the motherboard using jack.
Does this influence?
And in the syslog put this
Code:
May 18 19:08:26 linux kernel: [    1.249179] hdaudio hdaudioC1D0: Unable to bind the codec
May 18 19:21:47 linux kernel: [    1.319976] hdaudio hdaudioC0D0: Unable to bind the codec
May 18 19:21:47 linux kernel: [    1.323476] hdaudio hdaudioC1D0: Unable to bind the codec
May 18 20:18:46 linux kernel: [    1.297065] hdaudio hdaudioC1D0: Unable to bind the codec
May 18 20:18:46 linux kernel: [    1.304491] hdaudio hdaudioC0D0: Unable to bind the codec
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum