[From nobody Sat Aug 16 21:13:45 2008
From: Joerg Reisenweber &lt;joerg@openmoko.org&gt;
To: support@lists.openmoko.org
Subject: Re: Buzzing sound
Date: Tue, 5 Aug 2008 21:29:21 +0800
User-Agent: KMail/1.9.6 (enterprise 20070904.708012)
Cc: Ole Kliemann &lt;ole-om-lists-2008@mail.plastictree.net&gt;,
	Andy Green &lt;andy@openmoko.com&gt;
References: &lt;20080805140611.GC3421@telvanni.starfleet&gt;
In-Reply-To: &lt;20080805140611.GC3421@telvanni.starfleet&gt;
MIME-Version: 1.0
Content-Type: multipart/signed; boundary=&quot;nextPart1927798.xeoAN5HZXu&quot;;
	protocol=&quot;application/pgp-signature&quot;; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: &lt;200808052129.22147.joerg@openmoko.org&gt;

--nextPart1927798.xeoAN5HZXu
Content-Type: text/plain;
  charset=&quot;utf-8&quot;
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Am Di  5. August 2008 schrieb Ole Kliemann:
&gt; On Tue, Aug 05, 2008 at 07:49:51PM +0800, Joerg Reisenweber wrote:
&gt; &gt; Am Di  5. August 2008 schrieb Jeffrey Ratcliffe:
&gt; &gt; &gt; 2008/8/5 Andy Green &lt;andy@openmoko.com&gt;:
&gt; &gt; &gt; &gt; Like Ole says when I started looking at it, by calling a landline i=
n=20
the
&gt; &gt; &gt; &gt; same room and listening to its receiver lying on the desk, it varied
&gt; &gt; &gt; &gt; tremendously and not in a repeatable way.  Eg, it appeared to vary =
by
&gt; &gt; &gt; &gt; orientation of the phone, but when I traced the path backwards, the=
=20
buzz
&gt; &gt; &gt; &gt; did not return.
&gt; &gt; &gt;=20
&gt; &gt; &gt; OK. Confirming this - the buzzing seems to come and go in waves of
&gt; &gt; &gt; varying frequency. Even without touching the phone, the buzzing just
&gt; &gt; &gt; comes and goes.
&gt; &gt;=20
&gt; &gt; I noticed the buzz come and go in discrete steps. I guess that's=20
basestation=20
&gt; &gt; sending PCL commands to mobile, to level up/down the TX-power.
&gt; &gt; BS decides on this depending on signal-quality of MS as BS sees it.
&gt; &gt; It would be *very* helpful to confirm this, by using some RF-meter (e.g=
=2E=20
&gt; &gt; microwave leakage tester?), and/or reading the battery current, while=20
&gt; &gt; observing the noise come and go-
&gt;=20
&gt; I can only observe: I did this test some weeks ago at my home. The FR
&gt; has signaficantly better signal when held out of the window.=20
&gt;=20
&gt; When holding out of the window during a call, it takes a short moment
&gt; then buzzing disappears quite suddenly. Going back into the room again
&gt; after a moment the buzzing returns suddenly.
&gt;=20
&gt; So it comes and goes in discrete steps and it lags behind the change of
&gt; position.

That's exactly the behaviour we would expect when noise is related to=20
MS-TXPower controlled by a PCL command from BS. BS isn't responding to any=
=20
momentary change in signal-strength of inbound MS-signal, instead BS does=20
some averaging on signal-quality and then decides to send a PCL to MS=20
eventually.
There are a maximum of 32 PCL steps, actually not all of them are valid for=
=20
type of FR GSM-chipset.
Remark: FR immediately tore down the connection, when I sent a PCL command =
to=20
level up to an (invalid?) high powerlevel (PCL0. On &quot;CMU200 universal radio=
=20
communication tester&quot;, kind of a test-BS). But aside from that we still try=
=20
to reproduce the noise under controlled test environment. Strange enough, s=
o=20
far there seems to be no noise when on CMU200. Anyway tests are not complet=
ed=20
yet.=20
So it's very important to get as much detail as possible on situations wher=
e=20
noise actually is seen. Such as battery current, GSM-signal level, frequenc=
y=20
etc.

Quotes from  R&amp;S CMU200 manual:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
Power control level (PCL)
Dynamic power control is used in GSM networks to reduce
the output power of the mobile station as far as possible. In
practice the base station sets the mobile power on a dimen-
sionless scale of power control levels (PCL) ranging from 0 to
31. In GSM900, PCL 0 corresponds to the largest nominal
output power (39 dBm), power control levels between 16 and
31 can be set for phase II mobiles only.
In contrast to the PCL the power class characterizes the
nominal maximum output power of the mobile. Depending on
the power class of the mobile the range of possible PCL set-
tings may be restricted.
&lt;&lt;&lt;
&gt;&gt;&gt;&gt;
GSM mobile phones are divided into different power classes according to the=
ir=20
maximum output power:

    Power class        Nominal maximum output power in dBm
                       GSM400                GSM1800                 GSM1900
                       GSM GT800
                       GSM850
                       GSM900
    1                     =E2=80=93                     30                 =
      30
    2                     39                    24                       24
    3                     37                    36                       33
    4                     33
    5                     29




Besides, a dimensionless scale of power control levels (PCL) is determined =
for=20
dynamic control of the mobile power:

   GSM Power control levels (PCL)
Power control level, PCL                Nominal output power in dBm
                           GSM400/          GSM1800            GSM1900
                           GSM GT800
                           GSM850/
                           GSM900
      0                       39                 30                30
      1                       39                 28                28
      2                       39                 26                26
      3                       37                 24                24
      4                       35                 22                22
      5                       33                 20                20
      6                       31                 18                18
      7                       29                 16                16
      8                       27                 14                14
      9                       25                 12                12
     10                       23                 10                10
     11                       21                 8                  8
     12                       19                 6                  6
     13                       17                 4                  4
     14                       15                 2                  2
     15                       13                 0                  0
     16                       11                 0                  0
     17                       9                  0                  0
     18                       7                  0                  0
   19 - 28                    5                  0                  0
     29                       5                  36                36
     30                       5                  34                33
     31                       5                  32                32

                         PCL 16 to 31 for  PCL 11 to 15, 29   PCL 11 to 15,
                         phase 2 only      to 31 for phase 2  29 to 31 for
                                           only               phase 2 only
&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;





&gt;=20
&gt; BTW: Not that I would know anything about these things. But would it be
&gt; possible to lower the TX-power of the FR to see how far down you can go
&gt; without loosing connection?=20
The maxmum TX-level is a parameter that can be set in firmware (see power=20
class above). So we could patch the firmware for GSM-chipset to disallow=20
levels of TXPower, that are causing problems with GSM-noise. Anyway hat=20
probably would cause a reduced connectivity, means FR isn't able to place a=
=20
call at all in situations where before we had the possibility to have a cal=
l=20
with noise issue. Fore sure there is a wide range of signal levels where th=
e=20
BS would like to increase the MS-TXpower, but still is able to keep the=20
connection even when we refuse to power up. These situations probably could=
=20
be augmented by choosng a different power class for FR.
Alas it seems there is no AT-command or other means to this from userspace,=
 I=20
guess the only way to do this is by flashing new firmware to the calypso.


&gt;=20
&gt; I have active speakers in my room that catch GSM signals. I noticed
&gt; several times that the noise in the speakers when the phone is
&gt; registering is louder with the FR than with a Motorola V3x with the same
&gt; SIM.

Hmmm, maybe source side signal quality of FR (the generated RF-signal) is
inferior compared to the other phone, so BS would compensate for this by=20
pushing up FR's TXPower. :-/

There's a lot of tests we have to do, and a lot of questions not answered y=
et.

cheers
jOERG

--nextPart1927798.xeoAN5HZXu
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQBImFWy7Xtwhpk1UgwRAhDaAJ9690mUWcxtWxRWObQd4UWvwpkh9gCgiADi
EMbHbX9YPUztP3vCPmk82OY=
=tzOG
-----END PGP SIGNATURE-----

--nextPart1927798.xeoAN5HZXu--
]