Liam,
I have downloaded kernel tar ball. Three questions need your help.
1. which defconfig should be used in arch/arm/configs? I do not see OMAP4 for SDP4430 (blaze board). Panda does not have DMIC only blaze has it.
2. On blaze board, I have to turn off two analog captures and leave DMIC open. Can you verify my gst-launch is correct? I cannot capture voice from DMIC on OMAP4 blaze board us it.
gst-launch-0.10 -v alsasrc num-buffers=1000 ! 'audio/x-raw-int,rate=8000,channels=1,endianness=1234,width=16,depth=16' ! audioconvert ! wavenc! filesink location=/home/normanc/Desktop/8000.wav
3. If I specify DMIC device, command is rejected.
gst-launch-0.10 -v alsasrc device="hw:0,10" num-buffers=1000 ! 'audio/x-raw-int, rate=8000,channels=1,endianness=1234,width=16,depth=16' ! audioconvert ! wavenc! filesink location=/home/normanc/Desktop/8000.wav
TI support team in France says item 2 should work for DMIC. But I simply could not get it. TI team says item 2 works for "official release 2.6.35-990-omap4 #9".
I have spent 1 week on it with 2.6.35-990-omap4 #9
Please advise!
Thanks.
---henry
--- On Wed, 6/8/11, Liam Girdwood lrg@ti.com wrote:
From: Liam Girdwood lrg@ti.com Subject: Re: [alsa-devel] asoc: no valid backend routes for PCM: SDP4430 Media To: "hong zhang" henryzhang62@yahoo.com Cc: "alsa-devel@alsa-project.org" alsa-devel@alsa-project.org Date: Wednesday, June 8, 2011, 9:22 AM On 07/06/11 20:59, hong zhang wrote:
Liam,
Actually, I could not prove DMIC on OMAP4 blaze board
is working in both kernel 2.6.35 and 2.6.38 using arecord and gstreamer-alsa.
In 2.6.35, arecord returns 44 bytes with read error In 2.6.38, arecord collects native data.
Gstreamer-alsa could not get voice after turning off
analog captures using amixer.
Any information regarding DMIC on OMAP4? I see people
send DMIC patch to 2.6.38.
DMIC works on OMAP4, can you try my branch :-
https://gitorious.org/omap-audio/linux-audio/commits/lrg/topic/omap-asoc-nex...
Liam