Package: rtl-sdr Version: 0.5.3-13 Severity: important Tags: patch I have several R820T-based and FC0012-based dongles. The Debian version of rtl- sdr/librtlsdr does not work with the FC0012 ones:
$ rtl_test Found 1 device(s): 0: Realtek, RTL2838UHIDIR, SN: 00000001 Using device 0: Generic RTL2832U OEM No supported tuner found Enabled direct sampling mode, input 1 Supported gain values (1): 0.0 Sampling at 2048000 S/s. The upstream version works fine. I have traced the problem to 0013-lib-fix- direction-bit-in-GPIO-code.patch. If I unapply this patch and rebuild the package, it starts to work fine. To reproduce the bug, you need to physically unplug the device after each successful initialization. -- System Information: Debian Release: buster/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages rtl-sdr depends on: ii libc6 2.27-2 ii librtlsdr0 0.5.3-13 ii libusb-1.0-0 2:1.0.21-2 rtl-sdr recommends no packages. rtl-sdr suggests no packages. -- no debconf information

