162.1. rtl-sdr-2.0.3
RTL2832U SDR driver library and the rtl_* tools
2.0.3-1 · GPL-2.0-or-later · 0.1 SBU · 527.0 KiB, 28 files · 41_system, 896 of 1047 · ports/core/sdr-hw/rtl-sdr
Homepage: https://osmocom.org/projects/rtl-sdr
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/sdr-hw.txt:
fs/etc/modprobe.d/kdos-sdr.conf blacklists dvb_usb_rtl28xxu and this is the other half: without both, the kernel claims an RTL2832U as a DVB-T tuner on plug-in and librtlsdr cannot open a device lsusb happily lists.
Required by (7): gr-osmosdr, rtl-433, satdump, sdrangel, sdrpp, soapyrtlsdr, urh.
Sources: rtl-sdr-2.0.3.tar.gz (135.0 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install rtl-sdr'
build.sh:
mkdir -p build && cd build
cmake .. -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
-DDETACH_KERNEL_DRIVER=ON -DINSTALL_UDEV_RULES=OFF
make
make DESTDIR=$PKG install
install -Dm644 ../debian/rtl_*.1 -t $PKG/usr/share/man/man1
Programs: rtl_adsb, rtl_biast, rtl_eeprom, rtl_fm, rtl_power, rtl_sdr, rtl_tcp, rtl_test.
Libraries: librtlsdr.a, librtlsdr.so.
Directories: /usr/lib/cmake/rtlsdr, /usr/share/licenses/rtl-sdr.