[Alsa-user] [help] alsa conf in LFS on special platform
Brought to you by:
perex
From: ming q. <bru...@gm...> - 2007-07-19 01:30:56
|
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 |