AnsweredAssumed Answered

Microphone / audio recording support on i.MX8 QuadMax MEK

Question asked by Mustafa Ozcelikors on Oct 1, 2018
Latest reply on Jul 6, 2019 by xcy here

Hello all,

I've been using i.MX8 QuadMax MEK in an infotainment-related project for a while now. I am trying to implement HFP-based telephony application which requires a mic on board. However, mic does not seem to work at all for me on our i.MX8.


To capture the audio, simply I use:

arecord -f dat -d 10 -D hw:0,1 test.wav

To play the audio, I use:

aplay -f dat test.wav

Following is the list of sound devices:

root@imx8qmmek: ~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: wm8960audio [wm8960-audio], device 0: HiFi wm8960-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: wm8960audio [wm8960-audio], device 1: HiFi-ASRC-FE (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: imxaudiohdmi [imx-audio-hdmi], device 0: imx8 hdmi snd-soc-dummy-dai-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Steps to reproduce/debug the problem:

  • Different mics are used (Philips, JBL) -> no audio
  • When JBL's mic button is pressed, playback has some noise at the times I press the button, no sound still
  • iMX Linux Release Note states that WM8962 is for record and playback for i.MX8 QuadMax -> However, with the fsl-imx-wayland distro, we get the firmware for wm8960 I think.
  • In iMX Linux Reference Manual (Sect and following sections), there seems to be information to activate microphone/audio recording in other boards such as i.MX6 / i.MX7, but there is no information for i.MX8.
  • I tried the section for i.MX7, which also has wm8960, but it did not work.


It would be a great help if I could understand if i.MX8 really supports microphone through its J15  MP-MIC connector, with the latest available fsl-imx-wayland BSP with Linux version 4.9.51.

Thanks for the help in advance.

Note; I'm willing to post more logs upon your request