This post describes how to install the rtl-sdr driver for the RTL2832 device on the Beaglebone Black. The step by step directions below should bring you up to the point that you are ready to start playing with the device.
First we need to install the software needed to build the driver by using the following commands.
- opkg update
- opkg install libusb-1.0-dev
Now we need to get the rtl-sdr driver source code. Before we do that, we need to put it somewhere. Let’s create a folder called “src” to keep our source we download.
- mkdir src
- cd src
Now that we have a place to put the software, we can get a copy of it by using git.
- git clone git://git.osmocom.org/rtl-sdr.git
Once the driver code has completed downloading, it’s time to build it. Using the following commands:
- cd rtl-src
- autoreconf -i
- make install
Now the rtl-sdr dirver has been built and installed we need to reboot the Beaglebone Black before we can use it.
After you reboot the Beaglebone Black logon and lets test it to see if its installed.
- rtl_test -t
The output should look some thing like this.
Found 1 device(s): 0: Generic RTL2832U OEM Using device 0: Generic RTL2832U OEM Found Rafael Micro R820T tuner Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6 No E4000 tuner found, aborting.Great Now you can start playing.