rtl_test(1)

πŸ’– rtl_test(1) β€” a benchmark tool for RTL2832 based DVB-T receivers πŸ’–

okay bestie, buckle up, because we're about to vibe check your SDR hardware. this is rtl_test, a whole little program whose entire personality is "let's find out what your dongle can actually do." πŸ’…


✨ NAME ✨

rtl_test β€” a benchmark tool for RTL2832 based DVB-T receivers 🫢


🌸 DESCRIPTION 🌸

So what does this icon do? It tests the tuning range and the functional sample rates of your device, on your system β€” because apparently your computer's whole deal matters too, not just the dongle. It does this by using a re-purposed DVB-T receiver as a software defined radio. It was written for, and incorporated into, the osmocom rtl-sdr project. πŸ’–

Now, the lore: there's much software available for the RTL2832, like, an overwhelming amount. Most of the user-level packages rely on the librtlsdr library, which ships as part of the rtl-sdr codebase. And that codebase contains both the library itself and a bunch of command line tools, like rtl_test, rtl_sdr, rtl_tcp, and rtl_fm. These command line tools use the library to:

  • test for the existence of RTL2832 devices πŸ‘€
  • perform basic data transfer functions to and from the device 🚚

And because most of the RTL2832 devices are connected using USB, the librtlsdr library depends on the libusb library to communicate with the device. no cap, that's the whole chain of custody. πŸ”—


πŸŽ€ SYNOPSIS πŸŽ€

rtl_test [OPTIONS]

πŸ’… OPTIONS πŸ’…

  • -s samplerate β€” set the samplerate (default: 2048000 Hz) 🎚️
  • -d device_index β€” pick which device you're talking to (default: 0)
  • -t β€” enable Elonics E4000 tuner benchmark] 🏁
  • -p β€” enable PPM error measurement πŸ“
  • -b output_block_size β€” set the output block size (default: 16 * 16384)
  • -S β€” force sync output (default: async) ⚑

πŸ”₯ EXAMPLES πŸ”₯

Wanna check the possible tuning range? bestie, fair warning: it may heavily vary by some MHz depending on your device and the temperature 🌑️. But when you're ready, call:

rtl_test -t

Wanna check the maximum samplerate possible on your machine? Type this β€” and then keep changing the rate down until no sample loss occurs:

rtl_test -s 3.2e6

For reference, a samplerate of 2.4e6 is known to work even over tcp connections (see rtl_tcp above πŸ‘†). A sample rate of 2.88e6 may work without lost samples, but honestly this may depend on your PC/Laptop's host interface. it's giving "your mileage may vary." 😭


πŸ¦‹ SEE ALSO πŸ¦‹

RTL-SDR wiki documentation: http://sdr.osmocom.org/trac/wiki/rtl-sdr πŸ“š

Other rtl-sdr programs:


πŸ‘‘ AUTHOR πŸ‘‘

This manual page was written by Maitland Bottoms for the Debian project (but may be used by others). slay, Maitland. πŸ’œ


Copyright (c) 2013 A. Maitland Bottoms <bottoms@debian.org>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ⚠️


no warranty bestie, I'm just the messenger πŸ’€

that's the whole page, fr fr. this is rtl_test(1), from the RTL-SDR package, version 0.5.0. go forth and benchmark, main character. πŸŽ€βœ¨πŸ¦‹πŸ’–