Tue, 6 Oct 2009, Jaroslav Kysela wrote: > 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. The fix in in alsa-lib GIT tree now. http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=0110d62043589f0e3344d7af7ed33ac52da6b596 Jaroslav ----- Jaroslav Kysela <perex@xxxxxxxx> Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel