11 Oct 2015
Installing rtl-sdr on Raspberry Pi 2
Use latest RASPBIAN based on the Debian Jessie and since Raspberry PI 2 is armhf architecture there are much more packages available now.
sudo apt-get install libusb-1.0-0-dev librtlsdr-dev
Make /etc/modprobe.d/raspi-blacklist.conf and add the following lines:
blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830
Make /etc/udev/rules.d/rtl-sdr.rules and add the following lines:
# original RTL2832U vid/pid (hama nano, for example)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2832", MODE:="0666"
# RTL2832U OEM vid/pid, e.g. ezcap EzTV668 (E4000), Newsky TV28T (E4000/R820T) etc.
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", MODE:="0666"
Restart with shutdown -r 0 the Raspberry Pi and you are ready to use your rtl-sdr dongle.