On Fri, 1 Oct 2010, Stas Sergeev wrote:
01.10.2010 16:08, Jaroslav Kysela wrote: This patch should definitely fix it:
http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=c049d48407ff0459 ff15e466edeeee6ecff67fcd
Much better now, thanks! I still have an issue though. If the device registers only the playback substreams and no record substreams, it is still not listed. To reproduce, set the "capture_count" param of snd_pcm_new() to 0 in dummy.c, and then it disappears from the list, as follows:
Try upgrade alsa-utils (aplay). Appearenly, the bug is there (at least on my system the latest aplay lists devices correctly, but aplay 1.0.18 is buggy).
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.