<?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: [ALSA/PulseAudio] Can't capture audio</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626350#M95040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one can try debug it in linux/sound/soc/fsl/fsl_sai.c&lt;/P&gt;&lt;P&gt;please use&amp;nbsp;Chapter 42 Synchronous Audio Interface (SAI) i.MX6UL Reference Manual&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.freescale.com%2Ffiles%2F32bit%2Fdoc%2Fref_manual%2FIMX6ULRM.pdf" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2017 23:30:16 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-04-20T23:30:16Z</dc:date>
    <item>
      <title>[ALSA/PulseAudio] Can't capture audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626347#M95037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the Pico-i.MX6UL using Yocto (fsl-community-bsp). I can't capture audio from the codec (sgtl5000).&lt;/P&gt;&lt;P&gt;The soundcard is detected fine and I can playback sound. But when I record audio (using arecord) I get silence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The capture device is recognized:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sgtl5000audio [sgtl5000-audio], device 0: HiFi sgtl5000-0 []
&amp;nbsp; &amp;nbsp; Subdevices: 1/1
&amp;nbsp;&amp;nbsp;&amp;nbsp; Subdevice #0: subdevice #0&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The relevant controls in amixer:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;$ amixer
Simple mixer control 'Mic',0
&amp;nbsp; &amp;nbsp; Capabilities: volume volume-joined
&amp;nbsp; &amp;nbsp; Playback channels: Mono
&amp;nbsp; &amp;nbsp; Capture channels: Mono
&amp;nbsp; &amp;nbsp; Limits: 0 - 3
&amp;nbsp; &amp;nbsp; Mono: 3 [100%] [40.00dB]
Simple mixer control 'Capture',0
&amp;nbsp; &amp;nbsp; Capabilities: cvolume
&amp;nbsp; &amp;nbsp; Capture channels: Front Left - Front Right
&amp;nbsp; &amp;nbsp; Limits: Capture 0 - 15
&amp;nbsp; &amp;nbsp; Front Left: Capture 15 [100%]
&amp;nbsp; &amp;nbsp; Front Right: Capture 15 [100%]
Simple mixer control 'Capture Attenuate Switch (-6dB)',0
&amp;nbsp; &amp;nbsp; Capabilities: pswitch pswitch-joined
&amp;nbsp; &amp;nbsp; Playback channels: Mono
&amp;nbsp; &amp;nbsp; Mono: Playback [on]
Simple mixer control 'Capture Mux',0
&amp;nbsp; &amp;nbsp; Capabilities: enum
&amp;nbsp; &amp;nbsp; Items: 'MIC_IN' 'LINE_IN'
&amp;nbsp; &amp;nbsp; Item0: 'MIC_IN'
Simple mixer control 'Capture ZC',0
&amp;nbsp; &amp;nbsp; Capabilities: pswitch pswitch-joined
&amp;nbsp; &amp;nbsp; Playback channels: Mono
&amp;nbsp; &amp;nbsp; Mono: Playback [on]&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What seems off here is that control 'Mic' does not have an on / off switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly in alsamixer I can't select any channel as capture device.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="alsamixer.png"&gt;&lt;IMG alt="alsamixer.png" src="https://community.nxp.com/t5/image/serverpage/image-id/10589i6E62107ACBEF05B8/image-size/large?v=v2&amp;amp;px=999" title="alsamixer.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have experience with this? I can't find any information about this online.&lt;/P&gt;&lt;P&gt;It seems the sound card does not support audio capturing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Koenraad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:53:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626347#M95037</guid>
      <dc:creator>koenraadverheyd</dc:creator>
      <dc:date>2020-11-02T13:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: [ALSA/PulseAudio] Can't capture audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626348#M95038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koenraad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://linuxppc-dev.ozlabs.narkive.com/pVUAOxGW/patch-0-2-asoc-fsl-make-snd-soc-imx-sgtl5000-driver-useable-on-i-mx6ul" title="http://linuxppc-dev.ozlabs.narkive.com/pVUAOxGW/patch-0-2-asoc-fsl-make-snd-soc-imx-sgtl5000-driver-useable-on-i-mx6ul"&gt;[PATCH 0/2] ASoC: fsl: make snd-soc-imx-sgtl5000 driver useable on i.MX6UL&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and try with imx-test (../mxc_sound_test)&lt;/P&gt;&lt;P&gt;imx-test&lt;BR /&gt;&lt;A href="https://community.nxp.com/www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz" target="test_blank"&gt;www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 23:11:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626348#M95038</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-04-19T23:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: [ALSA/PulseAudio] Can't capture audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626349#M95039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks igorpadykov,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've applied both patches and flashed the device again, but nothing seems changed. Is there some configuration that has to be done as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried out the imx-tests, but couldn't get them to work. When I want to make the mxc_sound_test I get the following log:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;make -C /home/iotivity/yocto/imx-test-5.7/test mxc_sound_test
