Can't get USB Dongle to work with dump1090.

I am trying to get piaware working with my DVB-T USB dongle on a raspberry pi
Piaware is connected to dump1090 but dump1090 is not reading anything to send to piaware. when ever I enter “sudo dump1090”. I get
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001 (currently selected)
usb_claim_interface error -6
Error opening the RTLSDR device: Device or resource busy

I have been looking all over for a soulation and many people say to make a file blacklisting the driver which I have done multiple times and it looks like the driver is not being loaded as when I enter “lsmod” it comes back with

Module Size Used by
cfg80211 407580 0
rfkill 16036 1 cfg80211
joydev 9024 0
evdev 10278 4
snd_bcm2835 19802 3
bcm2835_rng 1763 0
bcm2835_gpiomem 2860 0
snd_pcm 73474 1 snd_bcm2835
snd_timer 18848 1 snd_pcm
snd 50779 9 snd_bcm2835,snd_timer,snd_pcm
uio_pdrv_genirq 2944 0
uio 7753 1 uio_pdrv_genirq
i2c_dev 5671 0
fuse 80694 3
ipv6 338660 30

which none of those looks like the driver. Also another interesting thing is if I unplug and replug in the dongle and enter “sudo dump1090” it will run normally displaying all the aircraft but it exit the termical and do it again it gives me the error above. Does anyone know how to fix this problem.

This is the flightaware supplied piaware image?

Assuming that - The error you’re getting when you enter “sudo dump1090” in the terminal, then, is expected.
The flightaware image presumes its only life is to be an ADS-B feeder, and as such, **is already automatically starting dump1090 on boot. **

The error you’re getting:

usb_claim_interface error -6
Error opening the RTLSDR device: Device or resource busy

Simply means that another program, in this case the other instance of dump1090, is already using the dongle. It can only be used by one program at a time.
If you want to verify the full output of dump1090 in the terminal, I THINK the command to stop the service would be

sudo /etc/init.d/ stop

I would try that and then running sudo dump1090 to get the interactive output.

But based purely on description, Your issue may be one of signal reception? Can you tell me about what kind of antenna you’re using and where it’s positioned?

Edit: N.B. your stats page DOES show that it is working already ;-D

If you installed everything from source you would have to stop the TV-tuner software from running. The official Raspbian install has TV-tuning software built-in and will run the tuning software if the dongle is connected. The tuning software will stop any other programs from accessing the dongle as long as it is running. You need to make a blacklist file in /etc/init.d/modprobe and then add the RTL2838 to the list.

You can also run

sudo rmmod dvb_usb_rtl28xxu

and it will unload the software one time.

If you are using a PiAware SD image then the blacklist of the tv-tuner software was already done for you. Most likely you are seeing another instance of dump1090 running and you can’t start another instance of the program on the same dongle. You can run “top” to see if it is already running.

If you want to stop the other instance you can use

sudo /etc/init.d/ stop


sudo killall dump1090

PiAware is setup to run dump1090 on boot and will periodically try to restart dump1090. If you do kill dump1090 and don’t want it to automatically restart you will need to also stop PiAware.