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 )(alsa-1.0.11rc4)
2. cross compile alsa-lib-1.0.14
3. copy the asoundrc.txt in the alsa-lib package to ~/.asoundrc
4. mknod /dev/snd/pcmC0D0p c 116 16
mknod /dev/snd/controlC0 c 116 0
mknod /dev/snd/hwC0D0 c 116 4
and 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
some information :
/proc/asound/cadrs
0 [CS4281 ]: CS4281 - Cirrus Logic CS4281
Cirrus Logic CS4281 at 0x90840000, irq 6
/proc/asound/devices
0: [ 0] : control
4: [ 0- 0]: hardware dependent
8: [ 0- 0]: raw midi
16: [ 0- 0]: digital audio playback
24: [ 0- 0]: digital audio capture
33: : timer
/proc/asound/pcm
00-00: CS4281 : CS4281 : playback 1 : capture 1
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user