Update command add RTL-SDR try if no sound card

pull/327/head
Alan Johnston 2 years ago committed by GitHub
parent 84cb3e22a7
commit e4f5b2b091
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -48,8 +48,16 @@ else
if [ -f "$FILE" ]; then if [ -f "$FILE" ]; then
echo "Direwolf mode set but no USB soundcard detected!" echo "Direwolf mode set but no USB soundcard detected!"
echo "Instead, starting Carrier (squelch) Command and Control"
echo "Trying RTL-FM for 60 seconds"
sudo modprobe snd-aloop
rtl_fm -M fm -f 435M -s 48k | aplay -D hw:2,0,0 -r 48000 -t raw -f S16_LE -c 1 &
direwolf -r 48000 -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf.conf -t 0 &
sleep 60
sudo killall -9 direwolf
sudo killall -9 rtl_fm
echo "Starting Carrier (squelch) Command and Control"
else else
echo "Starting Carrier (squelch) Command and Control" echo "Starting Carrier (squelch) Command and Control"

Loading…
Cancel
Save

Powered by TurnKey Linux.