mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
Xiegu X6100 - Replaced audio setings for the X6100 to use the new audio script approach.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 31 October 2024
|
||||
# Updated : 9 October 2025
|
||||
# Updated : 13 October 2025
|
||||
# Purpose : Configures ET audio device with sane defaults
|
||||
#
|
||||
# Preconditions
|
||||
@@ -128,18 +128,6 @@ update-config () {
|
||||
# Disable Auto Gain Control
|
||||
amixer -q -c ${AUDIO_CARD} sset 'Auto Gain Control' mute
|
||||
|
||||
et-log "Applied amixer settings for ${ET_DEVICE_NAME}"
|
||||
;;
|
||||
"X6100")
|
||||
# Unmute Speaker a set volume. Adjust if remote station can't decode you.
|
||||
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.
|
||||
amixer -q -c ${AUDIO_CARD} sset Mic Capture Switch 31% unmute
|
||||
# Disable Auto Gain Control
|
||||
amixer -q -c ${AUDIO_CARD} sset 'Auto Gain Control' mute
|
||||
|
||||
et-log "Applied amixer settings for ${ET_DEVICE_NAME}"
|
||||
;;
|
||||
*)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 11 October 2024
|
||||
# Updated : 16 March 2025
|
||||
# Updated : 13 March 2025
|
||||
# Purpose : A script for managaing plug-and-play radios
|
||||
source /opt/emcomm-tools/bin/et-common
|
||||
|
||||
@@ -18,7 +18,7 @@ while IFS= read -r radio; do
|
||||
MODEL=$(cat $radio | jq -r .model)
|
||||
|
||||
options+=("$ID" "$VENDOR $MODEL")
|
||||
done < <(find $ET_HOME/conf/radios.d -type f | grep -v "bt.json" | sort)
|
||||
done < <(find $ET_HOME/conf/radios.d -type f -name \*.json | grep -v "bt.json" | sort)
|
||||
|
||||
SELECTED_RADIO=$(dialog --clear --menu "Select a radio:" 21 60 10 "${options[@]}" 3>&1 1>&2 2>&3)
|
||||
exit_status=$?
|
||||
|
||||
Reference in New Issue
Block a user