This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sound Capture problem with codec WM8731

Hello,

I'm working on a baseboard derived from DM365EVM, but with the WM8731 codec instead. I use the dm365-evm_4_02_00_06 DVSDK, and I also tried with the latest Linux kernel. So I had to make a new asoc platform device.

The playback works correctly, but the capture doesn't : 8000Hz rate, S16_LE, the input signal is 1000Hz. During capture, I observed the I2S input data, I have my sinusoid. But the result of arecord is a file almost full of zeros : 22 zeros, then 2 no null samples, then 22 zeros, etc...

The codec is correctly configured, I use the Line Input.

I tried to search and debug in the asound library and ALSA, but I'm lost in it...it's the first time for me to use it.

Thank you for your help.

Cyril