Problem in testing ALSA
Basically I want to test whether ALSA is working on my board or not. I got the ALSA driver built in to the kernel and then installed ALSA libraries and utils. When I perform aplay, I get this error.
[root@ARMCore /]$ aplay /home/test/decoded_4350.wav ALSA lib pcm.c:1962:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:507: audio open error: No such file or directory
I suspect that I need the snd_pcm module loaded before aplay could work. Thus, I need to modprobe soundcore module before I can modprobe snd_pcm module.
Hope you get a clearer picture. Willing to clarify more if you need more information. Hope to hear from you soon.
Thanks.
Regards
Quoted 12 lines · --- Lee Revell
Quoted 6 lines · Chow Raymond
Hi,
I encounter this problem.
[root@ARMCore user]$ modprobe soundcore
modprobe:/lib/libc.so.6: version `GLIBC_2.2.3'not
Quoted 3 lines
found (required by mod)
Do I need GLIBC? If yes, where do I get it and
Quoted 12 lines
where
Quoted 1 line
shall I install it?
You can't link a kernel module against glibc.
What are you trying to do?
Lee
-------------------------------------------------------
Quoted 8 lines
SF.Net email is sponsored by: Discover Easy Linux
Migration Strategies
from IBM. Find simple to follow Roadmaps,
straightforward articles,
informative Webcasts and more! Get everything you
need to get up to
speed, fast.
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Quoted 4 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 1 line
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Quoted 6 lines · Chow Raymond
[root@ARMCore /]$ aplay
/home/test/decoded_4350.wavALSA lib pcm.c:1962:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:507: audio open error: No such file or directory
No, that probably just means that the default pcm is not defined. This is actually a userspace (alsa-lib) problem, it sounds like the kernel side might be OK.
But, please repost your query, and cc: alsa-devel, because I don't know that much about the ARM drivers.
Lee
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
On Tue, 2005-08-02 at 18:21 -0700, Chow Raymond wrote:
Disregard my last message, I see that you did cc: alsa-devel already.
Lee
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Quoted 5 lines · --- Lee Revell
No, that probably just means that the default pcm is not defined. This
is actually a userspace (alsa-lib) problem, it sounds like the kernel
side might be OK.
I don't get it. Default pcm is not defined? How do i define it then? Does it mean that aplay cannot find the appropriate libraries? Besides, I do not know how to configure my /etc/modules.conf too since Im using Compulab ArmCore board. There is no built in soundcard. It only has built in AC97 codec.
Regards
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Quoted 9 lines · Chow Raymond
Quoted 5 lines · --- Lee Revell
No, that probably just means that the default pcm is not defined. This
is actually a userspace (alsa-lib) problem, it sounds like the kernel
side might be OK.
Quoted 6 lines
I don't get it. Default pcm is not defined? How do i define it then? Does it mean that aplay cannot find the appropriate libraries? Besides, I do not know how to configure my
/etc/modules.conftoo since Im using Compulab ArmCore board. There is no built in soundcard. It only has built in AC97 codec.
See /usr/share/alsa/alsa.conf. Some devices can define their own default PCM in /usr/share/alsa/cards/*. But I have no idea how the AC97 codec on ARM fits into this scheme.
Try aplay -D hw:0,0 file.wav. And make sure alsa-lib is installed properly.
Lee
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click