rtl-sdr/debian
Harald Welte dc92af01bf debian: fix source/format from quilt to native
We certainly don't use quilt, as we build packages using
git-buildpackage.

This is what likely causes build failures on our osmocom nightly
builds stating

gbp:error: Non-native package 'rtl-sdr' has invalid version '0.5.4.32.3d7c'

If the package now is 'native', the errors should be gone.
2020-03-02 23:21:17 +01:00
..
source debian: fix source/format from quilt to native 2020-03-02 23:21:17 +01:00
README.Debian Add Debian packaging information 2018-06-03 15:19:53 +02:00
changelog debian: fix source/format from quilt to native 2020-03-02 23:21:17 +01:00
compat Update Debian packaging information 2020-02-27 00:07:47 +01:00
control Update Debian packaging information 2020-02-27 00:07:47 +01:00
copyright Add Debian packaging information 2018-06-03 15:19:53 +02:00
copyright-scan-patterns.yml Add Debian packaging information 2018-06-03 15:19:53 +02:00
heatmap.py Add Debian packaging information 2018-06-03 15:19:53 +02:00
librtlsdr-dev.acc Update Debian packaging information 2020-02-27 00:07:47 +01:00
librtlsdr-dev.dirs Add Debian packaging information 2018-06-03 15:19:53 +02:00
librtlsdr-dev.install Update Debian packaging information 2020-02-27 00:07:47 +01:00
librtlsdr0.dirs Add Debian packaging information 2018-06-03 15:19:53 +02:00
librtlsdr0.install Add Debian packaging information 2018-06-03 15:19:53 +02:00
librtlsdr0.maintscript Add Debian packaging information 2018-06-03 15:19:53 +02:00
librtlsdr0.metainfo.xml Add Debian packaging information 2018-06-03 15:19:53 +02:00
librtlsdr0.udev Update Debian packaging information 2020-02-27 00:07:47 +01:00
rtl-sdr-blacklist.conf Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl-sdr.dirs Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl-sdr.examples Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl-sdr.install Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl-sdr.manpages Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl_adsb.1 Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl_eeprom.1 Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl_fm.1 Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl_power.1 Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl_sdr.1 Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl_tcp.1 Add Debian packaging information 2018-06-03 15:19:53 +02:00
rtl_test.1 Add Debian packaging information 2018-06-03 15:19:53 +02:00
rules Update Debian packaging information 2020-02-27 00:07:47 +01:00
watch Add Debian packaging information 2018-06-03 15:19:53 +02:00

README.Debian

rtl-sdr for Debian
-------------------

In the beginning Antti Palosaari noticed that some digital video
receiver tuners can be turned into a cheap software defined radio.

Since there is also support in the Linux kernel to use these devices
as digital video receivers, by default the hardware will be claimed
by Linux keernel drivers for that purpose.

Having these rtl-sdr packages installed likely means that these
devices should be available for the alternate software defined
radio use.

The librtlsdr0 package in Debian has configuration files to
help manage the conflicting uses:

1. Blacklists DVB-T kernel modules provided by the Linux kernel
-------------------------------------------------------------------

Config file:
/etc/modprobe.d/librtlsdr-blacklist.conf

contains lines to blacklist dvb_usb_rtl28xxu, e4000 and rtl2832
kernel modules.

Should you wish to use a device via the Linux video receiver software
while still having the librtlsdr0 package installed you may edit
this file. (Placing a # at the beginning os a line makes it a comment.)

Then unplug/plug the USB stick.

Not that if rtl-sdr applications are then run, they will complain about
failing to open the device. In that case, restore the blacklist and
unplug/plug the USB stick.

If librtlsdr-blacklist.conf does not exist, then rtl-sdr was built
with the DETACH_KERNEL_DRIVER option.

2. Permissions
--------------

Devices are available to users in the plugdev group.

The librtlsdr0 package installs these default rules:
/lib/udev/rules.d/60-librtlsdr0.rules

If you have permissions issues, you may override these values
with your own rules in /etc:

/etc/udev/rules.d/60-librtlsdr0.rules

After editing udev rules, run as root: 
 udevadm control --reload-rules