make[1]: Entering directory '/home/iotivity/yocto/imx-test-5.7/test'
make -C mxc_sound_test mxc_sound_test
make[2]: Entering directory '/home/iotivity/yocto/imx-test-5.7/test/mxc_sound_test'
make[2]: *** No rule to make target 'mxc_sound_test'.&amp;nbsp; Stop.
make[2]: Leaving directory '/home/iotivity/yocto/imx-test-5.7/test/mxc_sound_test'
Makefile:15: recipe for target 'mxc_sound_test' failed
make[1]: [mxc_sound_test] Error 2 (ignored)
make[1]: Leaving directory '/home/iotivity/yocto/imx-test-5.7/test'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I executed the command as following:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;$ make PLATFORM=IMX6UL \
&amp;nbsp; LINUXPATH=~/yocto/fsl-community-bsp/build-fslc/tmp/work-shared/imx6ul-pico-hobbit/kernel-source \
&amp;nbsp; KBUILD_OUTPUT=~/yocto/fsl-community-bsp/build-fslc/tmp/work-shared/imx6ul-pico-hobbit/kernel-source/Kbuild \
&amp;nbsp; CROSS_COMPILE=/opt/poky/2.2.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/ \&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 16:08:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626349#M95039</guid>
      <dc:creator>koenraadverheyd</dc:creator>
      <dc:date>2017-04-20T16:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: [ALSA/PulseAudio] Can't capture audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626350#M95040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one can try debug it in linux/sound/soc/fsl/fsl_sai.c&lt;/P&gt;&lt;P&gt;please use&amp;nbsp;Chapter 42 Synchronous Audio Interface (SAI) i.MX6UL Reference Manual&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.freescale.com%2Ffiles%2F32bit%2Fdoc%2Fref_manual%2FIMX6ULRM.pdf" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 23:30:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626350#M95040</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-04-20T23:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: [ALSA/PulseAudio] Can't capture audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626352#M95042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koenraad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for sgtl5000 settings one can check AN3663&lt;/P&gt;&lt;P&gt;SGTL5000 Initialization and Programming - Application Note&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/media-and-audio-processing/data-converters/audio-converters/audio-codec/evaluation-kit-sgtl5000-low-power-stereo-codec:KITSGTL5000EVBE?tab=Documentation_Tab" title="http://www.nxp.com/products/media-and-audio-processing/data-converters/audio-converters/audio-codec/evaluation-kit-sgtl5000-low-power-stereo-codec:KITSGTL5000EVBE?tab=Documentation_Tab"&gt;SGTL5000, Low Power Stereo Codec EVB|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For help with porting software NXP has Professional Services:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fsupport%2Fnxp-professional-services%3APROFESSIONAL-SERVICE" rel="nofollow" target="_blank"&gt;http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 23:32:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ALSA-PulseAudio-Can-t-capture-audio/m-p/626352#M95042</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-03T23:32:49Z</dc:date>
    </item>
  </channel>
</rss>

