Package: rtl-sdr / 0.5.3-10~bpo8+1

Metadata

Package Version Patches format
rtl-sdr 0.5.3-10~bpo8+1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0002 lib only print to stderr in tuner_r82xx_set_pll.patch | (download)

src/tuner_r82xx.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 02/11] lib: only print to stderr in tuner_r82xx_set_pll()

Found by keenerd.

Signed-off-by: Steve Markgraf <steve@steve-m.de>

0003 lib handle events after canceling transfers.patch | (download)

src/librtlsdr.c | 25 15 + 10 - 0 !
1 file changed, 15 insertions(+), 10 deletions(-)

 [patch 03/11] lib: handle events after canceling transfers

Otherwise the new transfer status does not propagate
into the xfer->status and we try to cancel all transfers
twice.

Also replace the ifdefs with a single macro for backwards
compatibility.

Signed-off-by: Steve Markgraf <steve@steve-m.de>

0004 lib change default number of transfers to 15.patch | (download)

include/rtl-sdr.h | 5 3 + 2 - 0 !
src/librtlsdr.c | 2 1 + 1 - 0 !
src/rtl_fm.c | 4 1 + 3 - 0 !
src/rtl_sdr.c | 3 1 + 2 - 0 !
src/rtl_tcp.c | 2 1 + 1 - 0 !
src/rtl_test.c | 3 1 + 2 - 0 !
6 files changed, 8 insertions(+), 11 deletions(-)

 [patch 04/11] lib: change default number of transfers to 15

So far we had 32 * 256KB which was a bit overkill,
15 are more than enough.

15 was chosen instead of 16 because at least on Linux
there seems to be a system-wide limit of 63 transfers
(when they are 256KB large), so 4 dongles can be used
on a single machine without lowering the default transfer
number.

Signed-off-by: Steve Markgraf <steve@steve-m.de>

0005 rtl_tcp make all global variables static.patch | (download)

src/rtl_tcp.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch 05/11] rtl_tcp: make all global variables static

Signed-off-by: Steve Markgraf <steve@steve-m.de>

0006 cmake include resource file for MSVC builds.patch | (download)

src/CMakeLists.txt | 62 36 + 26 - 0 !
src/rtlsdr.rc.in | 34 34 + 0 - 0 !
2 files changed, 70 insertions(+), 26 deletions(-)

 [patch 06/11] cmake: include resource file for msvc builds


0007 Correct return code of e4k_reg_write.patch | (download)

src/tuner_e4k.c | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 [patch 07/11] correct return code of e4k_reg_write().

In contradiction with the documentation, e4k_reg_write() was
returning the value 2 upon success (the number of bytes written),
not zero as documented.
Patched to return zero upon success.

As a consequence, this corrects also the return value of
e4k_reg_set_mask() and e4k_dc_offset_calibrate().

0008 Allow setting bandwidth for R820T.patch | (download)

include/tuner_r82xx.h | 1 1 + 0 - 0 !
src/librtlsdr.c | 18 16 + 2 - 0 !
src/tuner_r82xx.c | 76 76 + 0 - 0 !
3 files changed, 93 insertions(+), 2 deletions(-)

 [patch 08/11] allow setting bandwidth for r820t

This improves SDR performence for nearby channel interference.
As a sideeffect also improves dynamic range becase ADC is not overloaded
by onwanted singlas.

Signed-off-by: Steve Markgraf <steve@steve-m.de>

0009 New functions rtlsdr_set_tuner_bandwidth.patch | (download)

include/rtl-sdr.h | 9 9 + 0 - 0 !
src/librtlsdr.c | 35 31 + 4 - 0 !
2 files changed, 40 insertions(+), 4 deletions(-)

 [patch 09/11] new functions rtlsdr_set_tuner_bandwidth()

Signed-off-by: Steve Markgraf <steve@steve-m.de>

0010 tools allow built in functions for newer versions of.patch | (download)

src/rtl_adsb.c | 2 2 + 0 - 0 !
src/rtl_fm.c | 4 2 + 2 - 0 !
src/rtl_power.c | 4 2 + 2 - 0 !
3 files changed, 6 insertions(+), 4 deletions(-)

 [patch 10/11] tools: allow built-in functions for newer versions of
 MSVC


0011 lib check for libusb init failure.patch | (download)

src/librtlsdr.c | 22 16 + 6 - 0 !
1 file changed, 16 insertions(+), 6 deletions(-)

 [patch 11/11] lib: check for libusb init failure


improve librtlsdr pc file | (download)

librtlsdr.pc.in | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 fix bug 784912
improve scanning range parsing | (download)

src/rtl_fm.c | 13 13 + 0 - 0 !
src/rtl_power.c | 8 8 + 0 - 0 !
2 files changed, 21 insertions(+)

 better user input handling
use udev uaccess rules | (download)

rtl-sdr.rules | 84 42 + 42 - 0 !
1 file changed, 42 insertions(+), 42 deletions(-)

 implment ben's suggestion to use to set env{id_software_radio}=1
hurd usb | (download)

cmake/Modules/FindLibUSB.cmake | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 hurd usb

Debian builds on hurd-i386 with a variant of libusb.