Tue, 6 Oct 2009, Clemens Ladisch wrote:
Jaroslav Kysela wrote:
On Tue, 6 Oct 2009, Clemens Ladisch wrote:
amixer utility should handle such controls without problems.
Yes, it should. I haven't yet found where the hctl functions break it.
It does not work with amixer? The interface type should be specified, but all controls should be visible through hctl interface. Something like:
amixer cset iface=PCM,name="some name",index=1 33
iface=PCM,name="PCM Playback Volume",subdevice=xxx always results in the control for subdevice 1.
Oops. The snd_hctl_compare_default() routine is broken for iface != MIXER. The device and subdevice values should be compared as well to get correct result in _snd_hctl_find_elem(). I'll prepare a fix ASAP.
Thanks for info, Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.