[meta-freescale] trying to record mic input on MCIMX6Q-SDB with WM8962 CODEC [REDUX]

rpjday at crashcourse.ca rpjday at crashcourse.ca
Fri Oct 27 05:22:55 PDT 2017


   apologies for reviving an earlier thread, but i really want to resolve
this issue, in preparation for trying the same thing on a proprietary,
look-alike board i'm working on.

   scenario:

   - freescale MCIMX6Q-SDB reference board
   - "core-image-minimal" image based on latest YP/meta-freescale git repos
   - MACHINE="imx6qdlsabresd"
   - single additional installed package, "alsa-utils"

copy wic image to SD card, boots fine.

   at this point, trivially verify that the headphones work with:

   # amixer cset name="Headphone Volume" 100,100
   # aplay /usr/share/sounds/alsa/Front_Center.wav

nothing overly exciting, just checking that the simple stuff works.
at this point, not being an audio/codec expert, a summary of what
i've seen so far:

   i can see in the device tree, the "sound" node, the properties:

   sound {
         ...
         "AMIC", "MICBIAS"
         "IN3R", "AMIC"
         ...

and, yes, this board has mic input feeding into the codec on
IN3R, so that looks fine.

   at this point, what would be the minimal set of commands i
need to run to record a simple .wav file on mic input? i can
see various commands to check the current configuration such as
"arecord", so i'm going to start playing around, but can anyone
summarize the fundamental commands to configure any capture
settings or other stuff i need to enable?

   most importantly, can i assume that the device tree for this
reference board has everything necessary to record .wav files from
mic input, as long as i can figure out what the user space
commands are i need to run to make that happen?

   anyway, off to experiment ... any guidance greatly appreciated.

rday







More information about the meta-freescale mailing list