[gentoo-user] Why I can't play music?

October 23rd, 2011 - 04:10 am ET by Lavender | Report spam
=_Part_37941_1764315973.1319356703999

When I modifed USE to USE="-X -gnome -kde -gtk" ,
I finally successed in installing mplayer without graphical
desktop. But I got another problem.

# mplayer christmas\ in\ my\ heart.mp3

It printed some error messages though mplayer could played mp3 file
without sound.

Error Message:
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4663:(snd_config_expand)
Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

The sound card driver I have built into kernel . When I used lspci,
I can see that "hda_intel" is the driver for sound card.
So what's wrong with it ?
=_Part_37941_1764315973.1319356703999

<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>When I modifed USE to USE="-X -gnome -kde -gtk" ,</DIV>
<DIV>I finally successed in installing mplayer without graphical</DIV>
<DIV>desktop. But I got another problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>#&nbsp;mplayer &nbsp;christmas\ in\ my\ heart.mp3</DIV>
<DIV>&nbsp;</DIV>
<DIV>It&nbsp;printed some error messages though mplayer could&nbsp;played mp3 file</DIV>
<DIV>without sound.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Error Message:</DIV>
<DIV>[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'</DIV>
<DIV>[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory</DIV>
<DIV>[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings</DIV>
<DIV>[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory</DIV>
<DIV>[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name</DIV>
<DIV>[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory</DIV>
<DIV>[AO_ALSA] alsa-lib: conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory</DIV>
<DIV>[AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default</DIV>
<DIV>[AO_ALSA] Playback open error: No such file or directory</DIV>
<DIV>[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le</DIV>
<DIV>[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'</DIV>
<DIV>[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory</DIV>
<DIV>[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings</DIV>
<DIV>[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory</DIV>
<DIV>[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name</DIV>
<DIV>[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory</DIV>
<DIV>[AO_ALSA] alsa-lib: conf.c:4663:(snd_config_expand) <BR>Evaluate error: No such file or directory</DIV>
<DIV>[AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default</DIV>
<DIV>[AO SDL] Unable to open audio: No available audio device<BR>DVB card number must be between 1 and 4<BR>AO: [null] 44100Hz 2ch s16le (2 bytes per sample)</DIV>
<DIV>Video: no video<BR>Starting playback...</DIV>
<DIV>&nbsp;</DIV>
<DIV>The sound card driver I have built into kernel . When I used lspci,</DIV>
<DIV>I can see that "hda_intel" is the driver for sound card. </DIV>
<DIV>So what's wrong with it ?</DIV></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>
=_Part_37941_1764315973.1319356703999--
email Follow the discussionReplies 3 repliesReplies Make a reply

Similar topics

Replies

#1 David Abbott
October 23rd, 2011 - 04:30 am ET | Report spam
2011/10/23 Lavender :
[snip]
The sound card driver I have built into kernel . When I used lspci,
I can see that "hda_intel" is the driver for sound card.
So what's wrong with it ?




First use modules. This post [1] from the forum is about the mic but
it walks you through the process of setting up sound pretty well.
HTH David

[1] http://forums.gentoo.org/viewtopic-...art-0.html
Replies Reply to this message
#2 Lavender
October 23rd, 2011 - 04:40 am ET | Report spam
=_Part_42636_1827156576.1319358515820

First use modules. This post [1] from the forum is about the mic but
it walks you through the process of setting up sound pretty well.
HTH David

[1] http://forums.gentoo.org/viewtopic-...art-0.html




Thanks , I hope I can listen music when I finish reading this article.
=_Part_42636_1827156576.1319358515820

<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>&gt;First&nbsp;use&nbsp;modules.&nbsp;This&nbsp;post&nbsp;[1]&nbsp;from&nbsp;the&nbsp;forum&nbsp;is&nbsp;about&nbsp;the&nbsp;mic&nbsp;but<BR>&gt;it&nbsp;walks&nbsp;you&nbsp;through&nbsp;the&nbsp;process&nbsp;of&nbsp;setting&nbsp;up&nbsp;sound&nbsp;pretty&nbsp;well.<BR>&gt;HTH&nbsp;David<BR>&gt;<BR>&gt;[1]&nbsp;http://forums.gentoo.org/viewtopic-...t;/DIV>
<DIV>Thanks , I hope I can listen music when I finish reading this article.</DIV></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>
=_Part_42636_1827156576.1319358515820--
Replies Reply to this message
#3 James Broadhead
October 30th, 2011 - 10:10 am ET | Report spam
2011/10/23 Lavender :
First use modules. This post [1] from the forum is about the mic but
it walks you through the process of setting up sound pretty well.
HTH David





My reading of those errors implies that you might have an alsa config
file left over which is confusing mplayer. Make sure that you don't
have .asoundrc or .alsa* in your ${HOME}. You probably don't need one
(not for most setups).

Is your card in `cat /proc/asound/cards` or alsamixer ? (can't check
correct location, in Windows atm).
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search