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?
Failed to open rtlsdr device #0.
-
- Site Admin
- Posts: 2434
- Joined: Mon Nov 19, 2012 11:54 pm
Re: Failed to open rtlsdr device #0.
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.
Re: Failed to open rtlsdr device #0.
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
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
-
- Posts: 2
- Joined: Tue May 15, 2018 2:01 am
Re: Failed to open rtlsdr device #0.
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:

Blacklisted:

Any advise would be appreciated.
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:
Blacklisted:
Any advise would be appreciated.
-
- Site Admin
- Posts: 2434
- Joined: Mon Nov 19, 2012 11:54 pm
Re: Failed to open rtlsdr device #0.
Images are broken. Could I also know what OS?
Try blacklisting dvb_usb_rtl2832u as well.
Try blacklisting dvb_usb_rtl2832u as well.
-
- Posts: 2
- Joined: Tue May 15, 2018 2:01 am
Re: Failed to open rtlsdr device #0.
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.
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.
-
- Site Admin
- Posts: 2434
- Joined: Mon Nov 19, 2012 11:54 pm
Re: Failed to open rtlsdr device #0.
How did you install GQRX?
Re: Failed to open rtlsdr device #0.
I’m having the same issue.
I tried recompiling using
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?
I tried recompiling using
Code: Select all
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
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?
Re: Failed to open rtlsdr device #0.
I also had the same problem,
The output for "rtl_test.exe":
MY SOLUTION
You should indicate your device using "-d" parameter. For me it was: "rtl_test.exe -d 1"
The output for "rtl_test.exe":
Code: Select all
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.
You should indicate your device using "-d" parameter. For me it was: "rtl_test.exe -d 1"
Code: Select all
Found 2 device(s):
0: , , SN:
1: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 1: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
Sampling at 2048000 S/s.
Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.
Reading samples in async mode...
lost at least 20 bytes
Signal caught, exiting!