From 36b65390445e7cf7e8ab80edc3b1ed7400dffb0c Mon Sep 17 00:00:00 2001 From: Smittix Date: Wed, 18 Feb 2026 16:12:12 +0000 Subject: [PATCH] fix: Prompt for RTL-SDR Blog V4 drivers instead of silently skipping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous logic installed rtl-sdr via apt first, then gated the Blog driver install on cmd_exists rtl_test — which was always true, so V4 drivers were never installed. Replace with a yes/no prompt (default y, backward-compatible) guarded by IS_DRAGONOS for pre-configured distros. Co-Authored-By: Claude Sonnet 4.6 --- setup.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/setup.sh b/setup.sh index f0e3abf..1af64cd 100755 --- a/setup.sh +++ b/setup.sh @@ -1428,12 +1428,18 @@ install_debian_packages() { apt_install_if_missing rtl-sdr - progress "RTL-SDR Blog drivers" - if cmd_exists rtl_test; then - ok "RTL-SDR drivers already installed" + progress "RTL-SDR Blog drivers (V4 support)" + if $IS_DRAGONOS; then + info "DragonOS: skipping RTL-SDR Blog driver install (pre-configured)." else - info "RTL-SDR drivers not found, installing RTL-SDR Blog drivers..." - install_rtlsdr_blog_drivers_debian + echo + info "RTL-SDR Blog drivers add V4 (R828D tuner) support and bias-tee improvements." + info "They are backward-compatible with all RTL-SDR devices." + if ask_yes_no "Install RTL-SDR Blog drivers? (recommended for V4 users, safe for all)" "y"; then + install_rtlsdr_blog_drivers_debian + else + warn "Skipping RTL-SDR Blog drivers. V4 devices may not work correctly." + fi fi progress "Installing multimon-ng"