Echo issue on OM2008.08 solved

Daniel Nöthen bip_trash at gmx.net
Mon Oct 13 15:12:55 CEST 2008


Hello,

I finally found a place in the qtopia sources where I could put code for 
activating the
echo suppression for every incoming/outgoing call.
I'm quite sure that experienced qtopia programmers would find a better 
place for it.
But this just works. And as long as no other solution is out there I 
will share it
with other people who want to combat the echo.

The patch is against the latest snapshot of Holgers qtopia git.
commit: 09335e76e1762b97dad23b997978424ed10f8da1
Unfortunately this version doesn't load the gmshandset.state file when a
call is initiated.

When compiling with this patch a new libqtopiaphonemodem.so.4.3.2 is
created. I replaced this lib with the one on my OM2008.9.

Instead of compiling it yourself you can download the file here:
http://danielnoethen.de/libqtopiaphonemodem.so.4.3.2
Just replace it with the one in /opt/Qtopia/lib and restart qtopia with:
/etc/init.d/xserver-nodm restart

In combination with this gsmhandset.state file the volume of your
calling partner is loud enough, and vice versa.
http://danielnoethen.de/gsmhandset.state

It should work with every distro that uses qtopia-phone-x11_4.3.2

Regards,
Daniel

*** qmodemcall.cpp_orig 2008-10-13 13:49:37.000000000 +0200
--- qmodemcall.cpp      2008-10-13 14:06:02.000000000 +0200
***************
*** 164,169 ****
--- 164,173 ----
          return;
      }
 
+
+       // Send the echo and noise suppression command to the device.
+       provider()->atchat()->chat("AT%N0187");
+
      // Send the ATD command to the device.
      provider()->atchat()->chat
              ( provider()->dialVoiceCommand( options ),
***************
*** 309,314 ****
--- 313,322 ----
          command = provider()->acceptCallCommand( false );
      }
      provider()->atchat()->chat( command, this, SLOT(acceptDone(bool)) );
+
+       // Send the echo and noise suppression command to the device.
+       provider()->atchat()->chat("AT%N0187");
+
  }
 
  class QHoldUserData : public QAtResult::UserData






More information about the community mailing list