A few new features have been pushed in the last two days.
Most significant is rtl_adsb, a fast and simple ADS-B decoder. It is
not the most sensitive decoder (Prog's and rtl-1090 pick up a few more
planes) but it works fairly well. Of course it lacks the interactive
maps of other software, however the output can be piped into fancier
programs or across the network with netcat. To use it, just run
"rtl_adsb". It does not need any options and can pick up plenty of
signals with only the stock antenna.
Here is a snippet if you plan to use rtl_adsb over the network:
while true; do rtl_adsb -R | nc -lp 8080; done
Where -R enables raw mode, 8080 is the port of choice, and the while
loop restarts netcat after network disconnections.
Rtl_fm also got a few tweaks to make it work better with AM voice
airband. Rtl_fm could always do scanning but it needed every
frequency listed out explicitly. Kind of awkward with hundreds of
airband channels. So now you can use ranges:
rtl_fm -M -f 118M:137M:25k -s 12k -l 280 | ....
That will scan every voice channel. Adjust squelch level for local conditions.
Also of note are two little convenience features in rtl_fm. If the
output filename is omitted, stdout is assumed. And the use of k/M/G
in addition to e3/e6/e9.
-Kyle
http://kmkeen.com
Under OpenBSD 5.0 I get:
Linking C executable rtl_test
/usr/bin/ld: cannot find -lrt
collect2: ld returned 1 exit status
gmake[2]: *** [src/rtl_test] Error 1
gmake[1]: *** [src/CMakeFiles/rtl_test.dir/all] Error 2
gmake: *** [all] Error 2
It built librtlsdr.so.0.0, rtl_eeprom, rtl_fm, rtl_sdr, rtl_tcp so I think it mostly worked.
In /usr/tmp/hardware/rtl_dongle/osmocom/git/rtl-sdr/build/src/CMakeFiles/rtl_test.dir/link.txt I see:
-lpthread -lm -lrt -Wl
The whole link.txt says (continuation \ added by me to shorten lines):
/usr/bin/gcc -DNDEBUG -L/usr/local/lib CMakeFiles/rtl_test.dir/rtl_test.c.o \
-o rtl_test librtlsdr.so.0.0 /usr/local/lib/libusb-1.0.so.1.0 -lpthread -lm \
-lrt -Wl,-rpath,/usr/tmp/hardware/rtl_dongle/osmocom/git/rtl-sdr/build/src \
-Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib
It looks like it's trying to link against a library it hasn't installed yet.
Is this just an OpenBSD thing or has it happened to anyone else? I saw hamlib do something similar but I had an old version of that installed.
Alan, ab1jx
----------------------------------------------
Radio Astronomy - the ultimate DX
Hi all,
I am trying to run multimode in grc and have it connect to a rtl_tcp server
on another pc. (RaspberryPi)
If I do this on a machine without local rtl-sdr that does work. If I run
this at a pc which has also a local rtl-sdr it always chooses rtl device 0
and not the rtl_tcp server. Both systems run ubuntu 12.04 and the same grc
and multimode versions.
The commando used on both systems is python multimode.py --devinfo=rtl_tcp=
192.168.0.50:1234
Any hints how to solve this?
Thanks,
Ben
Hi,
I'm trying to make my rtl dongle work with gnuradio 3.6.1 on ubuntu
12.10. I compiled both recent rtlsdr and gr-osmosdr and all installed
fine. Right now I have osmosdr on the list of sources in gnuradio and
want just the example FFT display. When I run it the device gets opened
without errors but apparently I get no samples, because the plot is
blank. The dongle is Terratec T Stick PLUS and it works ok with rtl_fm.
Any hint what can be wrong?
The output when running:
linux; GNU C++ version 4.7.0; Boost_104900; UHD_003.004.002-0-unknown
Using Volk machine: sse3_32_orc
gr-osmosdr supported device types: file osmosdr fcd rtl rtl_tcp uhd
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Elonics E4000 tuner
This may be of interest - strace repeating output:
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"\20\0\10\0\30\0\200\4_NET_SUPPORTING_WM_CHECK", 32}, {NULL,
0}, {"", 0}], 3) = 32
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recv(4,
"\1\0\33\f\0\0\0\0\243\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
4096, 0) = 32
recv(4, 0xa5b6de8, 4096, 0) = -1 EAGAIN (Resource
temporarily unavailable)
recv(4, 0xa5b6de8, 4096, 0) = -1 EAGAIN (Resource
temporarily unavailable)
Regards, Marek
Hello,
I was wondering if it's still possible nowadays to find on the market RTL2832 USB sticks based on the Elonics E4000 tuner since they went bankrupt.
It seems that most of tuner chips used now are based on Fitopower FC0013.
In term of performance, which one is the best according to your experience ?
Regards
Mathias
Hello -
I cannot access the git://git.osmocom.org/rtl-sdr and git://git.osmocom.org/gr-osmosdr repositories. What is the name of the contact who is responsible for maintaining the osmocom-sdr git respositories, and what is their email address?
Details of the repositories errors are:
[brabante@localhost build]$ git clone --progress git://git.osmocom.org/rtl-sdr
Initialized empty Git repository in /home/brabante/devel/gnuradio/build/rtl-sdr/.git/
git.osmocom.org[0: 213.95.46.201]: errno=Connection refused
git.osmocom.org[0: 2001:780:45:f046::201]: errno=Network is unreachable
fatal: unable to connect a socket (Network is unreachable)
and
[brabante@localhost build]$ git clone --progress git://git.osmocom.org/gr-osmosdr
Initialized empty Git repository in /home/brabante/devel/gnuradio/build/gr-osmosdr/.git/
git.osmocom.org[0: 213.95.46.201]: errno=Connection refused
git.osmocom.org[0: 2001:780:45:f046::201]: errno=Network is unreachable
fatal: unable to connect a socket (Network is unreachable)
Thanks in advance.
Regards,
Ed Brabant, Contractor
SPAWAR (Space and Naval Warfare Systems Command) Systems Center (SSC) Pacific
Joint Tactical Networking Center (JTNC), Technical Directorate (TD), Standards Group
office: 619-767-4397
>
> This put everything in the correct place, but still a no-go. Python chokes on the line in top_block.py that says "import osmosdr". Module not found.
>
> I tried PYTHONPATH again to see if I could give python a hint, but no go.
>
> Just seems that python needs to be able to find the osmosdr module.
Kevin, presuming you have an otherwise clean build now of everything, and that it is all located in /opt/local then without me explaining why yet, try the following:
PYTHONPATH=/opt/local/lib/python2.7/site-packages \
DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/python2.7/site-packages:/opt/local/lib \
DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks gnuradio-companion /Users/mcquiggi/Desktop/top_block.py
I just appended your original python file to the end but you can just decide to launch the app by itself if you wish
If it doesn't work, you could check and see what exists at those locations before reporting back.
ls -lA /opt/local/lib/python2.7/site-packages
ls -lA /opt/local/lib/python2.7/site-packages:/opt/local/lib
ls -lA /opt/local/Library/Frameworks
I am bit rushed just now but I can explain my research & solution later.
Ken
Hello,
I'm trying to get work RTL dongle in gnuradio, but when I'm
compiling the gr-osmosdr, there is still LIBRTLSDR_FOUND =
FALSE. I've checked the cmake input module and tried to correct
path for libraries to /usr/lib64, but I cannot find the *.h
files for librtlsdr.so (i've got rtl-sdr form git).
Thank you for help.
Martin
PS: I'm using Fedora Core 17, AMD64.
--
Martin Bruchanov
Skype : bruxytronics
WWW : http://bruxy.regnet.cz/
GPG-Key : http://bruxy.regnet.cz/bruxy-gpg.key (0x8107ED53)
Linked-In : http://www.linkedin.com/in/bruxy
Google+ : http://gplus.to/BruXy
Hi All:
A question and plea for help please!
I am new to the list. I have used the rtl-sdr/osmosdr blocks in gnuradio companion before under Ubuntu, but am having problems getting them set up under Mac OS.
My gnuradio/grc install used the macports facility. Took a bit of time to get everything to compile, but grc comes up okay.
I have successfully downloaded, cmake/make, and installed the rtl-sdr and gr-osmocom packages from git.
I had to move all the installed files from /usr/local to /opt/local in order to get everything into the right place for the macports gnuradio to find it.
What works:
I can load grc and see the osmocom/rtl-sdr blocks. I can add and modify them as usual.
Here's a screen shot:
What doesn't work:
When I generate/run the flow graph, I get messages indicating that the osmosdr module cannot be found:
---
Executing: "/Users/mcquiggi/Desktop/top_block.py"
Traceback (most recent call last):
File "/Users/mcquiggi/Desktop/top_block.py", line 19, in <module>
import osmosdr
ImportError: No module named osmosdr
>>> Done
---
Note also that from my xterm if I enter simply:
Kevins-MacBook-Air:~ mcquiggi$ python -c "import osmosdr"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named osmosdr
Kevins-MacBook-Air:~ mcquiggi$
I get a python error.
There is an 'osmosdr' directory in /opt/local/lib/python2.7/site-packages/.
What I have tried:
- creatling a soft link called 'osmosdr' (ln -s) in /opt/local/lib/python2.7/ to /opt/local/lib/python2.7/site-packages/osmosdr
- setting PYTHONPATH to /opt/local/lib/python2.7/site-packages/
Here is the contents of /opt/local/lib/python2.7/site-packages/osmosdr:
Kevins-MacBook-Air:~ mcquiggi$ ls /opt/local/lib/python2.7/site-packages/osmosdr
__init__.py _osmosdr_swig.so osmosdr_swig.pyo
__init__.pyc osmosdr_swig.py
__init__.pyo osmosdr_swig.pyc
Kevins-MacBook-Air:~ mcquiggi$
So it looks like it -may- be a simple problem to solve, but I lack the necessary knowledge of how osmosdr integrates with gnuradio.
Any help appreciated,
Kevin