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:
- open it.... snd_use_case_mgr_open(&uc_mgr,"SDP4430")
- reset it ....snd_use_case_mgr_reset(uc_mgr)
- query for my verb.... snd_use_case_get_list(uc_mgr,"_verbs",&mylist)
- set my verb ... snd_use_case_set(uc_mgr,"_verb",*mylist)
- set my created device... snd_use_case_set(uc_mgr,"_enadev","Headset.0")
- 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.
Liam