From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: ALSA UCM Date: Thu, 04 Nov 2010 19:07:08 +0000 Message-ID: <1288897628.3277.99.camel@odin> References: <1288865349.3277.14.camel@odin> <1288890598.3277.81.camel@odin> <1288896461.3277.98.camel@odin> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ey0-f179.google.com (mail-ey0-f179.google.com [209.85.215.179]) by alsa0.perex.cz (Postfix) with ESMTP id CE9442442A for ; Thu, 4 Nov 2010 20:07:11 +0100 (CET) Received: by eyg24 with SMTP id 24so1224948eyg.38 for ; Thu, 04 Nov 2010 12:07:11 -0700 (PDT) In-Reply-To: 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: Jaroslav Kysela Cc: alsa-devel@alsa-project.org, abraham duenas , broonie@opensource.wolfsonmicro.com List-Id: alsa-devel@alsa-project.org On Thu, 2010-11-04 at 19:52 +0100, Jaroslav Kysela wrote: > On Thu, 4 Nov 2010, Liam Girdwood wrote: > > > On Thu, 2010-11-04 at 19:34 +0100, Jaroslav Kysela wrote: > >> On Thu, 4 Nov 2010, Liam Girdwood wrote: > >> > >>>> Value { > >>>> MasterPlaybackVolume "name='Headset Playback Volume' 1" > >>>> MasterCaptureVolume "name='Capture Volume' 1" > >> > >> What does mean '1'? If you like to define element id index, use: > >> > > > > Ah, that looks a conversion bug from Abrahams old file format to his new > > format. I guess it caught out the parser too here. > > > > Abraham, could you check over your configuration files and send a patch > > for the parser that spits an error out here. > > > >> MasterPlaybackVolume "name='Headset Playback Volume',index=1" > > > > My preference is not to use the ID since it can sometimes change with > > driver updates. The names are pretty constant though. > > You probably mean unique numid for each control? Index is just an index > for the ASCII name to distinguish controls with same name (I think that > you had a syntax name:index in the original code). I do indeed :) Thanks Liam -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk