8 Jul
2011
8 Jul
'11
4:11 p.m.
Le vendredi 8 juillet 2011 15:24:51, Jürgen Lambrecht a écrit :
- Started from sound/soc/imx/phycore-mc13783.c
- Renamed to general "imx" because also valid for imx27pdk (3ds) and other
3ds platforms. Or should there be a file per platform?
It's also valid on the mx31moboard platforms. So I guess it make sens to have a general name.
- Fixed some issues (add names, add read/write functions, changed
late_initcall to module_init, configure clock input pin) - Add debug printing and comments.
- Result:
- soundcard detection;
- after creating /dev entries, aplay runs;
- both 'aplay song.wav' and 'madplay song.mp3' give the same error: a time-out waiting for DMA (ALSA pcm_lib.c:1802: playback write error
(DMA or IRQ trouble?)) * this driver uses the DMA method; the FIQ method gives the same error
Does it mean this doesn't work at all to play sound ? IIRC Sascha driver used to work with the non-dmaengine implementation on 2.6.34.
Thanks,
Philippe