Problem with Dump1090


#1

Switched my piaware antenna from old Pi to newer Pi2. New Pi is giving me this error when I tried to run dump1090 --interactive To see if data was being collected.

Found 1 device(s):
0: , , SN (currently selected)
usb_open error -3
Please fix the device permissions, e.g. By installing the udev rules file rtl-sdr rules
Error opening thr RTLSDR device: Permission denied

Flightaware found my second Pi feeder but it only lists the original Pi ip address on the stats page.

I plan on using 2 feeders to compare antenna quality.

Would appreciate any help.


#2

Are you running the piaware image or another image?

Have you checked:-
/tmp/piaware.out

sudo piaware-status


#3

The new Pi2 has the drivers for the dongle to behave as a DVB-T device.

You need to blacklist those.

Install of dump1090 should have done that.

You can try these instructions to see if it fixes the problem or reinstall dump1090.

You need to create two text files: one to allow user “pi” to access the dongle and one to remove the built-in driver for the dongle.

Source for this info is http://forum.flightradar24.com/printthread.php?t=6133&pp=40&page=24and http://www.satsignal.eu/raspberry-pi/dump1090.html if you want to look further.

First run the command


lsusb

For the DVB-T dongle, two sets of numbers/letters are important – in my case “0bda:2838”

Now run the text editor


sudo nano /etc/udev/rules.d/rtl-sdr.rules

and copy the following


SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", MODE:="0666"

modifying the two items 0bda and 2838 to match your dongle.

Use Ctrl-O to save and Ctrl-X to exit nano.

To remove the built-in drivers is similar



sudo nano /etc/modprobe.d/no-rtl.conf

Add the lines


blacklist dvb_usb_rtl28xxu
 blacklist rtl2832
 blacklist rtl2830

Save and exit.

Reboot the pi and should now be ok. If not further investigation needed.


#4

idh

After a lot of typos on my part,

Its. WORKING

Thanks for your help!!!

Jim