Dzewa8701
Posts: 1
Joined: Mon Aug 03, 2020 1:24 am

rtl-sdr not working - Any ideas?

Mon Aug 03, 2020 1:52 am

SDR guys and Rpi Wizards I need your help!!!!! I I have been having some very frustrating issues involving this same ordeal. I am a newbie with SDR's and have been working with Pi's for a few years, but recently decided to purchase an SDR and create an rtl-sdr tcp server on my RPi 3. it has a fresh install of raspbian (everything up to date) and I followed a tutorial on Youtube by Fuzz The Pi Guy on how to get everything up and running.

My problem doesn't begin there, as upon the very first reboot of the Pi and running the "sdr_test -t" confirms that everything is working and I am also able to start the sdr tcp server with the command "rtl_tcp -a (ip address) and everything runs like a charm.. HOWEVER, the problem begins after the Pi is shutdown or restarted. IF I shutdown the Pi (as I did when I decided to relocate the rig to a more suitable location in my home) upon the next restart, the "rtl_test" command returns with the "usb_claim_interface error -6". Also, attempting to start the rtl_tcp server results in the same error.

The ONLY way I have been able to succesfully get everything to work correctly is (while the Pi is running) to unplug the SDR from the Pi and plug it back in. All of the sudden, everything works fine..Until the next reboot. Then I have to go up tp my attic, unplug the SDR and plug it back in and while its a simple solution to get everything working again, having to do this every time the Pi reboots is a bit of a let down..

Research suggests that it has something to do with the the DVB-T drivers but I have tried every possible solution.. Blacklisting, re-installing everything, recompiling and detaching the kernal drivers, I have even tried contacting Fuzz The Pi Guy on Youtube and have not received a response... and I have googled for days to no avail :(

I am nearly at my breaking point with this project and what seems like an easy fix for others, has proven to be impossible for me.. is there ANYTHING I am missing or doing incorrectly? Does anyone else know how to fix this permanently?

jayben
Posts: 68
Joined: Mon Aug 19, 2019 9:56 pm

Re: rtl-sdr not working - Any ideas?

Tue Aug 04, 2020 6:28 pm

How about a program to disable & re-enable the USB ports, as in viewtopic.php?t=172313

That might have the same effect as re-plugging... or could just crash the USB drivers. Let us know which!

nliviu
Posts: 32
Joined: Tue Jun 23, 2020 1:24 pm
Location: Romania

Re: rtl-sdr not working - Any ideas?

Wed Aug 05, 2020 8:04 am

Your setup is ok. I'd guess you have a power supply issue.
How many and what kind of USB devices are connected to your pi?

I'm running dump1090 (ADS-B decoder) on a Raspberry Pi Model B Rev 2 for about 7 years and rtl_433 on a Raspberry Pi 4 Model B Rev 1.1 (2GB) for about 6 months without any issues. The Pi4-2G is booting off a SSD drive via USB/SATA bridge.

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: rtl-sdr not working - Any ideas?

Wed Aug 05, 2020 8:47 am

With a Windows machine try this stuff https://www.rtl-sdr.com/rtl-sdr-quick-start-guide/ to update the firmware in your RTL-SDR dongle.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Other projects”