All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Problem with Dump1090
PostPosted: Tue Jan 19, 2016 3:45 pm 
Offline
jpdies - FlightAware user avatar

Joined: Sat Feb 25, 2006 3:00 pm
Posts: 13
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.


Top
 Profile  
 
 Post subject: Re: Problem with Dump1090
PostPosted: Tue Jan 19, 2016 4:02 pm 
Offline
FlightAware Member
jonhawkes2030 - FlightAware user avatar

Joined: Tue Jan 05, 2016 4:15 pm
Posts: 1064
Location: NYC
Are you running the piaware image or another image?

Have you checked:-
/tmp/piaware.out


sudo piaware-status


Top
 Profile  
 
 Post subject: Re: Problem with Dump1090
PostPosted: Tue Jan 19, 2016 4:31 pm 
Offline
FlightAware Member
idh - FlightAware user avatar

Joined: Tue Oct 01, 2013 12:08 pm
Posts: 113
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
Code:
lsusb

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

Now run the text editor
Code:
sudo nano /etc/udev/rules.d/rtl-sdr.rules

and copy the following

Code:
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
Code:
sudo nano /etc/modprobe.d/no-rtl.conf

Add the lines
Code:
blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830

Save and exit.

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


Top
 Profile  
 
 Post subject: Re: Problem with Dump1090
PostPosted: Tue Jan 19, 2016 5:44 pm 
Offline
jpdies - FlightAware user avatar

Joined: Sat Feb 25, 2006 3:00 pm
Posts: 13
idh

After a lot of typos on my part,

Its. WORKING

Thanks for your help!!!!

Jim


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: dschre, ldefranco and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: