diff --git a/README b/README index 9098683..3a11c11 100644 --- a/README +++ b/README @@ -4,3 +4,9 @@ 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 diff --git a/build/install_manifest.txt b/build/install_manifest.txt new file mode 100644 index 0000000..ce6c476 --- /dev/null +++ b/build/install_manifest.txt @@ -0,0 +1,15 @@ +/etc/udev/rules.d/rtl-sdr.rules +/usr/local/lib/pkgconfig/librtlsdr.pc +/usr/local/include/rtl-sdr.h +/usr/local/include/rtl-sdr_export.h +/usr/local/lib/librtlsdr.so.0.6git +/usr/local/lib/librtlsdr.so.0 +/usr/local/lib/librtlsdr.so +/usr/local/lib/librtlsdr.a +/usr/local/bin/rtl_sdr +/usr/local/bin/rtl_tcp +/usr/local/bin/rtl_test +/usr/local/bin/rtl_fm +/usr/local/bin/rtl_eeprom +/usr/local/bin/rtl_adsb +/usr/local/bin/rtl_power \ No newline at end of file diff --git a/build/src/libconvenience_static.a b/build/src/libconvenience_static.a new file mode 100644 index 0000000..1b52254 Binary files /dev/null and b/build/src/libconvenience_static.a differ diff --git a/build/src/librtlsdr.a b/build/src/librtlsdr.a new file mode 100644 index 0000000..fb57b96 Binary files /dev/null and b/build/src/librtlsdr.a differ diff --git a/build/src/librtlsdr.so b/build/src/librtlsdr.so new file mode 120000 index 0000000..3b02137 --- /dev/null +++ b/build/src/librtlsdr.so @@ -0,0 +1 @@ +librtlsdr.so.0 \ No newline at end of file diff --git a/build/src/librtlsdr.so.0 b/build/src/librtlsdr.so.0 new file mode 120000 index 0000000..5a81ec4 --- /dev/null +++ b/build/src/librtlsdr.so.0 @@ -0,0 +1 @@ +librtlsdr.so.0.6git \ No newline at end of file diff --git a/build/src/librtlsdr.so.0.6git b/build/src/librtlsdr.so.0.6git new file mode 100755 index 0000000..50250d7 Binary files /dev/null and b/build/src/librtlsdr.so.0.6git differ diff --git a/build/src/rtl_adsb b/build/src/rtl_adsb new file mode 100755 index 0000000..ba4e9c4 Binary files /dev/null and b/build/src/rtl_adsb differ diff --git a/build/src/rtl_eeprom b/build/src/rtl_eeprom new file mode 100755 index 0000000..7f2ea87 Binary files /dev/null and b/build/src/rtl_eeprom differ diff --git a/build/src/rtl_fm b/build/src/rtl_fm new file mode 100755 index 0000000..8d1039a Binary files /dev/null and b/build/src/rtl_fm differ diff --git a/build/src/rtl_power b/build/src/rtl_power new file mode 100755 index 0000000..ad3d1b2 Binary files /dev/null and b/build/src/rtl_power differ diff --git a/build/src/rtl_sdr b/build/src/rtl_sdr new file mode 100755 index 0000000..1ae940e Binary files /dev/null and b/build/src/rtl_sdr differ diff --git a/build/src/rtl_tcp b/build/src/rtl_tcp new file mode 100755 index 0000000..c931d1c Binary files /dev/null and b/build/src/rtl_tcp differ diff --git a/build/src/rtl_test b/build/src/rtl_test new file mode 100755 index 0000000..58a91a0 Binary files /dev/null and b/build/src/rtl_test differ diff --git a/src/rtl_power.c b/src/rtl_power.c index 625d818..8416176 100644 --- a/src/rtl_power.c +++ b/src/rtl_power.c @@ -913,7 +913,7 @@ int main(int argc, char **argv) #endif if (direct_sampling) { - verbose_direct_sampling(dev, 1); + verbose_direct_sampling(dev, 2); } if (offset_tuning) { diff --git a/src/rtl_tcp.c b/src/rtl_tcp.c index 7f34fdb..270e9f6 100644 --- a/src/rtl_tcp.c +++ b/src/rtl_tcp.c @@ -98,7 +98,8 @@ void usage(void) "\t[-n max number of linked list buffers to keep (default: 500)]\n" "\t[-d device index (default: 0)]\n" "\t[-P ppm_error (default: 0)]\n" - "\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n"); + "\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n" + "\t[-D enable direct sampling (default: off)]\n"); exit(1); } @@ -374,6 +375,7 @@ int main(int argc, char **argv) int dev_given = 0; int gain = 0; int ppm_error = 0; + int direct_sampling = 0; struct llist *curelem,*prev; pthread_attr_t attr; void *status; @@ -391,7 +393,7 @@ int main(int argc, char **argv) struct sigaction sigact, sigign; #endif - while ((opt = getopt(argc, argv, "a:p:f:g:s:b:d:P:T")) != -1) { + while ((opt = getopt(argc, argv, "a:p:f:g:s:b:d:P:T:D")) != -1) { switch (opt) { case 'd': dev_index = verbose_device_search(optarg); @@ -421,6 +423,9 @@ int main(int argc, char **argv) case 'T': enable_biastee = 1; break; + case 'D': + direct_sampling = 1; + break; default: usage(); break; @@ -457,6 +462,11 @@ int main(int argc, char **argv) SetConsoleCtrlHandler( (PHANDLER_ROUTINE) sighandler, TRUE ); #endif + /* Set direct sampling */ + if (direct_sampling) { + verbose_direct_sampling(dev, 2); + } + /* Set the tuner error */ verbose_ppm_set(dev, ppm_error);