Bus 002 Device 007: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
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.
sudo update-initramfs -u'.
IThis got rid of the blacklist error, but I now get as follows:FATAL: Wrong rtlsdr device index given.
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.
...
Failed to set RX input rate to 1.8e+06
Your device may not be working properly.
# Kernel module for RTL_SDR
blacklist dvb_usb_rtl28xxu
# Realtek Semiconductor Corp. RTL2838 DVB-T
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", MODE:="0666", GROUP="adm", SYMLINK+="rtl_sdr"
service udev restart
rtl_test -u
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
r82xx_write: i2c wr failed=-1 reg=13 len=7
r82xx_write: i2c wr failed=-1 reg=0c len=1
r82xx_init: failed=-1
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
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
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
r82xx_write: i2c wr failed=-1 reg=0a len=1
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
rtlsdr_demod_write_reg failed with -1
.
.
.
rtl_fm -M wbfm -f 106.6M | play -r 32k -t raw -e s -b 16 -c 1 -V1 -
No supported devices found.
You can find USB details at http://www.linux-usb.org/usb.ids, which confirms Realtek as the manufacturer. There is more info at https://www.linuxtv.org/wiki/index.php/RealTek_RTL2832U, which supports the 2832/2838 co-identity.
That page also shows the dmesg trace for a non-blacklisted device.
For a blacklisted system, the trace, use the dmesg command in a terminal, is something like:
[487397.310210] usb 3-1: new high-speed USB device number 12 using xhci_hcdWith luck, that may allow you to diagnose and confirm what is happening.
[487397.339383] usb 3-1: New USB device found, idVendor=0bda, idProduct=2838
[487397.339393] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[487397.339399] usb 3-1: Product: RTL2838UHIDIR
[487397.339403] usb 3-1: Manufacturer: Realtek
[487397.339407] usb 3-1: SerialNumber: 00000001
R.
David,
those instructions are, regrettably, horribly
out-of-date! The GRC graph would require modification to run on
GNU Radio 3.7. Steps 1 & 2 are overtaken by the far simpler
and more reliable GNU radio PPAs installed as part of installing
GQRX from PPA. Step 3 on setting up the udev rule still applies.
Step 4 does not, for some reason, suggest the easy-to-use rtl_test
approach. [Although you seem to be using Centos rather than Ubuntu
or a derivative, I'm sure that similar arguments apply to RH-based
systems.]
The comments at the bottom betray the instructions as over 5 years old!
That, plus other outdated stuff from the net, was why I put together a 2017 version of how to get an RTL dongle going—if only for my own benefit. That version will also, undoubtedly, have a finite life before bitrot inevitably sets in.
73,
Robin, G8DQX
$ rtl_test
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: 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
[R82XX] PLL not locked!
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...
^CSignal caught, exiting!
User cancel, exiting...
Samples per million lost (minimum): 0