diff --git a/pacsatsim.sh b/pacsatsim.sh index 7eb15337..0e8a0248 100755 --- a/pacsatsim.sh +++ b/pacsatsim.sh @@ -41,9 +41,8 @@ fi if [[ $(arecord -l | grep "USB Audio Device") ]] ; then echo "USB Sound Card detected" soundcard=1 - systemctl --user stop wireplumber - amixer -c 2 set MicVolume 200 - systemctl --user start wireplumber + /home/pi/CubeSatSim/config -L 200 + else echo "No USB Sound Card detected" soundcard=0