From 3c828362b48e232d4a0b041cfe9428f83b205b2f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 3 Jun 2026 11:03:16 -0400 Subject: [PATCH] Update config fix RTL-SDR detection --- config | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/config b/config index c9c4b11b..763c2392 100755 --- a/config +++ b/config @@ -356,14 +356,13 @@ if [ "$1" = "" ]; then txc=0 fi -# timeout 1 rtl_test &> out.txt -# if [[ $(grep "No supported" out.txt) ]] ; then -# echo "No RTL-SDR detected" -# rtl=0 -# else -# echo "RTL-SDR detected" -# rtl=1 -# fi + if [[ $(lsusb | grep "RTL") ]] ; then + echo "RTL-SDR detected" + rtl=1 + else + echo "No RTL-SDR detected" + rtl=0 + fi echo echo -e "Current sim.cfg configuration file:"