From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0D87413838B for ; Sat, 20 Sep 2014 13:18:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FCFAE084E; Sat, 20 Sep 2014 13:18:17 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 74B96E0817 for ; Sat, 20 Sep 2014 13:18:16 +0000 (UTC) Received: from localhost ([141.24.17.110]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MaE4a-1XkeVy3XWS-00JrKA for ; Sat, 20 Sep 2014 15:18:14 +0200 Date: Sat, 20 Sep 2014 15:18:13 +0200 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] alsa: missing default device Message-ID: <20140920131813.GA3798@kern.lan> Mail-Followup-To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline User-Agent: Mutt 1.5.22 (2013-10-16, Gentoo 1.5.22-r3) X-Provags-ID: V03:K0:WcaFohTSUHT1UhpJWnSTln79yYjsgW13OJWtro0ZISjm0iS7dSM IVL8eNsR2fqGS7eRpcqIc98IWI4JFqchmb/waDOjAkQv2ulJzp/RhtXya4QhEoR1BFfnI1m KchW4cV9y6nvvvYjrM6rOy0hFMKfyuexz1ST1Ho29Saz63qAyS7iGDQNFjipq2ZIRiuJ9kz NduhrwGqKhN3Hn07tpTGQ== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: c9eafc75-b968-4b51-8f77-781a0f05fcdd X-Archives-Hash: b6cafb32e18d25b5c48f66fdc725086c --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello esteemed readers After four years in the making, I finally built a new machine. \o/ It's an H97-based board with an ALC892 audio chip. The necessities work, but I'm having problems with the out-of-the-box audio setup. After fixing the card order (analog->HDMI, instead of HDMI->analog) I found another problem: except for KDE, which has its own sound system, all other audio-related programs do not work kcmus, aplay, mplayer, etc). For example: $ play some_file ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27= =2E2/src/pcm/pcm.c:2109:(snd_pcm_open_conf) type is not defined play FAIL formats: can't open output file `default': snd_pcm_open error: No= such file or directory So I'm missing the "default" device. Sure enough: $ aplay -L null Discard all samples (playback) or generate zero samples (capture) sysdefault:CARD=3DPCH HDA Intel PCH, ALC892 Analog Default Audio Device front:CARD=3DPCH,DEV=3D0 HDA Intel PCH, ALC892 Analog Front speakers [... and some more surround channels plus HDMI] It only lists "sysdefault", but not "default". If I do $ speaker-test -Dsysdefault -c2 I get the test noise on both speakers. /usr/share/alsa/alsa.conf defines bo= th: --------->%--------------- # redirect to load-on-demand extended pcm definitions pcm.cards cards.pcm pcm.default cards.pcm.default pcm.sysdefault cards.pcm.default ---------%<--------------- But why only one shows up, I am at a loss. Could you help me out here please? What is wrong? How can I better debug it? Thanks. --=20 Gru=C3=9F | Greetings | Qapla=E2=80=99 Ich m=C3=B6chte nicht, da=C3=9F irgendetwas von mir oder =C3=BCber mich auf= Facebook landet. Please do not share anything from, with or about me with any Facebook servi= ce. =E2=80=9CIf it=E2=80=99s true that our species is alone in the universe, th= en I=E2=80=99d have to say the universe aimed rather low and settled for very little.=E2=80=9D =E2=80= =93 George Carlin --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJUHX6VAAoJEIsxvrVA1DDKUQAQAIHlHrcHgTGqR02PtA0faQia f/OoDhGrCE7NomlBQVEuVYCB3DHHl1odXWGU1vTmV8+mo/qk2cV6NxSQmEzNQa3o NQk/xwVpY36QMVSM5GqLp6Z5GmtkC1SwvIyS0D6mDo4sAEksi7+tHSd0kslP+GNu qlrlejGR7yVGyV+nL646TzqnKml8MaycFqFID1dJvEaCY8pNZ3JLz1zbexJ4pTcN YcYEEI58Rnabgy1JDzzSJEiDvYPpM8N7nqSJbkiZyFAP/t37+/Un2aNAtZquXeGt zr67XuViEcrwGH8aGQIrYbafmK5Cisk909q7rJmWloYPD+GhQNNp+eCQY6PjyIGI 2PSDrviNoVC4g7u06SK+x4yyUFosQcCvh4yQfSyRVBVvXGpK7T1R6aKORthzI3UB fqJfKQQm/xpuTpvWSGUg7em6bG/JJbCZL7EO3IRUsWX4BK+WRiHaKUrKHvfP7kin FtMFTeOD+SjUhYvQdxIL8nWXlex0FqJOv8X0bDfaSrf8vYF9MuR0EPMZMx0AX+Uo CKm6K6NElryCOBtz61dMB1dzmFvwivcbTdFAug4H7MZP8dR9D5UcMTIsShgI27sl eY14/MWoo/4CjZMALRF1e96yMHB4YuFGhFotSeoDQWZ5gOj+hTNoUVqCnt91Zrbq bF3yK/tARDee5GD94KMi =ZZ/i -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--