[alsa-devel] Hello

l9jj at 163.com l9jj at 163.com
Wed Nov 21 16:56:06 CET 2012


Hello guys, i am debuging the alsa. After I insmoding the codec.ko pcm.ko i2s.ko into the kernel I can get the device node : /dev/pcmC0D0p and /dev/pcmC0D0c and /dev/controlC0 and /dev/timer .i create the link
Ln -s /dev/pcmC0D0c /dev/snd/pcmC0D0c
Ln –s /dev/pcmC0D0p /dev/snd/pcmC0D0p
Ln –s /dev/controlC0 /dev/snd/controlC0
Ln –s /dev/timer /dev/snd/timer
but it failed when I executed
aplay Noise.wav.
I use the shell cmd strace to follow it and found the Segmentation Fault will take place when call the open(“/dev/snd/controlC0”,O_RDONLY|O_CLOEXEC),so my question is how should I check the node /dev/snd/controlC0 is correct?
Thanks for any suggestion.
Best Regards



More information about the Alsa-devel mailing list