Modified Osmocom drivers with enhancements for RTL-SDR Blog V3 and V4 units.
Go to file
2022-12-20 00:28:40 +13:00
cmake lib/cmake: check for libusb_handle_events_timeout_completed() 2014-01-24 03:57:53 +01:00
contrib contrib/jenkins.sh: run "make maintainer-clean" 2019-07-16 23:19:46 +02:00
debian Add Debian packaging information 2018-06-03 15:19:53 +02:00
include add rtl_biast, add biast EEPROM hack 2019-10-17 13:18:24 +01:00
m4 add autotools based build system 2012-03-27 20:53:49 +02:00
src Enable EEPROM to force direct sampling mode 2019-11-01 17:34:12 +13:00
.gitignore add Cmake generated files to .gitignore 2012-05-20 18:13:34 +02:00
.travis.yml add configuration file for Travis CI 2014-02-05 18:07:15 +01:00
AUTHORS update authors 2012-12-16 16:25:40 +01:00
CMakeLists.txt lib: disable usbfs zero-copy support by default 2019-07-16 23:49:48 +02:00
configure.ac lib: disable usbfs zero-copy support by default 2019-07-16 23:49:48 +02:00
COPYING add autotools based build system 2012-03-27 20:53:49 +02:00
Doxyfile.in add autotools based build system 2012-03-27 20:53:49 +02:00
git-version-gen add autotools based build system 2012-03-27 20:53:49 +02:00
librtlsdr.pc.in install pkg-config file when building with cmake 2012-05-12 12:34:21 +02:00
Makefile.am Fix "make uninstall" for documentation 2018-06-03 13:24:42 +02:00
README Update README 2022-12-20 00:28:40 +13:00
rtl-sdr.rules lib: add new HanfTek dongle 2016-11-27 12:19:44 +01:00

rtl-sdr
turns your Realtek RTL2832 based DVB dongle into a SDR receiver
======================================================================

For more information see:
https://osmocom.org/projects/rtl-sdr/wiki

**********************************************************************

*****************************
Modified RTL-SDR Blog Version
*****************************

1) VCO PLL current fix - Improves stability at frequencies above ~1.5 GHz https://www.rtl-sdr.com/beta-testing-a-modified-rtl-sdr-driver-for-l-band-heat-issues/
2) RTL_TCP ring buffer enhancement by Stephen Blinick https://www.rtl-sdr.com/significantly-improving-rtl_tcps-performance-with-ring-buffers/
3) Enabled direct sampling for rtl_tcp
4) rtl_biast program added, including the ability to turn on/off any GPIO
5) Hack to force the bias tee to always be on by setting the unused IR endpoint bit to 0 in the EEPROM. Example to force the BT to be always ON "rtl_eeprom -b y", to remove forced BT "rtl_eeprom -b n"
6) Hack to force direct sampling to be always on by setting the unused remote-enabled bit to 1 in the EEPROM. Example to force direct samping always "rtl_eeprom -q y". To remove forced direct sampling "rtl_eeprom -q n"
7) Repurposed "offset tuning" to toggle bias tee ON/OFF. We can now use the "offset tuning" button in SDR# and other programs to toggle the bias tee if there is no specific button in the GUI.
8) Windows released are linked against libusb 1.0.22 which apparently fixes issues for modern Ryzen motherboards.

BIAS TEE NOTE: Always take care that you do not enable the bias tee when the device is connected to a short circuited antenna unless there is an inline LNA. However. if you did by accident, don't worry as the circuit is dually protected with a self-resetting thermal fuse and built in protection on the LDO. Just try not to short it out for days at a time, otherwise you could eventually degrade the thermal fuse.

Note that hacks 5) and 6) will only work if your system is using this driver. If it uses another driver branch, then the EEPROM information will not be read. So make sure you completely clean your system of the previous drivers first (with the information below) and ensure you run sudo make install after compiling.

********************
Installation (Linux):
********************

***NOTE***
If you previously installed librtlsdr-dev via the package manager you should remove this first BEFORE installing these drivers. To completely remove these drivers use the following commands

sudo apt purge librtlsdr*
sudo rm -rvf /usr/lib/librtlsdr* /usr/include/rtl-sdr* /usr/local/lib/librtlsdr* /usr/local/include/rtl-sdr* /usr/local/include/rtl_*

***Now install the drivers***

sudo apt update
sudo apt install libusb-1.0-0-dev git cmake
git clone https://github.com/rtlsdrblog/rtl-sdr-blog
cd rtl-sdr-blog/
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo cp ../rtl-sdr.rules /etc/udev/rules.d/
sudo ldconfig

echo 'blacklist dvb_usb_rtl28xxu' | sudo tee --append /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf

***********************
Installation (Windows):
***********************

Download the Release.zip file from the Releases page. Extract the librtlsdr.dll file to the SDR# folder, or whatever software is using it. Rename to rtlsdr.dll if necessary (e.g. SDR# looks for rtlsdr.dll instead of librtlsdr.dll)