<?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のトピックwm8960 driver</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/wm8960-driver/m-p/1042978#M153603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm working on IMX6UL custom board with YOCTO sumo linux kernel 4.14.98.&lt;/P&gt;&lt;P&gt;I want to test if my wm8960 can play .wav file in user space with comment below:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@imx6ulevk:/usr/share/sounds/alsa# aplay -D plughw:0,0 ./Front_Center.wav -v&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and I got fail with followed error message:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Playing WAVE './Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono&lt;BR /&gt;Plug PCM: Hardware PCM card 0 'wm8960-audio' device 0 subdevice 0&lt;BR /&gt;Its setup is:&lt;BR /&gt; stream : PLAYBACK&lt;BR /&gt; access : RW_INTERLEAVED&lt;BR /&gt; format : S16_LE&lt;BR /&gt; subformat : STD&lt;BR /&gt; channels : 1&lt;BR /&gt; rate : 48000&lt;BR /&gt; exact rate : 48000 (48000/1)&lt;BR /&gt; msbits : 16&lt;BR /&gt; buffer_size : 24000&lt;BR /&gt; period_size : 6000&lt;BR /&gt; period_time : 125000&lt;BR /&gt; tstamp_mode : NONE&lt;BR /&gt; tstamp_type : MONOTONIC&lt;BR /&gt; period_step : 1&lt;BR /&gt; avail_min : 6000&lt;BR /&gt; period_event : 0&lt;BR /&gt; start_threshold : 24000&lt;BR /&gt; stop_threshold : 24000&lt;BR /&gt; silence_threshold: 0&lt;BR /&gt; silence_size : 0&lt;BR /&gt; boundary : 1572864000&lt;BR /&gt; appl_ptr : 0&lt;BR /&gt; hw_ptr : 0&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;aplay: pcm_write:2051: write error: Input/output error&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;My dmesg showed:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@imx6ulevk:/usr/share/sounds/alsa# dmesg |grep wm8960&lt;BR /&gt;imx-wm8960 sound: wm8960-hifi &amp;lt;-&amp;gt; 202c000.sai mapping ok&lt;BR /&gt;imx-wm8960 sound: snd-soc-dummy-dai &amp;lt;-&amp;gt; 2034000.asrc mapping ok&lt;BR /&gt;imx-wm8960 sound: wm8960-hifi &amp;lt;-&amp;gt; 202c000.sai mapping ok&lt;BR /&gt; #0: wm8960-audio&lt;BR /&gt;wm8960 0-001a: ASoC: Right Boost Mixer DAPM update failed: -6&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't know how to fix it,&lt;/P&gt;&lt;P&gt;could anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2020 06:38:24 GMT</pubDate>
    <dc:creator>kr90911</dc:creator>
    <dc:date>2020-05-05T06:38:24Z</dc:date>
    <item>
      <title>wm8960 driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/wm8960-driver/m-p/1042978#M153603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm working on IMX6UL custom board with YOCTO sumo linux kernel 4.14.98.&lt;/P&gt;&lt;P&gt;I want to test if my wm8960 can play .wav file in user space with comment below:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@imx6ulevk:/usr/share/sounds/alsa# aplay -D plughw:0,0 ./Front_Center.wav -v&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and I got fail with followed error message:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Playing WAVE './Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono&lt;BR /&gt;Plug PCM: Hardware PCM card 0 'wm8960-audio' device 0 subdevice 0&lt;BR /&gt;Its setup is:&lt;BR /&gt; stream : PLAYBACK&lt;BR /&gt; access : RW_INTERLEAVED&lt;BR /&gt; format : S16_LE&lt;BR /&gt; subformat : STD&lt;BR /&gt; channels : 1&lt;BR /&gt; rate : 48000&lt;BR /&gt; exact rate : 48000 (48000/1)&lt;BR /&gt; msbits : 16&lt;BR /&gt; buffer_size : 24000&lt;BR /&gt; period_size : 6000&lt;BR /&gt; period_time : 125000&lt;BR /&gt; tstamp_mode : NONE&lt;BR /&gt; tstamp_type : MONOTONIC&lt;BR /&gt; period_step : 1&lt;BR /&gt; avail_min : 6000&lt;BR /&gt; period_event : 0&lt;BR /&gt; start_threshold : 24000&lt;BR /&gt; stop_threshold : 24000&lt;BR /&gt; silence_threshold: 0&lt;BR /&gt; silence_size : 0&lt;BR /&gt; boundary : 1572864000&lt;BR /&gt; appl_ptr : 0&lt;BR /&gt; hw_ptr : 0&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;aplay: pcm_write:2051: write error: Input/output error&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;My dmesg showed:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@imx6ulevk:/usr/share/sounds/alsa# dmesg |grep wm8960&lt;BR /&gt;imx-wm8960 sound: wm8960-hifi &amp;lt;-&amp;gt; 202c000.sai mapping ok&lt;BR /&gt;imx-wm8960 sound: snd-soc-dummy-dai &amp;lt;-&amp;gt; 2034000.asrc mapping ok&lt;BR /&gt;imx-wm8960 sound: wm8960-hifi &amp;lt;-&amp;gt; 202c000.sai mapping ok&lt;BR /&gt; #0: wm8960-audio&lt;BR /&gt;wm8960 0-001a: ASoC: Right Boost Mixer DAPM update failed: -6&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't know how to fix it,&lt;/P&gt;&lt;P&gt;could anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 06:38:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/wm8960-driver/m-p/1042978#M153603</guid>
      <dc:creator>kr90911</dc:creator>
      <dc:date>2020-05-05T06:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: wm8960 driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/wm8960-driver/m-p/1042979#M153604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi west&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are several kernel 4.14.98 versions, please recheck&lt;/P&gt;&lt;P&gt;that was used L4.14.98_2.3.1 as it supports i.MX6 series&lt;/P&gt;&lt;P&gt;as described in Release Notes &lt;A href="https://www.nxp.com/webapp/Download?colCode=L4.14.98_2.3.1_LINUX_DOCS" target="_blank"&gt;Linux 4.14.98_2.3.1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also one can check wm8960 and sai2 connections and test if&lt;/P&gt;&lt;P&gt;there are signals with oscilloscope.&lt;/P&gt;&lt;P&gt;For "Mixer DAPM update failed" one can look at sect.7.5 Audio Mixer (AUDMIX)&lt;/P&gt;&lt;P&gt;Linux Manual included in linux documentation on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/design/i-mx-developer-resources/i-mx-software-and-development-tools:IMX-SW" title="https://www.nxp.com/design/i-mx-developer-resources/i-mx-software-and-development-tools:IMX-SW"&gt;i.MX Software and Development Tools | NXP&lt;/A&gt;&amp;nbsp;&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>Tue, 05 May 2020 09:51:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/wm8960-driver/m-p/1042979#M153604</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-05-05T09:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: wm8960 driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/wm8960-driver/m-p/1042980#M153605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The aplay function with wm8960 is work now.&lt;/P&gt;&lt;P&gt;I found CPU sai pin not connect to wm8960 on my custom board,it's my fault and sorry about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides,there are some weird problems.&lt;/P&gt;&lt;P&gt;The I2C1 pins connect LCD and wm8960 on my board.&lt;/P&gt;&lt;P&gt;When LCD panel connect to the board,t&lt;SPAN&gt;he aplay function&lt;/SPAN&gt;&amp;nbsp;can't work.&lt;/P&gt;&lt;P&gt;I think it caused by some problem with I2C1 on my board because I encounter similar situation when I probe I2C1 pins with&amp;nbsp;&amp;nbsp;oscilloscope&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The thing is I can find all devices on I2C1 with i2cdetect function,but i2cdetect show nothing&amp;nbsp;after I put probe on I2C1 pins&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Have you ever seen some kind of this problem before?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hope you could help me,thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;west&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 07:51:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/wm8960-driver/m-p/1042980#M153605</guid>
      <dc:creator>kr90911</dc:creator>
      <dc:date>2020-05-06T07:51:43Z</dc:date>
    </item>
  </channel>
</rss>

