From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: ALSA UCM Date: Fri, 12 Nov 2010 16:42:20 +0000 Message-ID: <1289580140.3480.117.camel@odin> References: <1288865349.3277.14.camel@odin> <1288890598.3277.81.camel@odin> <1288896461.3277.98.camel@odin> <1288897628.3277.99.camel@odin> <1289046396.3318.53.camel@odin> <1289576480.3480.101.camel@odin> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wy0-f179.google.com (mail-wy0-f179.google.com [74.125.82.179]) by alsa0.perex.cz (Postfix) with ESMTP id 7216F10397A for ; Fri, 12 Nov 2010 17:42:23 +0100 (CET) Received: by wyg36 with SMTP id 36so1233397wyg.38 for ; Fri, 12 Nov 2010 08:42:23 -0800 (PST) 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 Fri, 2010-11-12 at 17:25 +0100, Jaroslav Kysela wrote: > On Fri, 12 Nov 2010, Liam Girdwood wrote: > > > On Wed, 2010-11-10 at 16:11 +0100, Jaroslav Kysela wrote: > >> On Tue, 9 Nov 2010, abraham duenas wrote: > >> > > > >>> I'm getting the expected error ONLY for the last element: listed in > >>> the EnableSequence field: > >>> e.g: > >>> ALSA lib main.c:137:(execute_sequence) cset not yet implemented: > >>> 'name='DL2 Media Playback Volume' 90' > >>> ALSA lib main.c:137:(execute_sequence) cset not yet implemented: > >>> 'name='MUX_UL10' 10' > >>> > >>> i'll keep on digging as time permits :) > >> > >> I fixed the sequence parser. It should work now ok. So the only missing > >> part is to add the 'snd_ctl_*' backend for cset commands. The parsing > >> functions for ctl strings are available in my ucm branch now: > > > > Is it the intention to reuse the cset functionality from amixer here ? > > Yes, basically to avoid double ASCII syntax for same thing. I expect that > the amixer will be recoded to use parser functions implemented in > alsa-lib. Ok, so with any luck this will mostly involve copy and pasting the cset code from amixer and alsa-lib. Thanks Liam