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
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio