AnsweredAssumed Answered

Audio issue in imx6q (linux-imx)

Question asked by sharvari harisangam on Apr 26, 2016
Latest reply on Apr 26, 2016 by Saurabh Patel

Hello ,

  I am working on a custom board based on imx6q-arm2 board. I have linux-imx 3.14.28 running on it. I am facing an issue in AUDIO. My board has TLV codec interfaced via audmux to ssi. When i use aplay command , it shows the error as

aplay: pcm_write:1947: write error: Input/output error

and dmesg shows

 

[ 6834.037168] imx-sdma 20ec000.sdma: wml = 0x0000001a

[ 6834.037181] imx-sdma 20ec000.sdma: shp_addr = 0x02028000

[ 6834.037193] imx-sdma 20ec000.sdma: per_addr = 0x00000000

[ 6834.037205] imx-sdma 20ec000.sdma: event_mask0 = 0x00000000

[ 6834.037217] imx-sdma 20ec000.sdma: event_mask1 = 0x00000040

[ 6834.037244] imx-sdma 20ec000.sdma: sdma_prep_dma_cyclic :entry 0: count: 16384 dma: 0x4c7c0000  intr

[ 6834.037261] imx-sdma 20ec000.sdma: sdma_prep_dma_cyclic :entry 1: count: 16384 dma: 0x4c7c4000  intr

[ 6834.037277] imx-sdma 20ec000.sdma: sdma_prep_dma_cyclic :entry 2: count: 16384 dma: 0x4c7c8000  intr

[ 6834.037293] imx-sdma 20ec000.sdma: sdma_prep_dma_cyclic :entry 3: count: 16384 dma: 0x4c7cc000 wrap intr

[ 6844.037593] ALSA sound/core/pcm_lib.c:1947 playback write error (DMA or IRQ trouble?)

 

So what exactly can be the cause of this error.

If i use aplay -M test.wav , this playback error does not show up. but still sound can not be heard. Also with -M option, aplay never exists.

 

-Thanks

Sharvari Harisangam.

Outcomes