<?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[Porting to Samsung Galaxy S7 - help needed to make sound work]]></title><description><![CDATA[<p dir="auto">I am working on a porting Ubuntu Touch to the Samsung Galaxy S7 - herolte. I have added info on the current state of things here: <a href="https://docs.halium.org/en/latest/supplementary/devices/index.html" rel="nofollow ugc">https://docs.halium.org/en/latest/supplementary/devices/index.html</a></p>
<p dir="auto">The issue I am currently working on is sound. Here is what I have found out so far:</p>
<ul>
<li>A sound card is registered, as confirmed from the output of 'aplay -l' and 'aplay -L'</li>
<li>'sudo dmesg | grep audio' gives 'lucky-audio sound: lucky_suspend_post : set AIF1 to slave'</li>
<li>'cat /var/log/syslog | grep pulseaudio' gives a good deal of output, among other things a few error messages, notably a complaint about not being able to parse any configuration, as well as not being able to load module-droid-card-24 and failing to open module-droid-glue-24</li>
</ul>
<p dir="auto">What configuration is it pulseaudio cannot find/parse, and where should it be located?<br />
Why does module-droid-card-24 not get loaded when it is definitely present?<br />
And why can module-droid-glue-24 not be read when it also clearly is present?</p>
<p dir="auto">Are there other steps I need to take to pinpoint the source of the problem? I have been banging my head at this for a couple of weeks now with no luck, so help would be greatly appreciated!</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forums.ubports.com/topic/4389/porting-to-samsung-galaxy-s7-help-needed-to-make-sound-work</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 11:18:01 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/4389.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Jun 2020 19:09:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Porting to Samsung Galaxy S7 - help needed to make sound work on Tue, 16 Jun 2020 09:54:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/keneda" aria-label="Profile: Keneda">@<bdi>Keneda</bdi></a> Thanks.</p>
<p dir="auto">The reason is that I passed the argument 'rate=44100' to the module module-droid-discover in the file <a href="http://touch.pa" rel="nofollow ugc">touch.pa</a>, which in turn means that this argument gets passed in the correct way.</p>
<p dir="auto">However, the effect should be that that the sampling rate gets set to this value, but that does not happen, and I do not understand why, since I can set it correctly from the command line using pactl</p>
]]></description><link>https://forums.ubports.com/post/35045</link><guid isPermaLink="true">https://forums.ubports.com/post/35045</guid><dc:creator><![CDATA[aribk]]></dc:creator><pubDate>Tue, 16 Jun 2020 09:54:39 GMT</pubDate></item><item><title><![CDATA[Reply to Porting to Samsung Galaxy S7 - help needed to make sound work on Sun, 14 Jun 2020 11:45:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aribk" aria-label="Profile: aribk">@<bdi>aribk</bdi></a> said in <a href="/post/34888">Porting to Samsung Galaxy S7 - help needed to make sound work</a>:</p>
<blockquote>
<p dir="auto">'requested rate=44100 but got rate=48000'</p>
</blockquote>
<p dir="auto">Seems like sampling is expected to be 44.1Khz but actually is 48Khz.<br />
That indeed could be a sampling rate issue so, yes...</p>
<p dir="auto">Can't help you further sorry, i'm not a hacker.</p>
]]></description><link>https://forums.ubports.com/post/34889</link><guid isPermaLink="true">https://forums.ubports.com/post/34889</guid><dc:creator><![CDATA[Keneda]]></dc:creator><pubDate>Sun, 14 Jun 2020 11:45:13 GMT</pubDate></item><item><title><![CDATA[Reply to Porting to Samsung Galaxy S7 - help needed to make sound work on Sun, 14 Jun 2020 11:39:01 GMT]]></title><description><![CDATA[<p dir="auto">Update:<br />
I got help reading the output of</p>
<pre><code>cat /var/log/syslog | grep pulseaudio
</code></pre>
<p dir="auto">Based on error messages therein, I edited out three sections from audio_policy.conf</p>
<p dir="auto">After recompiling I now have sound, but it is not clean. The quality is like "poor FM radio reception".</p>
<p dir="auto">Now I need to determine the cause of this and make adjustments accordlingly. So far I have few clues. Some say sampling rate could be the cause. I adjusted the argument in my <a href="http://touch.pa" rel="nofollow ugc">touch.pa</a> file which passes rate to the module-droid-card-24 at load time. This did not help. syslog shows that 'requested rate=44100 but got rate=48000'</p>
<p dir="auto">I don't know what to try next...</p>
]]></description><link>https://forums.ubports.com/post/34888</link><guid isPermaLink="true">https://forums.ubports.com/post/34888</guid><dc:creator><![CDATA[aribk]]></dc:creator><pubDate>Sun, 14 Jun 2020 11:39:01 GMT</pubDate></item></channel></rss>