My freerunner is awake when I receive call.<br><br><div class="gmail_quote">On Tue, Mar 10, 2009 at 11:11 PM, andrew howlett <span dir="ltr">&lt;<a href="mailto:andrew@howlett.net">andrew@howlett.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hi Chris,<br>
<br>
Thanks for the update. I&#39;ve been using the 4.4.2 patch against 4.4.3 source<br>
with no compile problems and no echo since 4.4.3 was released last week.<br>
<br>
Hats off and many thanks for fixing the echo/noise reduction problems.<br>
<br>
andrew howlett,<br>
owen sound, canada.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
Chris Samuel wrote:<br>
&gt;<br>
&gt; The original Qt Extended 4.4.3 initially set both echo<br>
&gt; suppression and noise reduction in separate AT commands<br>
&gt; which might result in the second command negating the<br>
&gt; first one.  It also only set them for outgoing calls.<br>
&gt;<br>
&gt; This new version uses the AT command to set both<br>
&gt; echo suppression and noise reduction at the same<br>
&gt; time as well as setting them on initialisation and<br>
&gt; after a wake up.<br>
&gt;<br>
&gt; This is identical to the patch against QtE 4.4.2 and<br>
&gt; applied cleanly with no fuzz with QtE 4.4.3.<br>
&gt;<br>
&gt; Signed-off-by: Chris Samuel &lt;<a href="mailto:chris@csamuel.org">chris@csamuel.org</a>&gt;<br>
&gt; ---<br>
&gt;  .../src/plugins/phonevendors/neo/vendor_neo.cpp    |   17<br>
&gt; ++++++++++++++---<br>
&gt;  1 files changed, 14 insertions(+), 3 deletions(-)<br>
&gt;<br>
&gt; diff --git a/devices/neo/src/plugins/phonevendors/neo/vendor_neo.cpp<br>
&gt; b/devices/neo/src/plugins/phonevendors/neo/vendor_neo.cpp<br>
&gt; index d27b4eb..35f7a0b 100644<br>
&gt; --- a/devices/neo/src/plugins/phonevendors/neo/vendor_neo.cpp<br>
&gt; +++ b/devices/neo/src/plugins/phonevendors/neo/vendor_neo.cpp<br>
&gt; @@ -153,8 +153,7 @@ QString NeoCallProvider::dialVoiceCommand(const<br>
&gt; QDialOptions&amp; options) const<br>
&gt;  // do undocumented echo cancellation and noise reduction<br>
&gt;<br>
&gt;      modemService-&gt;primaryAtChat()-&gt;chat( &quot;AT@ST=\&quot;-26\&quot;&quot; );<br>
&gt; -    modemService-&gt;primaryAtChat()-&gt;chat( &quot;AT%N028B&quot; );<br>
&gt; -    modemService-&gt;primaryAtChat()-&gt;chat( &quot;AT%N0125&quot; );<br>
&gt; +    modemService-&gt;primaryAtChat()-&gt;chat( &quot;AT%N0187&quot; );<br>
&gt;      return QModemCallProvider::dialVoiceCommand(options);<br>
&gt;  }<br>
&gt;<br>
&gt; @@ -551,11 +550,14 @@ NeoModemService::NeoModemService<br>
&gt;<br>
&gt;      //  chat(&quot;AT%CMGRS=1&quot;); //message transmission to get any failed sms<br>
&gt; during suspend<br>
&gt;<br>
&gt; -   chat(&quot;AT%SLEEP=2&quot;); //makes my Moko8 not respond to calls during<br>
&gt; sosuend<br>
&gt; +   chat(&quot;AT%SLEEP=2&quot;); //makes my Moko8 not respond to calls during<br>
&gt; suspend<br>
&gt;      // Turn cell id information back on.<br>
&gt;      chat( &quot;AT+CREG=2&quot; );<br>
&gt;      chat( &quot;AT+CGREG=2&quot; );<br>
&gt;<br>
&gt; +    // Turn on echo suppression and noise reduction.<br>
&gt; +    chat( &quot;AT%N0187&quot; );<br>
&gt; +<br>
&gt;      QTimer::singleShot(200, this, SLOT(sendRego()));<br>
&gt;  }<br>
&gt;<br>
&gt; @@ -572,6 +574,9 @@ void NeoModemService::sendRego()<br>
&gt;      if( !cfg.value(&quot;PlaneMode&quot;,false).toBool()) {<br>
&gt;          //       chat(&quot;AT%NRG=0,0&quot;); //force auto operations<br>
&gt;          chat(&quot;AT+COPS=0&quot;); //force auto operations<br>
&gt; +<br>
&gt; +        // Turn on echo suppression and noise reduction.<br>
&gt; +        chat( &quot;AT%N0187&quot; );<br>
&gt;      }<br>
&gt;  }<br>
&gt;<br>
&gt; @@ -679,6 +684,9 @@ void NeoModemService::reset()<br>
&gt;      chat(&quot;AT%CWUP=1&quot;);<br>
&gt;      chat(&quot;ATE0&quot;);<br>
&gt;<br>
&gt; +    // Turn on echo suppression and noise reduction.<br>
&gt; +    chat( &quot;AT%N0187&quot; );<br>
&gt; +<br>
&gt;      // Turn on &quot;%CNAP&quot; notifications, which supply the caller&#39;s<br>
&gt;      // name on an call.  Only supported on some networks.<br>
&gt;      chat( &quot;AT%CNAP=1&quot; );<br>
&gt; @@ -738,6 +746,9 @@ void NeoModemService::wake()<br>
&gt;<br>
&gt;      // Re-enable signal quality notifications when the system wakes up<br>
&gt; again.<br>
&gt;      chat( &quot;AT%CSQ=1&quot;, this, SLOT(mcsqOn()) );<br>
&gt; +<br>
&gt; +    // Turn on echo suppression and noise reduction.<br>
&gt; +    chat( &quot;AT%N0187&quot; );<br>
&gt;  }<br>
&gt;<br>
&gt;  void NeoModemService::mcsqOff()<br>
&gt; --<br>
&gt; 1.5.6.3<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Openmoko community mailing list<br>
&gt; <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
&gt; <a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
&gt;<br>
&gt;<br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/-PATCH--Added-echo-suppression-fixes-for-the-OpenMoko-Neo-phone.-tp2448716p2455741.html" target="_blank">http://n2.nabble.com/-PATCH--Added-echo-suppression-fixes-for-the-OpenMoko-Neo-phone.-tp2448716p2455741.html</a><br>

Sent from the Openmoko Community mailing list archive at Nabble.com.<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br><br>HouYu Li, Karajan<br><br>karajan_ii (at) <a href="http://hotmail.com">hotmail.com</a><br>karadog (at) <a href="http://gmail.com">gmail.com</a><br>
lihouyu (at) <a href="http://phpex.net">phpex.net</a><br><br>PHP Developer<br>Red Hat Certified Engineer<br><br>Shanghai, China<br>