All pastes #624423 Raw Edit

Mine

public text v1 · immutable
·published 2007-07-18 07:54 UTC
rendered paste body
Recently, I build lfs on Unicore32 platform( we develop our cpu and everything on our soc, the platform is called Unicore32 ).
the system = tftpboot + nfs.
I have done several things as follows:
1. recompile the kernel with the alsa driver. ( linux 2.6.17 )
2. cross compile alsa-lib-1.0.14
3. copy the asoundrc.txt in the alsa-lib package to ~/.asoundrc
4. mknod /dev/snd/pcmC0D0 c 116 x  
    mknod /dev/snd/controlC0 c 116 x
    mknod /dev/snd/hwC0D0 c 116 x


I write a very simple application, 
when run it( as root ), some error appeal.

snd_pcm_open_noupdate()   pcm.c 2144 :  Unknown PCM HW:0,0


 I am  confused that if I have done the right things? I have done the above 4 steps . Have I miss some other steps ?

Thank you very much. 
                                                                                                                            
Maybe this problem is very stupid , But I am really confused about it .
                                                                                                                                                                      Bruce Qian