<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Re: Capturing Audio using amixer(Processor I am using is IMX8MP)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-Audio-using-amixer-Processor-I-am-using-is-IMX8MP/m-p/1290120#M175285</link>
    <description>&lt;DIV&gt;&lt;P&gt;HI I&lt;SPAN&gt;gor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for getting back to me, the manual you have referred me to look at I have went over it and I haven't found anything concrete please provide further guidance.&lt;/P&gt;&lt;P&gt;Secondly I was hoping you can give me more in site on the error:&lt;/P&gt;&lt;P&gt;[116004.923246] fsl-micfil-dai 30ca0000.micfil: ASoC: can't open component 30ca0000.micfil: -6&lt;BR /&gt;[116032.879723] fsl-micfil-dai 30ca0000.micfil: ASoC: can't open component 30ca0000.micfil: -6&lt;BR /&gt;[116440.582560] fsl-micfil-dai 30ca0000.micfil: ASoC: can't open component 30ca0000.micfil: -6&lt;/P&gt;&lt;P&gt;Does the error above indicate a problem with the device tree or the driver not being loaded properly? I am starting to believe this might not have anything to do with capturing audio but the driver not being able to load properly.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Saksham Nanda&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 09 Jun 2021 18:01:09 GMT</pubDate>
    <dc:creator>saksham98123</dc:creator>
    <dc:date>2021-06-09T18:01:09Z</dc:date>
    <item>
      <title>Capturing Audio using amixer(Processor I am using is IMX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-Audio-using-amixer-Processor-I-am-using-is-IMX8MP/m-p/1289367#M175213</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a pdm microphone connected to the board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the amixer driver and it has been loaded without errors. Now I having some trouble capturing the audio.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="saksham98123_0-1623180007436.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146620iF2A17DBFDB53B8B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="saksham98123_0-1623180007436.png" alt="saksham98123_0-1623180007436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried the following command:&lt;/P&gt;&lt;P&gt;gst-launch-1.0 -v alsasrc device=plughw:1,0 ! queue ! audioconvert ! audio/x-raw, rate=16000 ! vorbisenc ! oggmux ! filesink location=alsasrc.ogg&lt;/P&gt;&lt;P&gt;the ouput of the above command:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="saksham98123_1-1623180007459.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146619iF099B1B8542B0E3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="saksham98123_1-1623180007459.png" alt="saksham98123_1-1623180007459.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After the above command the dmesg | grep micfil output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="saksham98123_2-1623180007490.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146621i540340E3DA9BAEAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="saksham98123_2-1623180007490.png" alt="saksham98123_2-1623180007490.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using amixer sset Channel_ID I can change the decibel level.&lt;/P&gt;&lt;P&gt;What amixer command should I use to go about capturing the audio? How would I know which audio device to use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 19:21:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-Audio-using-amixer-Processor-I-am-using-is-IMX8MP/m-p/1289367#M175213</guid>
      <dc:creator>saksham98123</dc:creator>
      <dc:date>2021-06-08T19:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Audio using amixer(Processor I am using is IMX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-Audio-using-amixer-Processor-I-am-using-is-IMX8MP/m-p/1289450#M175221</link>
      <description>&lt;P&gt;Hi Saksham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for amixer usage one can look at sect.7.5 Audio Mixer (AUDMIX)&amp;nbsp;&amp;nbsp; &lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf" target="_blank" rel="noopener"&gt;i.MX Linux Reference Manual​&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and examples in&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_amix_test?h=lf-5.10.y_1.0.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_amix_test?h=lf-5.10.y_1.0.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 23:16:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-Audio-using-amixer-Processor-I-am-using-is-IMX8MP/m-p/1289450#M175221</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-06-08T23:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Audio using amixer(Processor I am using is IMX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-Audio-using-amixer-Processor-I-am-using-is-IMX8MP/m-p/1290120#M175285</link>
      <description>&lt;DIV&gt;&lt;P&gt;HI I&lt;SPAN&gt;gor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for getting back to me, the manual you have referred me to look at I have went over it and I haven't found anything concrete please provide further guidance.&lt;/P&gt;&lt;P&gt;Secondly I was hoping you can give me more in site on the error:&lt;/P&gt;&lt;P&gt;[116004.923246] fsl-micfil-dai 30ca0000.micfil: ASoC: can't open component 30ca0000.micfil: -6&lt;BR /&gt;[116032.879723] fsl-micfil-dai 30ca0000.micfil: ASoC: can't open component 30ca0000.micfil: -6&lt;BR /&gt;[116440.582560] fsl-micfil-dai 30ca0000.micfil: ASoC: can't open component 30ca0000.micfil: -6&lt;/P&gt;&lt;P&gt;Does the error above indicate a problem with the device tree or the driver not being loaded properly? I am starting to believe this might not have anything to do with capturing audio but the driver not being able to load properly.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Saksham Nanda&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Jun 2021 18:01:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-Audio-using-amixer-Processor-I-am-using-is-IMX8MP/m-p/1290120#M175285</guid>
      <dc:creator>saksham98123</dc:creator>
      <dc:date>2021-06-09T18:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Audio using amixer(Processor I am using is IMX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-Audio-using-amixer-Processor-I-am-using-is-IMX8MP/m-p/1290292#M175296</link>
      <description>&lt;P&gt;Hi Saksham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what bsp and dts used in the case, one can look at below (compatible = "fsl,imx8mp-micfil"; compatible = "fsl,imx-audio-micfil"; model = "imx-audio-micfil";)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp-evk.dts?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp-evk.dts?h=imx_5.4.70_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp.dtsi?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp.dtsi?h=imx_5.4.70_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;One can try to debug it using sect.7.6.4.2 Source Code Structure &lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf" target="_blank" rel="noopener"&gt;i.MX Linux Reference Manual​&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/fsl_micfil.c?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/fsl_micfil.c?h=imx_5.4.70_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 01:20:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-Audio-using-amixer-Processor-I-am-using-is-IMX8MP/m-p/1290292#M175296</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-06-10T01:20:28Z</dc:date>
    </item>
  </channel>
</rss>

