[alsa-devel] When running aplay, reported:ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM plughw:0, 0

zhangal alzhang03 at hotmail.com
Sun Oct 26 05:04:21 CET 2008


Hi, everybody
 
    I am dealing with OMAP730 alsa driver based on kernel 2.6.25. The alsa core drivers are coming from linux-2.6.25/sound and I wrote my own alsa driver for OMAP730. Now I can insmod my driver correctly and the modules I installed are:
 
Module                  Size  Used by    Not taintedsnd_omap_alsa_pers2    15868  0snd_pcm                66660  1 snd_omap_alsa_pers2snd_timer              19492  1 snd_pcmsnd                    45972  3 snd_omap_alsa_pers2,snd_pcm,snd_timersnd_page_alloc          6152  1 snd_pcmsoundcore               6020  1 snd
And device nodes are made automatically
 
[root@/mnt/temp]#ls -l /dev/snd/crw-rw-r--    1 root     root     116,   5 Jan  1 00:16 controlC0crw-rw-r--    1 root     root     116,   4 Jan  1 00:16 pcmC0D0ccrw-rw-r--    1 root     root     116,   3 Jan  1 00:16 pcmC0D0pcrw-rw-r--    1 root     root     116,   2 Jan  1 00:16 timer
It seems the necessary nodes are all there, but after I set the ALSA_CONFIG_PATH=/mnt/temp and then run aplay I got errosrs:
 
 
[root@/mnt/temp]#./aplay -D plughw:0,0 test.wavALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM plughw:0,0aplay: main:583: audio open error: No such file or directory
 
The PCM device can not be recognized. What's happening here? Did anyboady meet this problem before?
 
NOTE: The aplay is compiled from alsa-utils-1.0.18rc3.tar.bz2 and alsa-lib-1.0.18rc3.tar.bz2.
 
_________________________________________________________________
MSN 中文网,最新时尚生活资讯,白领聚集门户。
http://cn.msn.com


More information about the Alsa-devel mailing list