LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-22-2008, 03:42 AM   #1
cnu_sree
LQ Newbie
 
Registered: Dec 2006
Posts: 10

Rep: Reputation: 0
regarding alsa


iam trying to play a .wav file using aplay commad
iam geeting following error can u tell me wht it means

[root@Arianux ~]# aplay /root/bin/KDE_Desktop5.wav
ALSA lib confmisc.c:848snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3500_snd_config_evaluate) function snd_func_card_driver retureALSA lib confmisc.c:397snd_func_concat) error evaluating strings
ALSA lib conf.c:3500: (_snd_config_evaluate) function snd_func_concat returned eeALSA lib confmisc.c:1248: (snd_func_refer) error evaluating name
ALSA lib conf.c:3500: (_snd_config_evaluate) function snd_func_refer returned ereALSA lib conf.c:3972: (snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145: (snd_pcm_open_noupdate) Unknown PCM default
aplay: main:545: audio open error: No such device
 
Old 01-22-2008, 07:55 AM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
Just means alsa doesn't know about your sound card, assuming you have one installed. Installing the latest version of alsa might help. Googling for "linux alsa config" will give you quite a bit of advice. Also, knowing what distro and version you are using will help people here help you. You should include that info with every question, whether you think it'll matter or not. You'll have a much better chance of people taking the time to help you.

Good luck....

David
 
Old 01-22-2008, 11:18 PM   #3
cnu_sree
LQ Newbie
 
Registered: Dec 2006
Posts: 10

Original Poster
Rep: Reputation: 0
thank u for ur reply
iam using fedora2
how can i know whether soundcard is present or not in my system without having the drivers.
otherwise how can i know my hardware components from command prompt
thank u very much
 
Old 01-23-2008, 12:09 AM   #4
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
Fedora 2 is damn old. There is a very good chance it'll just work with the latest version of Fedora. You can get the drivers very easily, if you don't want to upgrade. Fedora 2 though, you shouldn't really be using something that old, Fedora 8 is out already, and something as old as Fedora 2 probably isn't secure anymore anyway, not to mention newer versions of applications, and bug fixes.

Good luck...

David
 
Old 01-23-2008, 12:46 AM   #5
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
you may not have an alsa sound card, have you tried oss instead?
 
Old 01-23-2008, 02:48 AM   #6
cnu_sree
LQ Newbie
 
Registered: Dec 2006
Posts: 10

Original Poster
Rep: Reputation: 0
thank u ,
actually iam connected to set top box in that we have only fedora2 .
so intially how i know whether sound card present in system or not
is there any command.
and how can i try "oss".
thank u
sree
 
Old 01-23-2008, 03:18 AM   #7
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
I'm sorry, I don't know of any linux command offhand that would identify your sound card. I think the best way to solve this problem would be to install the latest alsa drivers and then let alsa tell you. Here are the alsa downloads you need. You need 3 of them. Alsa-drivers Alsa-lib and Alsa-util. Get them from here...

http://www.alsa-project.org/main/index.php/Main_Page

Here are some instructions on how to install the drivers.

http://tldp.org/HOWTO/Alsa-sound-4.html

It looks like an old howto, but I think it's still accurate. Once alsa is installed, you can use "aplay -l" to list all your audio devices. The "dmesg" command may help, it will give off quit a bit of info, but if you dig through it you might see your sound card listed, but maybe not too. Your best bet is to install the latest alsa drivers, but if you can't do that, then dmesg is your next best bet. I wouldn't hope for much there though....another thing you could do would be to use a live cd like puppylinux or knoppix. They'd both detect your hardware and you could just look it up with the "aplay -l" command.

Good luck...

Let us know how it goes....

David
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB sound card not detected by ALSA but is by lsusb, using alsa 1.0.15 mjkelly93 Linux - Hardware 1 10-20-2007 10:23 AM
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
broke gentoo after installing alsa-driver & alsa-utils snakeo2 Linux - Newbie 1 01-26-2006 08:05 AM
ALSA-oss compatability works, but not programs intended for alsa ? qwijibow Linux - Software 5 03-14-2004 07:28 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration