SHA256
1
0
forked from pool/rtl-sdr
rtl-sdr/rtl-sdr-0009-fix-FC0013-UHF-reception.patch
Martin Hauke 1ea97b31dd Accepting request 907681 from home:wkazubski:test:science
- patches:
    rtl-sdr-0003-disable-zerocopy-by-default.patch
    rtl-sdr-0007-allow-build-rtlsdr-as-subroject.patch
    rtl-sdr-0008-add-CMP0075-policy.patch
    rtl-sdr-0016-add-missing-rtlsdrConfig.patch
    rtl-sdr-0017-add-rtl_biast-as-install-target.patch
    rtl-sdr-0018-fix-for-older-cmake.patch
  merged into rtl-sdr-0015-modernize-cmake-usage.patch
- patch rtl-sdr-0005-add-rtlsdr_set_bias_tee_gpio.patch
  merged into rtl-sdr-0006-add-rtl_biast.patch
- Added patches to upgrade to latest git head (only significant
  changes), including:
    + rtl-sdr-0001-mmap-bug-arm.patch
    + rtl-sdr-0002-fix-rtlsdr_open-memory-leak.patch
    + rtl-sdr-0003-disable-zerocopy-by-default.patch
    + rtl-sdr-0004-fix-rtl_eeprom-warnings.patch
    + rtl-sdr-0005-add-rtlsdr_set_bias_tee_gpio.patch
    + rtl-sdr-0006-add-rtl_biast.patch
    + rtl-sdr-0007-allow-build-rtlsdr-as-subroject.patch
    + rtl-sdr-0008-add-CMP0075-policy.patch
    + rtl-sdr-0009-fix-FC0013-UHF-reception.patch
    + rtl-sdr-0010-improve-librtlsdr_pc.patch
    + rtl-sdr-0011-improve-rtl_power--scanning-range-parsing.patch
    + rtl-sdr-0012-use-udev-uaccess_rules.patch (not used)
    + rtl-sdr-0013-add-IPV6-for-rtl_tcp.patch
    + rtl-sdr-0014-initialize-listensocket_in-rtl_tcp.patch
    + rtl-sdr-0015-modernize-cmake-usage.patch
    + rtl-sdr-0016-add-missing-rtlsdrConfig.patch
    + rtl-sdr-0017-add-rtl_biast-as-install-target.patch
    + rtl-sdr-0018-fix-for-older-cmake.patch
    + rtl-sdr-0019-fix-short-write-in-r82xx_read.patch
    + rtl-sdr-0020-populate-pkgconfig-with-prefix.patch
  * Full bias tee support for RTL-SDR v3 dongle
  * Command line utility rtl_biast for controlling bias tee
  * IPV-6 support for rtl_tcp
  * Fixed some bugs and compile time issues

OBS-URL: https://build.opensuse.org/request/show/907681
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/rtl-sdr?expand=0&rev=21
2021-07-31 09:22:31 +00:00

28 lines
843 B
Diff

From 1dff8e0b4c5681cf2cbc6d4ab0aa0bee30c5ed09 Mon Sep 17 00:00:00 2001
From: Benjamin Larsson <banan@ludd.ltu.se>
Date: Mon, 17 Feb 2020 01:20:24 +0100
Subject: [PATCH] lib: enable better UHF reception (>862MHz) for FC0013
---
src/tuner_fc0013.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tuner_fc0013.c b/src/tuner_fc0013.c
index 78b696e..5984dfb 100644
--- a/src/tuner_fc0013.c
+++ b/src/tuner_fc0013.c
@@ -248,11 +248,11 @@ int fc0013_set_params(void *dev, uint32_t freq, uint32_t bandwidth)
if (ret)
goto exit;
- /* disable UHF & enable GPS */
+ /* enable UHF & disable GPS */
ret = fc0013_readreg(dev, 0x14, &tmp);
if (ret)
goto exit;
- ret = fc0013_writereg(dev, 0x14, (tmp & 0x1f) | 0x20);
+ ret = fc0013_writereg(dev, 0x14, (tmp & 0x1f) | 0x40);
if (ret)
goto exit;
}