From 56fdd00c82f02bb01dfb509c6d7ff4c6ad291f4d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 3 Jun 2026 11:16:00 -0400 Subject: [PATCH] Update pacsat.sh fix RTL-SDR Loopback --- groundstation/pacsat.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/groundstation/pacsat.sh b/groundstation/pacsat.sh index 8a2c6696..fed60904 100755 --- a/groundstation/pacsat.sh +++ b/groundstation/pacsat.sh @@ -210,8 +210,7 @@ sudo killall -9 zenity &>/dev/null sudo usermod -a -G gpio pi -if [ "$lpf" = "0" ] && [ "$txc" = "0" ] ; then - loopback=1 +if [ "$txc" = "0" ] ; then value=`aplay -l | grep "Loopback"` echo "$value" > /dev/null @@ -224,7 +223,7 @@ if [ "$lpf" = "0" ] && [ "$txc" = "0" ] ; then fi -if [ "$loopback" = "1" ] ; then +if [ "$loopback" = "1" ] || [ "$txc" = "0" ] ; then echo "Using Audio Loopback" ADEVICE="ADEVICE plughw:CARD=Loopback,DEV=1"