[alsa-devel] list *all* PCMs

David Henningsson david.henningsson at canonical.com
Wed Feb 9 11:14:08 CET 2011

On 2011-02-08 20:25, Aleksandar Kostadinov wrote:
> Hello,
> I searched through the list archive and I can't find a way to list all
> PCM devices. aplay/arecord -L show only these that have hint show on.
> Is there such command that lists all PCMs?

The hw: and plughw: devices do not show up by default, which is why 
Ubuntu has a distro patch that turns them on. I'm attaching that patch.

> While on it, it is also hard to obtain a list of capabilities of a
> device. For example I don't see a way user can obtain the supported
> sample rates by a sound device. I have found a program (see it
> attached to http://www.spinics.net/linux/fedora/alsa-user/msg07230.html)
> that seems to work fine. Could that program or similar functionality
> be implemented in arecord/aplay so user can easily check device
> capabilities?
> Thank you,
> Aleksandar
> P.S. please cc me in replies because I'm not a subscriber

P.S. please subscribe, so we don't have to cc you. ;-)

David Henningsson, Canonical Ltd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lp652035-use-extended-namehints.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20110209/c69bf67d/attachment-0001.patch 

More information about the Alsa-devel mailing list