On Thu, 15 Jan 2009 20:01:22 +0000 Mark Brown broonie@sirena.org.uk wrote:
On Thu, Jan 15, 2009 at 02:54:54PM -0500, Hugo Villeneuve wrote:
Mark Brown broonie@sirena.org.uk wrote:
The breakage I see when I run the aplay utility is this:
aplay: pcm_write:1394: write error: Input/output error
davinci-git version is the latest as of january 14 (2.6.28-davinci1-06546-gcfb152b)
Hrm, OK. That's not terribly informative - does the error get reported after about 10 seconds by any chance? I suspect that DMA just isn't happening.
Sorry about the non-verbosity :)
I actually meant the error message rather than your posting, sorry!
I know :)
In the meantime, I will send you a patch that will fix the compilation problems for the SFFSDR ASoC module.
Yes it happens almost exactly after 10 seconds. I?m not an expert
with audio nor DMA, but can you indicate me where I should be looking for signs of trouble (which source files for example)?
sound/soc/davinci/davinci-pcm.c and the underlying DMA APIs it calls. I wouldn't be surprised if either there had been some change in the DMA APIs that required an update in the driver or the DMA APIs haven't been fully merged.
Hopefully a comparison of the mainline and DaVinci trees will show something...
Anyone on the DaVinci mailing list that could shed some light on this issue?
Thank-you, Hugo.
--------------- Hugo Villeneuve www.hugovil.com ---------------