Try installing the enclosed file rtl-sdr.rules in

  /etc/udev/rules.d/

as root.

Then as root, type

  udevadm trigger
  udevadm control --reload

If that doesn't work, then reboot it.

-- Cinaed


On 09/28/2017 02:29 PM, Ed Troy wrote:
> Hi,
> 
> I tried that, but I am still getting an error as shown below:
> 
> edtroy@ubuntu:~/prefix/default$ gnuradio-companion
> <<< Welcome to GNU Radio Companion 3.7.12git-269-g8aa965c6 >>>
> 
> Block paths:
>     /home/edtroy/prefix/default/share/gnuradio/grc/blocks
> 
> Loading:
> "/home/edtroy/prefix/default/src/gr-tutorial/examples/tutorial6/gr-tutorial-broadcast-fm-rx.grc"
>>>> Done
> 
> Generating:
> '/home/edtroy/prefix/default/src/gr-tutorial/examples/tutorial6/top_block.py'
> 
> Executing: /usr/bin/python2 -u
> /home/edtroy/prefix/default/src/gr-tutorial/examples/tutorial6/top_block.py
> 
> gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.12git-269-g8aa965c6
> built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf
> rfspace airspy soapy redpitaya
> [INFO] [UHDlinux; GNU C++ version 6.3.0 20170406; Boost_106200;
> UHD_3.11.0.git-191-g1cd96dde]
> Using device #0 Generic RTL2832U OEM
> usb_open error -3
> Please fix the device permissions, e.g. by installing the udev rules
> file rtl-sdr.rules
> 
> FATAL: Failed to open rtlsdr device.
> 
> Trying to fill up 1 missing channel(s) with null source(s).
> This is being done to prevent the application from crashing
> due to gnuradio bug #528.
> 
> I changed the file I wrote to /etc/udev/rules.d/rtl-sdr.rules to the
> following--changing 2838 to 4014 since that was the other instance of
> the dongle that I found, as explained below. I also tried with no
> rtl-sdr.rules file and that did not work either:
> 
> SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="4014",
> GROUP="adm", MODE="0666", SYMLINK+="rtl_sdr"
> 
> 
> Ed
> 
> 
> On 9/28/2017 4:20 PM, Federico 'Larroca' La Rocca wrote:
>> Hi,
>> I think you've forgotten to blacklist the dvbt driver. In Ubuntu, you
>> have to add the following line to /etc/modprobe.d/blacklist.conf:
>> blacklist dvb_usb_rtl28xxu.
>> best
>> Federico
>>
>> 2017-09-28 17:11 GMT-03:00 Ed Troy <et...@aeroconsult.com
>> <mailto:et...@aeroconsult.com>>:
>>
>>     I am trying to run a simple fm receiver example using a RTL-SDR
>>     dongle. It is connected. But, when I run, I get the following errors:
>>
>>     gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio
>>     3.7.12git-269-g8aa965c6
>>     built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf
>>     bladerf rfspace airspy soapy redpitaya
>>     [INFO] [UHDlinux; GNU C++ version 6.3.0 20170406; Boost_106200;
>>     UHD_3.11.0.git-191-g1cd96dde]
>>     Using device #0 Generic RTL2832U OEM
>>     usb_open error -3
>>     Please fix the device permissions, e.g. by installing the udev
>>     rules file rtl-sdr.rules
>>
>>     FATAL: Failed to open rtlsdr device.
>>
>>     Trying to fill up 1 missing channel(s) with null source(s).
>>     This is being done to prevent the application from crashing
>>     due to gnuradio bug #528.
>>
>>
>>     So, I did a lsusb command and got the following:
>>
>>     edtroy@ubuntu:/etc/udev/rules.d$ lsusb
>>     Bus 001 Device 004: ID 0bda:2838 Realtek Semiconductor Corp.
>>     RTL2838 DVB-T
>>     Bus 001 Device 002: ID 0bda:4014 Realtek Semiconductor Corp.
>>     Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>     Bus 002 Device 004: ID 0e0f:0008 VMware, Inc.
>>     Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
>>     Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
>>     Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>
>>     I'm not sure which is the device that I should use, but I think it
>>     is Device 004. So, I wrote a file named rtlsdr.rules that I put in
>>     the directory    /etc/udev/rules.d/ . That file consists of the
>>     following:
>>
>>     SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda",
>>     ATTRS{idProduct}=="2838", GROUP="adm", MODE="0666", SYMLINK+="rtl_sdr"
>>
>>     But, when I try to run the example, I still get the above error.
>>     Any ideas what I am doing wrong and need to do to get RTLSDR
>>     dongle to work?
>>
>>
>>     Ed
>>
>>
>>     _______________________________________________
>>     Discuss-gnuradio mailing list
>>     Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org>
>>     https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>>
>>
> 
> -- 
> RF, Microwave, Antenna, and Analog Design, 
> Development, Simulation, and Research consulting
> http://aeroconsult.com
> Aerospace Consulting LLC
> P.O. Box 536
> Buckingham, Pa 18912
> (215) 345-7184
> (215) 345-1309
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 

