<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Gents,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Graham Norbury dug into the Airspy library sometime back and came up with a fix to enable/disable the various gain modes.   I want to recall that he patched some of the existing code<o:p></o:p></p><p class=MsoNormal>to allow additional args to control these gain modes.   So it’s likely the following will only apply to the boatbod version of op25.   <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The yellow highlighted text below in my rx.py command line is an example of how my R2 device was set to manual gain mode whereby the device responds to user specified LNA, MIX, <o:p></o:p></p><p class=MsoNormal>and IF gain settings. <o:p></o:p></p><p class=MsoNormal><b><o:p> </o:p></b></p><p class=MsoNormal><b>./rx.py --args <span style='background:yellow;mso-highlight:yellow'>"airspy=0,sensitivity=0,linearity=0,bias=0" </span>-N 'LNA:15,MIX:15,IF:10' -S 2500000 -T trunk.tsv ………<o:p></o:p></b></p><p class=MsoNormal><b><o:p> </o:p></b></p><p class=MsoNormal>Bill<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> op25-dev <op25-dev-bounces@lists.osmocom.org> <b>On Behalf Of </b>Graham Norbury<br><b>Sent:</b> Saturday, September 5, 2020 7:25 AM<br><b>To:</b> op25-dev@lists.osmocom.org<br><b>Subject:</b> Re: [op25-dev] rx.py Airspy MASTER GAIN Setting option?????<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>This happens when the agc is turned on.  Bill Becks and I experimented with it a while back and found a way to enable/disable, but at this moment I don't recall the magic incantation.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Graham<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Sat, Sep 5, 2020, 7:23 AM <<a href="mailto:op25@zellners.com">op25@zellners.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal style='margin-bottom:12.0pt'><br>Quoting Graham Norbury <<a href="mailto:gnorbury@bondcar.com" target="_blank">gnorbury@bondcar.com</a>>:<br><br>> I'm not aware of a master gain parameter.   LNA, MIX, IF are the three gain<br>> controls.  All take value between 0-15.<br>><br>>><br>>> ./rx.py --args 'airspy' -N 'IF:10,MIX:5,LNA:15' -S 2500000 -f<br>>> 774.55625e6 -v 7 -T P25PC.tsv -q 2 -V -2  -U -x 2 2>> airspy.log<br><br><br>I reran my tests on this again, using -N 'IF:,MIX:,LNA:' like above  <br>with 0-15 values.<br><br>The spike for the CC, as a test, didn't budge at all, all 15, or  <br>anything in between, no changes.<br><br>It is significantly lower to start -20 to -40db lower v. other  <br>programs and depending on antenna.<br><br>Its almost like the gains are set to 0 or something and never  <br>change??? ? ? ? ?<br><br>Even using a duck direct to the Airspy with another program results in  <br>much higher signals on its spectrum, and gains will adjust accordingly.<br><br>Changes will occur in another program with adjustments to all 3  <br>(outside its faked single slider mode, using just the REAL GAINS),  <br>gains shows changes in the signals and noise floor.<br><br>In op25, not a bit of change at all in any thing. noise or signal.  <br>Like these are not being sent? Or not taking affect?? ? ? 15 for all,  <br>combos of values, even things like 50 for all three, no changes.<br><br><br>I am not sure what to even try at this point? Other than missing lib  <br>when it was compiled??? I didn't have the airspy then or airspy  <br>pacakges installed when compiled.. does that change anything??? It  <br>seems to work regardless of that, it tunes, it will trunk, voice etc.,  <br>just the gains don't seem to do a thing at all. IF there was something  <br>missing in this, I would expect it to fail to tune, audio etc..<br><br>Ideas?????<br><br><br><o:p></o:p></p></blockquote></div></div></body></html>