Search the Community
Showing results for tags 'gnuradio source'.
Hey All, I am now trying for weeks to setup Gnuradio Companion (3.7.5) with my RTL 2832U... I installed the RTL-SDR and the gr-osmosdr driver as described on Osmocom's Website. "rtl_test -t" works as well as "osmocom_fft -a rtl=0 -v -f 100e6 -s 2.4e6 -g 15" so I think those drivers are properly installed. Nevertheless no source blocks appear in Gnuradio Companion. So does anyone know what I did wrong or what I could try? Is there a fault in the cmake process of gr-osmosdr (cmake output: http://textuploader.com/651n )? Do I need those disabled components: Osmocom IQ Imbalance Correction, sysmocom OsmoSDR? By the way I am using Opensuse 13.2. It would be great if someone could help me. Thanks in advance! Marius
I've spent countless hours trying to get GNURadio-Companion to install along with the needed "source blocks" to make an RTL-SDR Dongle work. Online documention on this is very poor. But I've got it to work, and just for fun I did it twice! This How-To assumes you're running a freshly installed Ubuntu 14.04.1 LTS & assumes you're sort of a newbie to Linux as I am. Below are the commands you type, do not include the quote signs. 1) Log into a desktop terminal 2) Make sure you're in your home directory by typing "cd ~" 3) Type "sudo apt-get install git-core" 4) Type "sudo apt-get install cmake" 5) Type "sudo apt-get install libusb-1.0-0-dev" 6) Type "sudo apt-get install build-essential" 7) Type "git clone git://git.osmocom.org/rtl-sdr.git" 8) Type "cd rtl-sdr" 9) Type "mkdir build" 10) Type "cd build" 11) Type "cmake ../ -DINSTALL_UDEV_RULES=ON" 12) Type "make" 13) Type "sudo make install" 14) Type "sudo ldconfig" If everything worked up to this point you should not see any messages after typing the sudo ldconfig command. 15) Type "cd ~" 16) Type "sudo cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d" 17) Type "sudo reboot" <-- not sure if a reboot is needed at this time, but I seen it listed on a partial list of how-to's, so I did it and my system worked! Once your system reboots log back into a terminal window as before. 18) Type "cd /etc/modprobe.d" 19) Type "sudo nano no-rtl.conf" This will start your editor and put you into a blank file called no-rtl.conf. While you are in the editor type the following 3 lines: blacklist dvb_usb_rtl28xxu blacklist rtl2832 blacklist rtl2830 That is it, just those 3 lines, nothing more! To save the file hold the CTRL key and hit the "O" (oh, not zero), next it enter. Your file is now saved. To exit out of the nano editor type CTRL X. 20) Type "sudo reboot" <-- this reboot is needed! Once your system reboots log back into a terminal window as before. Plug your RTL-SDR into a USB port if you already hadn't. 21) Type "rtl-test -t" You should then see the name of your RTL device as well as some other info. The last line will say "No E4000 tuner found, aborting" Don't worry about this as your RTL-SDR dongle probably has the R820 tuner and not the E4000. If you want to receive ADS-B / Mode-S data you do NOT want the E4000 tuner as it will not tune 1090 MHz. 22) Type "cd ~" 23) Type "git clone git://github.com/pybombs/pybombs" 24) Type "cd /pybombs" 25) Type "./pybombs install uhd gnuradio hackrf" You will be asked a series of questions, simply hit the enter key after each question. It will run for a short time then ask for your sudo password, this actually might happen a couple times during the build process, each time enter your sudo password (same as your user password). You also might be asked to hit the "Y" key a couple times, sometimes I was and sometimes I wasn't. Most of what I've seen online says this process will take 1 1/2 to 2 hours. On my machine (2 Meg Ram & 1.5 GHz processor) it was much closer to 3 hours. 26) When the above build is done there is one last thing to install, this will bring in the "source" and "sink" blocks, something that is missing from every online set of instructions I've seen. Without the "source" block you have no way to use the RTL dongle! So now type "./pybombs install gr-osmosdr" this will take several minutes to run. 27) Type "./pybombs env" 28) Type "source /home/av8tor/target/setup_env.sh" Replace the word av8tor with your username you use to log into Ubuntu, just happens my username is av8tor. 29) Type "gnuradio-companion" now you're HOME FREE!!! One last thing to remember is that everytime you reboot Ubuntu, you'll have to type the "source /home/av8tor/target/setup_env.sh" command or gnuradio-companion will NOT work. I hope this helps other that have had a hardtime getting gnuradio to work. George www.MilAirComms.com