[alsa-devel] 'control ... is already present' message

Ran Shalit ranshalit at gmail.com
Fri Sep 11 08:48:37 CEST 2015


Hello,

I'm using 2 codecs (tlv320aic3x-codec)  each which both are registered
into same sound card, each as a single device.
After boot I have the following devices:

root at dm814x:~# cat /proc/asound/devices
  0: [ 0]   : control
 16: [ 0- 0]: digital audio playback
 17: [ 0- 1]: digital audio playback
 24: [ 0- 0]: digital audio capture
 25: [ 0- 1]: digital audio capture

But I get the following error messeges during boot:
usbcore: registered new interface driver snd-usb-audio
Registered tvp5158 audio codec
PM: Adding info for platform:soc-audio.0
PM: Adding info for No Bus:TLV320AIC3X_2
asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
snd_soc_instantiate_card 7
tlv320aic3x-codec 2-0019: tlv320aic3x-codec.2-0019: Failed to add PCM
Playback Volume: -16
asoc: failed to add dapm kcontrol Right HPCOM Mixer Line2L Bypass Switch: -16
asoc: failed to add dapm kcontrol Left HPCOM Mixer Line2L Bypass Switch: -16
asoc: failed to add dapm kcontrol Right HP Mixer Line2L Bypass Switch: -16
asoc: failed to add dapm kcontrol Left HP Mixer Line2L Bypass Switch: -16
asoc: failed to add dapm kcontrol Mono Mixer Line2L Bypass Switch: -16
asoc: failed to add dapm kcontrol Right Line Mixer Line2L Bypass Switch: -16
asoc: failed to add dapm kcontrol Left Line Mixer Line2L Bypass Switch: -16
asoc: failed to add kcontrol Right Line2R Mux
asoc: failed to add kcontrol Right Line1R Mux
asoc: failed to add kcontrol Right Line1L Mux
asoc: failed to add dapm kcontrol Right PGA Mixer Line1R Switch: -16
asoc: failed to add kcontrol Left Line2L Mux
asoc: failed to add kcontrol Left Line1R Mux
asoc: failed to add kcontrol Left Line1L Mux
asoc: failed to add dapm kcontrol Left PGA Mixer Line1L Switch: -16
asoc: failed to add kcontrol Right HPCOM Mux
asoc: failed to add kcontrol Right DAC Mux
asoc: failed to add kcontrol Left HPCOM Mux
asoc: failed to add kcontrol Left DAC Mux
PM: Adding info for No Bus:TLV320AIC3X_3
asoc: tlv320aic3x-hifi <-> davinci-mcasp.3 mapping ok
PM: Adding info for No Bus:card0
PM: Adding info for No Bus:pcmC0D1p
PM: Adding info for No Bus:pcmC0D1c
PM: Adding info for No Bus:pcmC0D0p
PM: Adding info for No Bus:pcmC0D0c
PM: Adding info for No Bus:controlC0
ALSA device list:
  #0: TI81XX SOUND0

What is the reason for the "asoc: failed to add dapm kcontrol" and the
" 'control ... already present" messeges ?
Is it becuase both codec are registered on same card (single card) ?

1. If I move each to be registered to its own card,  will it resolve
this issue ?

2. Should the following patch resolve this issue:
http://mailman.alsa-project.org/pipermail/alsa-devel/2010-November/033593.html

Regards,
Ran


More information about the Alsa-devel mailing list