rtl-sdr-blog/debian
Harald Welte 8a26abaf79 Add Debian packaging information
This allows (among others) to build rtl-sdr nightly packages
for a variety of distributions as part of the network:osmocom:nightly
builds
2018-06-03 15:19:53 +02:00
..
source Add Debian packaging information 2018-06-03 15:19:53 +02:00
changelog Add Debian packaging information 2018-06-03 15:19:53 +02:00
compat Add Debian packaging information 2018-06-03 15:19:53 +02:00
control Add Debian packaging information 2018-06-03 15:19:53 +02: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
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 Add Debian packaging information 2018-06-03 15:19:53 +02:00
librtlsdr-dev.dirs Add Debian packaging information 2018-06-03 15:19:53 +02:00
librtlsdr-dev.install Add Debian packaging information 2018-06-03 15:19:53 +02:00
README.Debian 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
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
rules Add Debian packaging information 2018-06-03 15:19:53 +02:00
watch Add Debian packaging information 2018-06-03 15:19:53 +02:00

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