<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[I2S Issues]]></title><description><![CDATA[<p dir="auto">Good Day Onion Team and Community,</p>
<p dir="auto">Can we please get an acknowledgement that I2S has not been functional since b193?</p>
<p dir="auto">Please can you share any information that may be relevant to this issue so that the community can help debug.</p>
<p dir="auto">Both Audio OUT and IN are required for a project that I am doing and I would really like to be on the latest Build including all the nice work you guys have been doing.</p>
<p dir="auto">Thanks,<br />
U.</p>
]]></description><link>http://community.onion.io/topic/3593/i2s-issues</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 07:22:46 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/3593.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 May 2019 10:05:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I2S Issues on Thu, 02 May 2019 10:05:33 GMT]]></title><description><![CDATA[<p dir="auto">Good Day Onion Team and Community,</p>
<p dir="auto">Can we please get an acknowledgement that I2S has not been functional since b193?</p>
<p dir="auto">Please can you share any information that may be relevant to this issue so that the community can help debug.</p>
<p dir="auto">Both Audio OUT and IN are required for a project that I am doing and I would really like to be on the latest Build including all the nice work you guys have been doing.</p>
<p dir="auto">Thanks,<br />
U.</p>
]]></description><link>http://community.onion.io/post/19443</link><guid isPermaLink="true">http://community.onion.io/post/19443</guid><dc:creator><![CDATA[UFD]]></dc:creator><pubDate>Thu, 02 May 2019 10:05:33 GMT</pubDate></item><item><title><![CDATA[Reply to I2S Issues on Tue, 07 May 2019 15:59:43 GMT]]></title><description><![CDATA[<p dir="auto">Doubt it is helpful, but I can confirm that I2S audio as an output is not functional on firmware b221, b200, b196. The only firmware version I had working audio on was b193, b180 and b177. (I assume it works from b193 to b177, but I only tested b180) This was all tested on the same onion omega2+ with a MAX98367A I2S mono amp breakout board from adafruit.</p>
<p dir="auto">It would be nice to have working I2S and hardware PWM on the same firmware.</p>
<p dir="auto">-Will</p>
]]></description><link>http://community.onion.io/post/19467</link><guid isPermaLink="true">http://community.onion.io/post/19467</guid><dc:creator><![CDATA[William Gerhard]]></dc:creator><pubDate>Tue, 07 May 2019 15:59:43 GMT</pubDate></item><item><title><![CDATA[Reply to I2S Issues on Fri, 24 May 2019 15:31:54 GMT]]></title><description><![CDATA[<p dir="auto">First time posting on the Onion Community... Hello, hello.<br />
The Omega2 has seemed very promising as a fast track to product development and I commend the efforts of the Team and Community.</p>
<p dir="auto">I am also looking to get i2s audio functioning on an Onion Omega2. I am working on a product where we had been considering the LinkIt Smart 7688 as an embedded solution, but it suffers from a lack of support when it comes to running more modern OpenWRT with i2s functionality, similarly unsupported by the larger OpenWRT community.</p>
<p dir="auto">I was hoping that the i2s functionality on the Onion Omega2 would make this a clear alternative to the LinkIt Smart 7688, however it seems that they both lack the attention to get the feature running.</p>
<p dir="auto">All of this is to say that I just wanted to add my voice and product needs around a functioning embedded linux solution that has out of the box i2s audio support.</p>
<p dir="auto">I've scraped together whatever information that I can to attempt to get i2s functioning by way of building my own custom firmware with ALSA enabled and DTS files altered only to result in:<br />
A) a custom built firmware with <strong>almost</strong> functioning i2s (ALSA detects a "card") but no proper playback<br />
B) a custom built firmware with no functioning i2s even though I seem to have all of the puzzle pieces in place<br />
C) a custom built firmware that crashes on boot</p>
<p dir="auto">I'm really not sure what's next to experiment with, but any input would be greatly appreciated on either a path towards a solution running i2s on the Omega2, or suggestions on an device alternative that is in the same price range but is committed to supporting i2s audio.</p>
<p dir="auto">Thanks,<br />
Colin</p>
]]></description><link>http://community.onion.io/post/19526</link><guid isPermaLink="true">http://community.onion.io/post/19526</guid><dc:creator><![CDATA[Colin McArdell]]></dc:creator><pubDate>Fri, 24 May 2019 15:31:54 GMT</pubDate></item><item><title><![CDATA[Reply to I2S Issues on Thu, 30 May 2019 22:50:29 GMT]]></title><description><![CDATA[<p dir="auto">Just adding some info from onions logs in the hope it point someone in the right direction:</p>
<p dir="auto">New Firmware (0.2.2 b200)</p>
<pre><code>Fri May 24 06:36:52 2019 kern.info kernel: [   12.122322] ralink-i2s 10000a00.i2s: mclk 480KHz
Fri May 24 06:36:52 2019 kern.err kernel: [   12.130308] max98090 0-0010: Failed to reset codec: -6
Fri May 24 06:36:52 2019 kern.err kernel: [   12.135792] max98090 0-0010: Failed to read device revision: -1
Fri May 24 06:36:52 2019 kern.err kernel: [   12.141799] max98090 0-0010: ASoC: failed to probe component -1
Fri May 24 06:36:52 2019 kern.err kernel: [   12.148456] asoc-simple-card sound: ASoC: failed to instantiate card -1
Fri May 24 06:36:52 2019 kern.warn kernel: [   12.155350] asoc-simple-card: probe of sound failed with error -1
</code></pre>
<p dir="auto">Old Firmware (0.2.0 b193)</p>
<pre><code>Tue Jul 17 23:48:36 2018 kern.info kernel: [   11.947660] ralink-i2s 10000a00.i2s: mclk 480KHz
Tue Jul 17 23:48:36 2018 kern.err kernel: [   11.986476] max98090 0-0010: Unrecognized revision 0xff
Tue Jul 17 23:48:36 2018 kern.warn kernel: [   11.991794] max98090 0-0010: Mismatch in DT specified CODEC type.
Tue Jul 17 23:48:36 2018 kern.info kernel: [   12.000577] max98090 0-0010: use default 2.8v micbias
Tue Jul 17 23:48:36 2018 kern.info kernel: [   12.020403] asoc-simple-card sound: HiFi &lt;-&gt; 10000a00.i2s mapping ok
</code></pre>
]]></description><link>http://community.onion.io/post/19551</link><guid isPermaLink="true">http://community.onion.io/post/19551</guid><dc:creator><![CDATA[UFD]]></dc:creator><pubDate>Thu, 30 May 2019 22:50:29 GMT</pubDate></item><item><title><![CDATA[Reply to I2S Issues on Fri, 31 May 2019 15:14:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4416">@UFD</a> said in <a href="/post/19551">I2S Issues</a>:</p>
<blockquote>
<p dir="auto">are (0.2.2 b200)</p>
</blockquote>
<p dir="auto">Somewhere I read they disabled i2s audio, if you search the forums there is more info on it but no one from <a href="http://Onion.io" rel="nofollow">Onion.io</a> has made any comments on it. Better to submit a help ticket if possible. I had to downgrade the fw to use audio as well. The other work around that I found that does work, though I hate it, is using a USB audio driver.</p>
]]></description><link>http://community.onion.io/post/19556</link><guid isPermaLink="true">http://community.onion.io/post/19556</guid><dc:creator><![CDATA[brolly759]]></dc:creator><pubDate>Fri, 31 May 2019 15:14:50 GMT</pubDate></item><item><title><![CDATA[Reply to I2S Issues on Sun, 16 Jun 2019 16:26:33 GMT]]></title><description><![CDATA[<p dir="auto">I have i2s sound output with a MAX98357A running for quite a while, but I never used the original firmware.</p>
<p dir="auto">With LEDE 17.01 (kernel 4.4) I never got it to run, it either crashed or at least produced no sound. But since LEDE master (which became today's OpenWrt 18.06) switched to kernel 4.9, <a href="https://community.onion.io/post/13811" rel="nofollow">it started to work fine</a>. It still does with today's 4.14.</p>
<p dir="auto">Since then, I build all my firmware by appling the following two openwrt tree patches:</p>
<ul>
<li><a href="https://github.com/plan44/plan44-feed/blob/master/pixelboard-config/p44build/global-patches/205-omega2-dtsi-gdma-i2s-enable.diff" rel="nofollow">this one</a> enables basic i2s and gdma support in the device tree</li>
<li><a href="https://github.com/plan44/plan44-feed/blob/master/pixelboard-config/p44build/global-patches/210-omega2-sound-max98357a.diff" rel="nofollow">this one</a> makes ALSA sound components and the MAX98357A codec available in <code>make menuconfig</code>, and adds a simple audio out device in the device tree.</li>
</ul>
<p dir="auto">So I guess you'd be able to get working i2s sound by building your own firmware (see <a href="https://github.com/OnionIoT/source" rel="nofollow">Onion Omega2 Firmware Build System</a> on github) with these two patches applied, and actually enabling max98357 support via <code>make menuconfig</code>.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/95">@Lazar-Demin</a> any reason against adding these two patches to the regular firmware build?</p>
<p dir="auto">BTW: the console / dmesg lines that when i2s is working:</p>
<pre><code>[   10.257675] ralink-i2s 10000a00.i2s: mclk 480KHz
[   10.274881] asoc-simple-card sound: HiFi &lt;-&gt; 10000a00.i2s mapping ok</code></pre>
]]></description><link>http://community.onion.io/post/19618</link><guid isPermaLink="true">http://community.onion.io/post/19618</guid><dc:creator><![CDATA[luz]]></dc:creator><pubDate>Sun, 16 Jun 2019 16:26:33 GMT</pubDate></item><item><title><![CDATA[Reply to I2S Issues on Tue, 18 Jun 2019 16:18:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1033">@luz</a> , Thanks!</p>
<p dir="auto">I have followed the instructions to build firmware from source and I have applied the two patches mentioned. however I do not see the required MAX98357A option anywhere in<br />
"make menuconfig".<br />
Ive used the search option with no luck. is their something that I could possibly be missing in the process?<br />
Thanks,<br />
U</p>
]]></description><link>http://community.onion.io/post/19629</link><guid isPermaLink="true">http://community.onion.io/post/19629</guid><dc:creator><![CDATA[UFD]]></dc:creator><pubDate>Tue, 18 Jun 2019 16:18:36 GMT</pubDate></item><item><title><![CDATA[Reply to I2S Issues on Tue, 18 Jun 2019 19:41:09 GMT]]></title><description><![CDATA[<p dir="auto">However with that said, applying the patches you suggested and building from source has allowed me to successfully play audio using I2S on build Ω-ware: 0.3.2 b222</p>
<p dir="auto">Your help is greatly appreciated <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1033">@luz</a></p>
<p dir="auto">Regards,<br />
U.</p>
]]></description><link>http://community.onion.io/post/19631</link><guid isPermaLink="true">http://community.onion.io/post/19631</guid><dc:creator><![CDATA[UFD]]></dc:creator><pubDate>Tue, 18 Jun 2019 19:41:09 GMT</pubDate></item><item><title><![CDATA[Reply to I2S Issues on Wed, 19 Jun 2019 17:10:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4416">@UFD</a> Sorry, I was wrong. Nothing extra appears in menuconfig. There already is a option <code>sound-mt7620</code>, but that's it. What the patches do is</p>
<ul>
<li>add the <code>snd-soc-max98357a</code> codec kernel module (in addition to the <code>snd-soc-wm8960</code> that was already there.</li>
<li>add a device tree node to actually load and configure a i2s sound output via a max98357a (in <code>target/linux/ramips/dts/OMEGA2.dtsi</code>). This makes the build work with a max98357 sound output. This device tree node would need to be changed to use the WM8960 instead.</li>
</ul>
<p dir="auto">Back then, I <em>tried</em> to make the codec modules appear individually in menuconfig. I wasn't successful, but because I suceeded later doing <a href="https://github.com/plan44/plan44-feed/blob/master/pixelboard-config/p44build/global-patches/230-fbtft-kernel-drivers-enable.diff" rel="nofollow">something similar for TFT framebuffer drivers</a>, I forgot I failed for the sound modules and <em>thought</em> the codecs were selectable in menuconfig <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--wink" title=";-)" alt="😉" /></p>
]]></description><link>http://community.onion.io/post/19641</link><guid isPermaLink="true">http://community.onion.io/post/19641</guid><dc:creator><![CDATA[luz]]></dc:creator><pubDate>Wed, 19 Jun 2019 17:10:01 GMT</pubDate></item><item><title><![CDATA[Reply to I2S Issues on Wed, 19 Jun 2019 17:24:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4416">@UFD</a> BTW, regarding sound: my reason for wanting sound was background music for a game. So first I tried to get <code>timidity</code> working, but did not manage to get it play directly via asoc, and also found that it was a bit on the heavy side for the Omega2 with all the required instrument samples.</p>
<p dir="auto">Then a colleague hinted me at <a href="https://github.com/jfdelnero/HxCModPlayer" rel="nofollow">hxcmodplayer</a>, which can play the vintage .mod format (examples <a href="http://hxc2001.free.fr/hxcmod/index.html#" rel="nofollow">here</a>) and is extremely lightweight. I packaged it for openwrt <a href="https://github.com/plan44/plan44-feed/tree/master/hxcmodplayer" rel="nofollow">in my feed here</a>, just in case <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--wink" title=";-)" alt="😉" /></p>
]]></description><link>http://community.onion.io/post/19642</link><guid isPermaLink="true">http://community.onion.io/post/19642</guid><dc:creator><![CDATA[luz]]></dc:creator><pubDate>Wed, 19 Jun 2019 17:24:59 GMT</pubDate></item><item><title><![CDATA[Reply to I2S Issues on Thu, 05 Sep 2019 13:02:09 GMT]]></title><description><![CDATA[<p dir="auto">This topic seems to be making a lot of leeway with i2s audio. Is the actual hardware i2s driver the ralink-i2s driver? If so, I'd like to try to add support for the Audioinjector Stereo soundcard.</p>
]]></description><link>http://community.onion.io/post/20125</link><guid isPermaLink="true">http://community.onion.io/post/20125</guid><dc:creator><![CDATA[Jonathan Rizzo]]></dc:creator><pubDate>Thu, 05 Sep 2019 13:02:09 GMT</pubDate></item></channel></rss>