ic-7300 - Added default ALSA configuration to correctly set PCM level based on et-radio settings for the IC-7300

This commit is contained in:
thetechprepper
2026-03-16 09:48:47 -07:00
parent e67264b5cd
commit 8312ea9549
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-7300
#
# 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", "baud": "19200",
"ptt": "RIG" "ptt": "RIG"
}, },
"audio": {
"script": "/opt/emcomm-tools/conf/radios.d/audio/icom-ic7300.sh"
},
"notes": [ "notes": [
"[MENU] > [SET] > [Connectors] > [CI-V] > CI-V USB Baud Rate = 19200", "[MENU] > [SET] > [Connectors] > [CI-V] > CI-V USB Baud Rate = 19200",
"[MENU] > [SET] > [Connectors] > DATA MOD = USB", "[MENU] > [SET] > [Connectors] > DATA MOD = USB",