[alsa-devel] Problem opening default device in haswell system using aplay

Takashi Iwai tiwai at suse.de
Mon May 27 09:07:47 CEST 2013


At Wed, 22 May 2013 16:48:58 +0100,
Stefano Panella wrote:
> 
> Hi everyone,
> 
> sorry if this email has been sent twice... ( I sent it once before subscribing)
> 
> I am working on some haswell systems running Ubuntu 12.04 and I have a problem if I run aplay -D sysdefault.
> 
> when I do:
> 
> cat /proc/asound/pcm
> 
> I get:
> 
> 00-03: HDMI 0 : HDMI 0 : playback 1
> 00-07: HDMI 1 : HDMI 1 : playback 1
> 00-08: HDMI 2 : HDMI 2 : playback 1
> 01-00: ALC662 rev3 Analog : ALC662 rev3 Analog : playback 1 : capture 1
> 01-02: ALC662 rev3 Analog : ALC662 rev3 Analog : capture 1
> 
> If I do:
> 
> aplay -L | grep sysdefault
> 
> I get:
> 
> sysdefault:CARD=PCH
> 
> where PCH is card number 1 (id = 1)
> 
> on most of my systems (non haswell laptops) the default card is number 0
> 
> If I run
> 
> aplay -D sysdefault
> 
> I get:
> 
> ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
> aplay: main:682: audio open error: No such file or directory

It's because the card 0 contains only HDMI.  The sysdefault in
HDA-Intel.conf is configured for the analog I/O.


Takashi


More information about the Alsa-devel mailing list