AnsweredAssumed Answered

imx6 alsa play I/O error problem with wm8960 on kernel 4.1.15

Question asked by chao ma on Apr 2, 2018
Latest reply on Apr 4, 2018 by chao ma

Hi,all!

         I  have a board based on i.MX6dl, with wm8960 chip connected to i2c1 and audmux3. With the uboot-2016.03, kernel-4.1.15 and rootfs, i can play wav files and record the voice from mic, it works well. And the above images are provided by the board vendor. 

         I built a rootfs with busybox, alsa-lib and alsa-utils, and i use it as the rootfs for the board, and i also rebuild the uboot and kernel with the same cross compile gcc toolchain. when i used aplay to play a wav file, it return an error message as follows:

         / # aplay abba_out.wav
         Playing WAVE 'abba_out.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
         aplay: pcm_write:1940: write error: Input/output error

 

         But there was a time i can play the wav file with my own roofs, however i just forget the configuration and it never reappear again.

         Is there any advice for that?

 

         Thanks a lot.

Outcomes