[alsa-devel] ALSA UCM

Liam Girdwood lrg at slimlogic.co.uk
Thu Nov 4 11:09:09 CET 2010

On Wed, 2010-11-03 at 14:38 -0600, abraham duenas wrote:
> Hello,
> I recently cloned:
> git clone git://git.alsa-project.org/alsa-lib.git alsa-lib
> git clone git://git.alsa-project.org/alsa-utils.git alsa-utils
> and switched to the "ucm" branch to give it try. I have a panda board
> (pandaboard.org it is just a TI OMAP4 platform).

Ok, this is the correct repository.

> I created some configuration files for my card. My conf file is
> 'SDP4430.conf' and my verb is on 'hifi'.
> I came with a simple program to set my verb and configure it for a
> simple device. I'm calling this sequence:
> 1. open it.... snd_use_case_mgr_open(&uc_mgr,"SDP4430")
> 2. reset it ....snd_use_case_mgr_reset(uc_mgr)
> 3. query for my verb.... snd_use_case_get_list(uc_mgr,"_verbs",&mylist)
> 4. set my verb ... snd_use_case_set(uc_mgr,"_verb",*mylist)
> 5. set my created device... snd_use_case_set(uc_mgr,"_enadev","Headset.0")
> 6. close it... snd_use_case_mgr_close(uc_mgr)
> Seems to work ok (without any errors) but I can't see any of my amixer
> controls set/changed accordingly to my verb/device.
> Is this a right sequence to follow? may be my files are not well written?

This sequence looks correct. Can you share with us the relevant parts of
your configuration files. 

Jaroslav did make some changes to the config file format so maybe we
have a formatting problem here.


Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.

More information about the Alsa-devel mailing list