Hello Rein,
> Still not quite getting the RTLSDR lib use / installation understood.
>
> There are I think, now 2 so-called libraries, one OSMO one and one you have
> updated or perhaps update more frequently than the OSMO one.
There are several versions of librtlsdr around. The main problem
is that the developers at Osmocom do not want to include different
gain modes.
The recommended procedure to install librtlsdr is to first
delete /usr/local/lib/librtlsdr.so and then run ./configure --with-help
Linrad would give you the currently recommended library which
at the moment is
https://github.com/dl8aau/librtlsdr.git
Just copy the installation commands and paste into your
command window.
For R820T or R820T2 users I introduced a bandwidth setting which
gives a dramatic performance improvement in some situations.
That mod is included in the dl8aau library and I think it
has been accepted in the Osmocom library - but probably implemented
a bit differently. I have not yet tested it. One of my projects
is an updated version of rtlsdr intended to allow different functions
for the R820T and R820T2.
There is already a version here:
http://www.sm5bsz.com/linuxdsp/hware/rtlsdr/rtl-sdr-linrad5.tbz
it only differs from the dl8aau version in that it contains a bug
correction that is needed on very slow computers only. It prevents
Linrad to crash on exit without it, the crash makes it impossible
to change parameters.
> I am using the OSMO one now , I think but in your video you are using
> another one, more gain mode selections and your max indicated gain is I
> believe 64 dB here, it is 50 dB.
Do not worry about the number. The dB scales have different zero points.
> some time ago you introduced Dongles that could be used as Linrad hardware.
> and became the rtlsdr lib in use
???????????????????
I do not understand what you mean here.
> Then, later you suggested that before installing Linrad to remove rtlsdr
> libs to remove from the computer and install the library via .the
> ./configure help instructions.
Yes. This is the way to install everything you might want in Linrad.
> Later I think, you included the library with the svn package ( I guess the
> OSMO version? ) to be selected by selecting under "gain" hardware selection.
???????????????????
No. You may find that different Linrad versions may suggest different
installation procedures. Older Linrad versions might suggest
wget
http://www.sm5bsz.com/linuxdsp/hware/rtlsdr/rtl-sdr-linrad4.tbz
or earlier and 04-07 might want rtl-sdr-linrad6.tbz
> I have always been using the svn versions her and still have that version (
> most recent ) instead of the just released 4.06 version.
>
> So my real question is what should I do to get your RTLSDR lib version (
> with the 4 mode selections for the RTL-SDR selection )
>
> to install that version ( suppose not OSMO )
>
> is this the correct action? below.
>
> ================================
>
>
> rm -r /usr/src/rtl-sdr*
> cd /usr/src
> git clone
>
> cd rtl-sdr/src
> mv librtlsdr.c librtlsdr.c.old
> wget
http://sm5bsz.com/linuxdsp/archive/rtlsdr/librtlsdr.c
> mv tuner_e4k.c tuner.e4k.c.old
> wget
http://sm5bsz.com/linuxdsp/archive/rtlsdr/tuner_e4k.c
> cd ..
> mkdir build
> cd build
> cmake ../
> make
> make install
>
>
> ================================
No, the above is VERY old. It only works for the E4000 tuner - and
it needs an old version from Osmocom.
This is old, I do not remember if it has gain modes for the R820T.
Probably it has, but probably there is no bandwidth setting
available. It will definitely be equivalent to the latest
if you have an E4000 tuner.
> Also should I remove an "other version" before configuring the svn
> version or not?
?????????????????????
Do you refer to Linrad versions here? That would be a misconception.
When you install a linrad version. New or old, it is a good idea
to leave all old Linrad installations unchanged. The Linrad directory
contains all the configuration files for Linrad and another Linrad
directory will not be affected. A complete Linrad backup is something
like cp /home/bsz/linrad-04.06/* /home/bsz/test4711
Then cd /home/bsz/test4711 start Linrad and change parameters.
The original will not be affected.
***************************************************************************
Setting up your Linux environment to support the hardware that you want
to use with Linrad is quite another thing. Once you have done it, the
relevant files are in place. You can then install or delete any version
of Linrad within the limitations set by the gcc compiler and X11. If you
try to install Linrad-03.00 on a modern system you would get this:
error: ‘XKeycodeToKeysym’ is deprecated
It is fairly easy to look at the corresponding lines of a recent linrad
package and make the necessary mod in case you really want to experiment
with old Linrad versions.
The configure script of old Linrad versions might require some more
packages than those needed today, installing them will not make your system
different as seen by the latest Linrad version.
The configure script of old versions may point to Internet sites that
no longer exist - but recent versions will point to working libraries.
A typical case:
--------- snip ----------
Project Hosting on Google Code will close on January 25th, 2016.
(
http://google-opensource.blogspot.it/2015/03/farewell-to-google-code.html).
So, together with Nico, we decided to move all the code to a github
repository found here:
https://github.com/amontefusco/libperseus-sdr
--------- snip ----------
All linrad users that already have the perseus library installed will
notice nothing and will need to do nothing. Installing libperseus-sdr
by use of linrad-04.06 and earlier will not be possible in the
future but linrad-04.07 and later will give the instructions how to
download and compile from
github.com
The rtlsdr library is a special case since Osmocom up to now (as far
as I know) does not want to include gain modes. There are other forks
of rtlsdr that allow a wider frequency coverage and it is not a Linrad
thing which driver you prefer to use with your dongle. Since there are
different forks there is no safe way to investigate the library.
The number of supported tuners is likely to increase and I do not want
to build wisdom about all the tuners into Linrad. You know what tuner
you have. If you do not see the functions that it should have you need
another librtlsdr.so - you might even find that an USB dongle that
is said to work in other SDR software does not work with the Library
suggested by the Linrad configure script. Osmocom continously updates
for new tuners but the forks may not be updated. I actually do not
want to maintain my own version of librtlsdr but since the gain modes
provide an essential performance improvement I feel I have to until
Osmocom reconsiders.
> Main interets are weak carrier detection in a low signal environment (
> space craft ) and power/loss and noise figure issues besides that
> WSPR and WSJT ( JT4 ,. JT9 ) probbly with second Raspberry Pi
Then you would probably be quite happy with the Osmocom compromise
for setting gain:-)
73
Leif