IC-7200 - Added correct audio ALSA level for the ICom IC-7200. It is very annoying adjusting this in the field.

This commit is contained in:
thetechprepper
2025-12-08 16:19:59 -07:00
parent 8e2d35436d
commit c005aef3b8
2 changed files with 32 additions and 0 deletions
@@ -0,0 +1,29 @@
#!/bin/bash
#
# Author : Gaston Gonzalez
# Date : 8 December 2025
# Purpose : Audio settings specific to the ICom IC-7200
#
# Preconditions
# 1. Supported audio interface is connected and properly detected
#
# Postconditions
# 1. ALSA settings set on ET audio device
usage() {
echo "usage: $(basename $0) <ET audio card> <ET device name>"
}
if [[ $# -ne 2 ]]; then
usage
exit 1
fi
AUDIO_CARD=$1
ET_DEVICE_NAME=$2
# Set the PCM to 82. The default of 41 is too low.
et-log "amixer -q -c ${AUDIO_CARD} sset PCM 96%"
amixer -q -c ${AUDIO_CARD} sset PCM 96%
et-log "Applied amixer settings for audio card ${AUDIO_CARD} on device ${ET_DEVICE_NAME}"
@@ -7,6 +7,9 @@
"baud": "19200",
"ptt": "RIG"
},
"audio": {
"script": "/opt/emcomm-tools/conf/radios.d/audio/icom-ic7200.sh"
},
"notes": [
"Set SSB to USB",
"Set filter to wide",