From: Takashi Iwai Subject: Re: Names for ALSA controls Date: Thu, 12 Jun 2008 12:29:07 +0200 Message-ID: References: <200806121158.20112.jbe@pengutronix.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 5D08A249A2 for ; Thu, 12 Jun 2008 12:29:08 +0200 (CEST) In-Reply-To: <200806121158.20112.jbe@pengutronix.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Juergen Beisert Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 12 Jun 2008 11:58:19 +0200, Juergen Beisert wrote: > > Hi, > > when I register these mixer controls: > > Line Playback Switch > Line Playback Route > Mono Playback Switch > Mono Playback Route > Phone Playback Switch > Phone Playback Route > Headphone Playback Switch > Headphone Playback Route > PCM Playback Switch > PCM Playback Volume > Line Bypass Capture Switch > Line Bypass Capture Volume > ADC Capture Route > > Running "alsamixer" fails with: > > ALSA lib simple_none.c:1218:(simple_add1) helem (MIXER,'Headphone Playback Switch',0,0,0) appears twice or more > > It seems there are restrictions what kind of control name I can use for each > control, but what restrictions? Are there better names for my output > amplifiers? Each of it I can enable/disable (-> Switch) and select a source > (-> Route) independently. You can use "xxx Source" instead of "xxx Route", I guess, as a workaround. Takashi