Echo issue on OM2008.08 potentially solved

Yorick Moko yorickmoko at gmail.com
Fri Aug 29 10:15:21 CEST 2008


On Fri, Aug 29, 2008 at 9:48 AM, Florian Hackenberger
<f.hackenberger at chello.at> wrote:
> Hi!
>
> Thanks to a posting from "Freerunner_User" on the hardware mailing list
> [1], I got hold of the hidden AT commands concerning the AEC and noise
> reduction support of the TI Calypso. I quickly tried these commands and
> it solves the echo problem for me. I injected
> AT%N0187
> using minicom and gsm0710muxd on Om2008.08 while qpe was running. On the
> next call the echo was gone. I have not modified my alsa .state files
> at all and I'm running the official OM testing ASU branch.
>
> I'll cook up a patch to Qtopia-X11, but for the impatient here are some
> instructions for installing gsm0710muxd on Om2008.08 and injecting the
> command:
>
> Instructions are from
> http://wiki.openmoko.org/wiki/GPRS
> http://freeyourphone.de/portal_v1/viewtopic.php?f=21&t=295
>
> wget
> http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base/gsm0710muxd_0.9.1+gitr6fecc78198dd821bbe29efd096bd8fecd855179d-r0_armv4t.ipk
> wget
> http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base/libdbus-1-3_1.2.1-r3_armv4t.ipk
> wget
> http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base/libglib-2.0-0_2.16.4-r0_armv4t.ipk
> wget
> http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base/libgcc1_4.2.4-r3_armv4t.ipk
>
> $ opkg install libdbus-1-3_1.2.1-r3_armv4t.ipk
> Multiple packages (libdbus-1-3 and libdbus-1-3) providing same name
> marked HOLD or PREFER.  Using latest.
> Multiple packages (libdbus-1-3 and libdbus-1-3) providing same name
> marked HOLD or PREFER.  Using latest.
> Upgrading libdbus-1-3 on root from 1.1.20-r2 to 1.2.1-r3...
> Configuring libdbus-1-3
>
> $ opkg install libgcc1_4.2.4-r3_armv4t.ipk
> Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD
> or PREFER.  Using latest.
> Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD
> or PREFER.  Using latest.
> Upgrading libgcc1 on root from 4.1.2-r15 to 4.2.4-r3...
> Configuring libgcc1
>
> $ opkg install libglib-2.0-0_2.16.4-r0_armv4t.ipk
> Multiple packages (libglib-2.0-0 and libglib-2.0-0) providing same name
> marked HOLD or PREFER.  Using latest.
> Multiple packages (libglib-2.0-0 and libglib-2.0-0) providing same name
> marked HOLD or PREFER.  Using latest.
> Upgrading libglib-2.0-0 on root from 2.16.1-r4 to 2.16.4-r0...
> Configuring libglib-2.0-0
>
> $ opkg install
> gsm0710muxd_0.9.1\+gitr6fecc78198dd821bbe29efd096bd8fecd855179d-r0_armv4t.ipk
> Multiple packages (gsm0710muxd and gsm0710muxd) providing same name
> marked HOLD or PREFER.  Using latest.
> Installing gsm0710muxd
> (0.9.1+gitr6fecc78198dd821bbe29efd096bd8fecd855179d-r0) to root...
> Configuring gsm0710muxd
>
> $ ln -s /etc/init.d/gsm0710muxd /etc/rc5.d/S34gsm0710muxd
>
> Added the following lines to /etc/X11/Xsession.d/89qtopia
>
> identvar=$(date +%s)
> ptsvar=$(dbus-send --system --print-reply --type=method_call --dest=org.pyneo.muxer /org/pyneo/Muxer
> org.freesmartphone.GSM.MUX.AllocChannel string:$identvar | grep
> string | awk -F '"' '{ print $2 }')
> export QTOPIA_PHONE_DEVICE=$ptsvar
>
> rebooted
>
> You should install minicom before requesting the modem device as muxd
> seems to remove the device after a while of inactivity.
>
> Now you can request a new device for the modem using:
> identvar=$(date +%s)
> dbus-send --system --print-reply --type=method_call --dest=org.pyneo.muxer /org/pyneo/Muxer
> org.freesmartphone.GSM.MUX.AllocChannel string:$identvar | grep
> string | awk -F '"' '{ print $2 }'
>
> It should print something like '/dev/pts/2'. Now use 'minicom -s' and
> set the device under 'serial device' to the value printed by dbus-send.
> Wait for a response to the AT initiation sequence and then type in:
> AT%N0187
>
> The modem should respond with a message that AEC and Noise reduction is
> now on.
>
> Call the Neo from another phone where you heard an echo before and see
> if the echo is gone.
>
> Cheers,
>        Florian
>
> [1]
> http://n2.nabble.com/calypso-hardware-echo-suppression--tp784752p786187.html
> --
> DI Florian Hackenberger
> florian at hackenberger.at
> www.hackenberger.at
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

Nice work!

I assume a comparable sollution for 2007.2 will also be possible.




More information about the community mailing list