[alsa-devel] list *all* PCMs

Raymond Yau superquad.vortex2 at gmail.com
Thu Feb 10 05:36:50 CET 2011


2011/2/9 David Henningsson <david.henningsson at canonical.com>

> 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.



"defaults.namehint.extended on" also expose another bug of namehint which
show "dsnoop" in "aplay -L" and "dmix" in "arecord -L"


dsnoop:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
    HDA Intel, AD198x Digital
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=2
    HDA Intel, AD198x Headphone
    Direct sample snooping device


More information about the Alsa-devel mailing list