From 88bd825abd072db4e9af3198f9eda8ff4e6141af Mon Sep 17 00:00:00 2001 From: thetechprepper Date: Tue, 14 Oct 2025 07:49:38 -0700 Subject: [PATCH] FT-857D - Replaced audio setings for the Yaesu FT-857D to use the new audio script approach. --- .../conf/radios.d/audio/yaesu-ft857d.sh | 37 +++++++++++++++++++ .../conf/radios.d/yaesu-ft857d.json | 3 ++ 2 files changed, 40 insertions(+) create mode 100755 overlay/opt/emcomm-tools/conf/radios.d/audio/yaesu-ft857d.sh diff --git a/overlay/opt/emcomm-tools/conf/radios.d/audio/yaesu-ft857d.sh b/overlay/opt/emcomm-tools/conf/radios.d/audio/yaesu-ft857d.sh new file mode 100755 index 0000000..847b2bf --- /dev/null +++ b/overlay/opt/emcomm-tools/conf/radios.d/audio/yaesu-ft857d.sh @@ -0,0 +1,37 @@ +#!/bin/bash +# +# Author : Gaston Gonzalez +# Date : 14 October 2025 +# Purpose : Audio settings specific to the Yaesu FT-857D via DigiRig Mobile +# +# Preconditions +# 1. Supported audio interface is connected and properly detected +# +# Postconditions +# 1. ALSA settings set on ET audio device + +usage() { + echo "usage: $(basename $0) " +} + +if [[ $# -ne 2 ]]; then + usage + exit 1 +fi + +AUDIO_CARD=$1 +ET_DEVICE_NAME=$2 + +# Unmute Speaker a set volume. Adjust if remote station can't decode you. Your TX controls. +amixer -q -c ${AUDIO_CARD} sset Speaker Playback Switch 42% unmute + +# Unmute Mic +amixer -q -c ${AUDIO_CARD} sset Mic Playback Switch 52% unmute + +# Set "L/R Capture" to 19. Adjust if you can't decode received audio. Your RX controls. +amixer -q -c ${AUDIO_CARD} sset Mic Capture Switch 25% unmute + +# Disable Auto Gain Control +amixer -q -c ${AUDIO_CARD} sset 'Auto Gain Control' mute + +et-log "Applied amixer settings for audio card ${AUDIO_CARD} on device ${ET_DEVICE_NAME}" diff --git a/overlay/opt/emcomm-tools/conf/radios.d/yaesu-ft857d.json b/overlay/opt/emcomm-tools/conf/radios.d/yaesu-ft857d.json index f52d8fc..e0036db 100644 --- a/overlay/opt/emcomm-tools/conf/radios.d/yaesu-ft857d.json +++ b/overlay/opt/emcomm-tools/conf/radios.d/yaesu-ft857d.json @@ -7,6 +7,9 @@ "baud": "38400", "ptt": "RTS" }, + "audio": { + "script": "/opt/emcomm-tools/conf/radios.d/audio/yaesu-ft857d.sh" + }, "notes": [ "Menu 019 CAT RATE = 38400", "Menu 020 CAT = CAT",