<br><br><div class="gmail_quote">2009/11/30 Sascha Hauer <span dir="ltr">&lt;<a href="mailto:s.hauer@pengutronix.de" target="_blank">s.hauer@pengutronix.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>On Mon, Nov 30, 2009 at 11:43:23AM +0100, javier Martin wrote:<br>
&gt; Hi Sascha,<br>
&gt; have you tested capture direction on an i.MX27 based board?<br>
&gt;<br>
&gt; I have been testing your patches in the place you suggested and playback<br>
&gt; seems to work fine but I have several problems with capture stream. I found<br>
&gt; a BUG in the audmux_v1 code<br>
&gt; and I have fixed it but I am still having problems with capture. The file<br>
&gt; keeps empty and nothing is recorded.<br>
<br>
</div>Capture works fine on my boards.<br><div></div> <br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
&gt;<br>
&gt; Please could you try the following on an i.MX27 based board?<br>
&gt;<br>
&gt; arecord -t raw -c 1 -f S16_LE test.wav<br>
<br>
</div>Does it work with two channels? Do you use DMA or FIQ? Could you try the<br>
other variant? <br></blockquote><div><br> Unfortunately, I can&#39;t test it using two channels because our board has a wm8974 mono codec. Please could you point me how can I change between FIQ and DMA? I thought FIQ was only for AC97,<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It helped me a lot during development to use a tool like memedit<br>
(<a href="http://www.pengutronix.de/software/memedit/index_en.html" target="_blank">http://www.pengutronix.de/software/memedit/index_en.html</a>) to show a<br>
register dump of the SSI/Audmux units of a working setup and a non<br>
working setup. Usually the differences showed quite fast why one was<br>
working and the other was not.<br></blockquote><div><br> Indeed, this will be my next step.<br><br> Thank you for the tip. <br></div></div><br clear="all"><br>-- <br>Javier Martin<br>Vista Silicon S.L.<br>CDTUC - FASE C - Oficina S-345<br>
Avda de los Castros s/n<br>39005- Santander. Cantabria. Spain<br>
+34 942 25 32 60<br><a href="http://www.vista-silicon.com" target="_blank">www.vista-silicon.com</a><br>