From: Frank Steinmetzger <Warp_7@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] alsa: missing default device
Date: Sat, 20 Sep 2014 15:18:13 +0200 [thread overview]
Message-ID: <20140920131813.GA3798@kern.lan> (raw)
[-- Attachment #1: Type: text/plain, Size: 1939 bytes --]
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.2/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=PCH
HDA Intel PCH, ALC892 Analog
Default Audio Device
front:CARD=PCH,DEV=0
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 both:
--------->%---------------
# 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.
--
Gruß | Greetings | Qapla’
Ich möchte nicht, daß irgendetwas von mir oder über mich auf Facebook landet.
Please do not share anything from, with or about me with any Facebook service.
“If it’s true that our species is alone in the universe, then I’d have to say
the universe aimed rather low and settled for very little.” – George Carlin
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2014-09-20 13:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-20 13:18 Frank Steinmetzger [this message]
2014-09-21 0:49 ` [gentoo-user] alsa: missing default device Walter Dnes
2014-09-22 15:49 ` Frank Steinmetzger
2014-09-22 23:22 ` Walter Dnes
2014-09-23 12:59 ` Frank Steinmetzger
2014-09-24 2:32 ` Walter Dnes
2014-09-24 21:03 ` Frank Steinmetzger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140920131813.GA3798@kern.lan \
--to=warp_7@gmx.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox