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

Ran Shalit ranshalit at gmail.com
Sat Sep 12 19:03:17 CEST 2015


On Fri, Sep 11, 2015 at 9:42 AM, Clemens Ladisch
<cladisch at googlemail.com> wrote:
> Ran Shalit wrote:
>> asoc: failed to add dapm kcontrol Right HPCOM Mixer Line2L Bypass Switch: -16
>> asoc: failed to add kcontrol Right Line2R Mux
>> ...
>> What is the reason for the "asoc: failed to add dapm kcontrol" and the
>> " 'control ... already present" messeges ?
>
> That there are two controls with the same name and index.
>
>> If I move each to be registered to its own card will it resolve this issue ?
>
> Probably, but a better idea might be to set index=1 for all controls of the
> second codec.  I don't know how ASoC handles this; ask on the alsa-devel
> list.
>
>
> Regards,
> Clemens

Hi Clemens,

Can you please add how to set index=1 to second codec ?

Thank you,
Ran


More information about the Alsa-devel mailing list