Docker image and bash scripts for working with librtlsdr.
TCP port 1234 is exposed for convenience of working with the rtl_tcp utility.
$ docker build -t librtlsdr .
The docker --device argument is required to give your container access to the USB devices
connected to your host machine, for example running rtl_eeprom works like this:
$ lsusb | grep "Realtek.*RTL"
Bus 002 Device 008: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
$ docker run \
--device /dev/bus/usb/002/008:/dev/bus/usb/002/008 \
--rm -it librtlsdr \
rtl_eeprom -d 0
At Radio Witness we're really only concerned with the rtl_tcp utility, in general our workflow
for using it goes like this:
$ ./serialize.sh$ cp .env-example .envrtl_tcp process for every RTL device -> $ ./rtl_tcp.shDOCKER_NET - docker network nameRTL_GAIN - gain in dB, use 0 for autoRTL_PPMS - comma separated PPM correction specs in the form of <serial>:<ppm>RTL_BUFF_LEN - length of USB transfer buffers in units of 512 bytesRTL_BUFF_NUM - number of USB transfer buffers to fill per read loopRTL_LL_NUM - max number of USB transfer buffers to queue for TCPCopyright 2017 Rhodey Orbits, GPLv3.
Content type
Image
Digest
Size
57.4 MB
Last updated
about 7 years ago
docker pull seaverd/librtlsdr-docker