[alsa-devel] namehint: Evaluate more possibilities for hw devices

Jaroslav Kysela perex at perex.cz
Fri Oct 1 17:04:26 CEST 2010


On Fri, 1 Oct 2010, Stas Sergeev wrote:

> Sorry for bothering you again, but I think
> even now it is not all that good. :)
>
> ---
> $ aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM]
>  Subdevices: 8/8
>  Subdevice #0: subdevice #0
>  Subdevice #1: subdevice #1
>  Subdevice #2: subdevice #2
>  Subdevice #3: subdevice #3
>  Subdevice #4: subdevice #4
>  Subdevice #5: subdevice #5
>  Subdevice #6: subdevice #6
>  Subdevice #7: subdevice #7
> card 2: STx7100 [STx7109 audio subsystem], device 0:  [PCM player #0 (HDMI)]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 2: STx7100 [STx7109 audio subsystem], device 1:  [PCM player #1]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 2: STx7100 [STx7109 audio subsystem], device 2:  [SPDIF player (HDMI)]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
>
> $ aplay -L
> null
>    Discard all samples (playback) or generate zero samples (capture)
> default:CARD=Dummy
>    Dummy, Dummy PCM
>    Default Audio Device
> default:CARD=STx7100
>    STx7109 audio subsystem, PCM player #0 (HDMI)
>    Default Audio Device

The Dummy and STx7109 devices does not have appropriate configuration 
files in /usr/share/alsa/cards tree and namehint does not list hw: like 
devices by default. Use "defaults.namehint.showall=1" in your 
configuration file (~/.asoundrc).

 					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list