Failed to open rtlsdr device #0.

Need help installing or figuring out something about your SDR? Ask here.
Post Reply
steveo250k
Posts: 1
Joined: Fri Dec 30, 2016 12:10 pm

Failed to open rtlsdr device #0.

Post by steveo250k » Sun Apr 23, 2017 1:59 am

I'm trying to use DVB-T+DAB+FM+SDR dongle on Windows 8.1.
Ultimately I'm trying to use GNURADIO Companion.

The dongle works with SDRSharp.

But I can't connect with GNURadio or RTL-SDR. When I run rtl_test -t I get:
c:\Temp\GNURadio_Tutorals\rtl-sdr-release\x64>rtl_test -t
Found 2 device(s):
0: , , SN:
1: Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
usb_open error -12
Failed to open rtlsdr device #0.

Any idea what the problem is?

rtlsdrblog
Site Admin
Posts: 1726
Joined: Mon Nov 19, 2012 11:54 pm

Re: Failed to open rtlsdr device #0.

Post by rtlsdrblog » Mon Apr 24, 2017 12:30 am

The usual problem is that you either haven't blacklisted the DVB-T drivers (blacklist dvb_usb_rtl28xxu), or the rules.d file hasn't been copied over during the RTL-SDR driver install process.

amck
Posts: 1
Joined: Sat Mar 31, 2018 12:12 pm

Re: Failed to open rtlsdr device #0.

Post by amck » Sat Mar 31, 2018 12:14 pm

Had the same problem on a Raspberry Pi system.

Problem was the system service was still running and using the rtlsdr. Maybe your test isn't working because some other software has already got use of the rtlsdr

Kdawg_pi_user
Posts: 2
Joined: Tue May 15, 2018 2:01 am

Re: Failed to open rtlsdr device #0.

Post by Kdawg_pi_user » Tue May 15, 2018 2:26 am

Amck,

I am having trouble during the 'rtl_test' as well. I have blacklisted dvb_usb_rtl28xxu and the rules have been copied to /etc/udev/rules.d.

Error during test:
Image

Blacklisted:
Image

Any advise would be appreciated.

rtlsdrblog
Site Admin
Posts: 1726
Joined: Mon Nov 19, 2012 11:54 pm

Re: Failed to open rtlsdr device #0.

Post by rtlsdrblog » Tue May 15, 2018 5:29 am

Images are broken. Could I also know what OS?

Try blacklisting dvb_usb_rtl2832u as well.

Username
Posts: 273
Joined: Sun Oct 09, 2016 7:27 am

Re: Failed to open rtlsdr device #0.

Post by Username » Fri May 18, 2018 9:54 am

Image

Kdawg_pi_user
Posts: 2
Joined: Tue May 15, 2018 2:01 am

Re: Failed to open rtlsdr device #0.

Post by Kdawg_pi_user » Thu May 24, 2018 2:51 am

Sorry about that. Google share is not working for me apparently.

I am running the latest version of Raspbian on the Raspberry Pi 3. I have followed Kenn Ranous' guide to the tee. Wiped and reinstalled the OS. Then followed Kenn Ranous' guide to the tee again and same results.

I run rtl_test -t and I get the proper feed back. Then I install gqrx. When I launch it the program never loads.

rtlsdrblog
Site Admin
Posts: 1726
Joined: Mon Nov 19, 2012 11:54 pm

Re: Failed to open rtlsdr device #0.

Post by rtlsdrblog » Thu May 24, 2018 2:57 am

How did you install GQRX?

Husker84
Posts: 2
Joined: Sat Aug 11, 2018 11:32 am

Re: Failed to open rtlsdr device #0.

Post by Husker84 » Sat Aug 11, 2018 2:43 pm

I’m having the same issue.

I tried recompiling using

Code: Select all

cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
And don’t work.

Also tried to made a config file at "/etc/modprobe.d/" as follows.

>blacklist dvb_usb_rtl28xxu
>blacklist rtl2830
>blacklist rtl2832
>blacklist dvb_usb_v2
>blacklist dvb_core

Restarting, and still don’t works.

https://imgur.com/a/lpnuWuz



In a Windows system it works like a charm.

Any idea?

Post Reply