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