I’ve resolved, I think, my previous question about the module path. The
module rtlsdr does not exist on my system even though I have the rtlsdr
library installed. So, I presume that the module has to be created
somehow.
Moving on, I’m trying to get multimode.py going and again I’ve run up
against a missing module. This time it’s osmosdr and again I have
osmosdr installed but not the module osmssdr.py.
So my question is, how do I create the module osmosdr so that I can
continue my way through multimode.py?
So my question is, how do I create the module osmosdr so that I can continue
my way through multimode.py?
You have to install gr-osmosdr to get proper RTL-SDR support in GNU
Radio.
Osmosdr is for the Osmo SDR hardware, gr-osmosdr is the wrapper into GNU
Radio: http://cgit.osmocom.org/cgit/gr-osmosdr/
I’m wondering why you want to work in python instead of
gnuradio-companion?
So my question is, how do I create the module osmosdr so that I can continue
my way through multimode.py?
You have to install gr-osmosdr to get proper RTL-SDR support in GNU Radio.
Osmosdr is for the Osmo SDR hardware, gr-osmosdr is the wrapper into GNU Radio: http://cgit.osmocom.org/cgit/gr-osmosdr/
Thanks for your reply Alex,
I have both rtlsdr and osmsdr installed. The applications that I’m
trying to get going both need either rtlsdr and or osmosdr python
modules which aren’t on my system. So I guessed that I have to build the
modules, somehow.
I’m wondering why you want to work in python instead of gnuradio-companion?
I have gnuradio-companion installed but that looks even more
unfathomable than trying to get a python application going.
Do you have a suggestion on how I might get something going using
gnuradio-companion?
I got it recently running with the gnuradio 3.6 and a Noxon DAB stick.
I had to change the usb ID in librtlsdr.c line 205
//{ 0x0ccd, 0x00b3, “Terratec NOXON DAB/DAB+ USB dongle (rev 1)” },
{ 0x0ccd, 0x00c6, “Terratec NOXON DAB/DAB+ USB dongle (rev 1)” },
you cn get it with lsusb and check if yours is in the source.
Did you run ldconfig after installing, which is responsable for updating
the pathes to the modules I think.
gnuradio-companion block (assuming that you have them in your
PYTHONPATH etc).
On my system it is installed in
/opt/gr-osmosdr/lib/python2.7/dist-packages/ because I used prefix
/opt/gr-osmosdr during compilation (default prefix is usually
/usr/local)
So, which one have you installed, osmo-sdr or gr-osmosdr?
Thanks again Alex and Fredie,
I thought I had both osmo-sdr and gr-osmosdr installed but I only have
gr-osmosdr which is what I need anyway.
I have both rtlsdr and osmsdr installed. The applications that I’m trying to
get going both need either rtlsdr and or osmosdr python modules which aren’t
on my system. So I guessed that I have to build the modules, somehow.
What exactly do you mean by “osmosdr” ?
There is a package called osmo-sdr which is for the Osmo SDR hardware.
You do not need that if you want to use RTL2832U-based dongles.
Then there is gr-osmosdr (note the gr- prefix), which provides access
to RTL2832U-based dongles in GNU Radio.
If you install this you will have both C++ library, python module and
gnuradio-companion block (assuming that you have them in your
PYTHONPATH etc).
On my system it is installed in
/opt/gr-osmosdr/lib/python2.7/dist-packages/ because I used prefix
/opt/gr-osmosdr during compilation (default prefix is usually
/usr/local)
So, which one have you installed, osmo-sdr or gr-osmosdr?
I’m wondering why you want to work in python instead of
gnuradio-companion?
I have gnuradio-companion installed but that looks even more unfathomable
than trying to get a python application going.
Do you have a suggestion on how I might get something going using
gnuradio-companion?
As far as I could see, the python application you referred to was
generated from a gnuradio-companion file called multimode.grc: https://www.cgran.org/browser/projects/multimode/trunk/
so you can just open up that file in gnuradio-companion.
Alex
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.