#
# Copyright 2012-2013 Osmocom rtl-sdr project
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

# original RTL2832U vid/pid (hama nano, for example)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2832", 
MODE:="0666"

# RTL2832U OEM vid/pid, e.g. ezcap EzTV668 (E4000), Newsky TV28T (E4000/R820T) 
etc.
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", 
MODE:="0666"

# DigitalNow Quad DVB-T PCI-E card (4x FC0012?)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0413", ATTRS{idProduct}=="6680", 
MODE:="0666"

# Leadtek WinFast DTV Dongle mini D (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0413", ATTRS{idProduct}=="6f0f", 
MODE:="0666"

# Genius TVGo DVB-T03 USB dongle (Ver. B)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0458", ATTRS{idProduct}=="707f", 
MODE:="0666"

# Terratec Cinergy T Stick Black (rev 1) (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00a9", 
MODE:="0666"

# Terratec NOXON rev 1 (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b3", 
MODE:="0666"

# Terratec Deutschlandradio DAB Stick (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b4", 
MODE:="0666"

# Terratec NOXON DAB Stick - Radio Energy (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b5", 
MODE:="0666"

# Terratec Media Broadcast DAB Stick (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b7", 
MODE:="0666"

# Terratec BR DAB Stick (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b8", 
MODE:="0666"

# Terratec WDR DAB Stick (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b9", 
MODE:="0666"

# Terratec MuellerVerlag DAB Stick (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00c0", 
MODE:="0666"

# Terratec Fraunhofer DAB Stick (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00c6", 
MODE:="0666"

# Terratec Cinergy T Stick RC (Rev.3) (E4000)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00d3", 
MODE:="0666"

# Terratec T Stick PLUS (E4000)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00d7", 
MODE:="0666"

# Terratec NOXON rev 2 (E4000)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00e0", 
MODE:="0666"

# PixelView PV-DT235U(RN) (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1554", ATTRS{idProduct}=="5020", 
MODE:="0666"

# Astrometa DVB-T/DVB-T2 (R828D)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="15f4", ATTRS{idProduct}=="0131", 
MODE:="0666"

# Compro Videomate U620F (E4000)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0620", 
MODE:="0666"

# Compro Videomate U650F (E4000)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0650", 
MODE:="0666"

# Compro Videomate U680F (E4000)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0680", 
MODE:="0666"

# GIGABYTE GT-U7300 (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d393", 
MODE:="0666"

# DIKOM USB-DVBT HD
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d394", 
MODE:="0666"

# Peak 102569AGPK (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d395", 
MODE:="0666"

# KWorld KW-UB450-T USB DVB-T Pico TV (TUA9001)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d397", 
MODE:="0666"

# Zaapa ZT-MINDVBZP (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d398", 
MODE:="0666"

# SVEON STV20 DVB-T USB & FM (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d39d", 
MODE:="0666"

# Twintech UT-40 (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3a4", 
MODE:="0666"

# ASUS U3100MINI_PLUS_V2 (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3a8", 
MODE:="0666"

# SVEON STV27 DVB-T USB & FM (FC0013)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3af", 
MODE:="0666"

# SVEON STV21 DVB-T USB & FM
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3b0", 
MODE:="0666"

# Dexatek DK DVB-T Dongle (Logilink VG0002A) (FC2580)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1101", 
MODE:="0666"

# Dexatek DK DVB-T Dongle (MSI DigiVox mini II V3.0)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1102", 
MODE:="0666"

# Dexatek DK 5217 DVB-T Dongle (FC2580)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1103", 
MODE:="0666"

# MSI DigiVox Micro HD (FC2580)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1104", 
MODE:="0666"

# Sweex DVB-T USB (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="a803", 
MODE:="0666"

# GTek T803 (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="b803", 
MODE:="0666"

# Lifeview LV5TDeluxe (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="c803", 
MODE:="0666"

# MyGica TD312 (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="d286", 
MODE:="0666"

# PROlectrix DV107669 (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="d803", 
MODE:="0666"
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to