discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Get error 3 when trying to connect to RTL-SDR


From: Ed Troy
Subject: [Discuss-gnuradio] Get error 3 when trying to connect to RTL-SDR
Date: Thu, 28 Sep 2017 16:11:05 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

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:

address@hidden:/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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]