* [gentoo-user] alsa: missing default device
@ 2014-09-20 13:18 99% Frank Steinmetzger
0 siblings, 0 replies; 1+ results
From: Frank Steinmetzger @ 2014-09-20 13:18 UTC (permalink / raw
To: gentoo-user
[-- 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 --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-09-20 13:18 99% [gentoo-user] alsa: missing default device Frank Steinmetzger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox