diff --git a/overlay/etc/skel/add-ons/wine/04-run-regedit.sh b/overlay/etc/skel/add-ons/wine/04-run-regedit.sh index bfdb1b9..c972114 100755 --- a/overlay/etc/skel/add-ons/wine/04-run-regedit.sh +++ b/overlay/etc/skel/add-ons/wine/04-run-regedit.sh @@ -1,17 +1,24 @@ #!/bin/bash # Author : Gaston Gonzalez # Date : 20 January 2025 -# Updated : 4 February 2025 +# Updated : 8 December 2025 # Purpose : Run regedit set -e source ./common-checks.sh +echo "Applying COM port mapping to /dev/et-cat..." +wine reg add 'HKEY_CURRENT_USER\Software\Wine\Ports' /t REG_SZ /v COM10 /d "/dev/et-cat" /f + +echo "Applying application foucs hijacking fix..." +wine reg add 'HKEY_CURRENT_USER\Software\Wine\X11 Driver' /t REG_SZ /v UseTakeFocus /d N /f + echo -e "${YELLOW}" -echo -e "1. Expand HKEY_LOCAL_MACHINE > Software > Wine > Ports" -echo -e "2. In the main pain, right-click and select 'New' > 'String Value'" -echo -e "3. Set the name to ${WHITE}COM10${YELLOW} and the value to ${WHITE}/dev/et-cat${YELLOW}" -echo -e "4. Close the Registry Editor application" +echo -e "1. Expand HKEY_CURRENT_USER > Software > Wine > Ports" +echo -e " Confirm that ${WHITE}COM10${YELLOW} key present and is to ${WHITE}/dev/et-cat${YELLOW}" +echo -e "2. Expand HKEY_CURRENT_USER > Software > Wine > X11 Driver" +echo -e " Confirm that ${WHITE}UseTakeFocus${YELLOW} key present and is to ${WHITE}N${YELLOW}" +echo -e "3. Close the Registry Editor application" echo -e "${NC}" wine regedit diff --git a/overlay/opt/emcomm-tools/conf/radios.d/audio/icom-ic7200.sh b/overlay/opt/emcomm-tools/conf/radios.d/audio/icom-ic7200.sh new file mode 100755 index 0000000..9daf6a4 --- /dev/null +++ b/overlay/opt/emcomm-tools/conf/radios.d/audio/icom-ic7200.sh @@ -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) " +} + +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}" diff --git a/overlay/opt/emcomm-tools/conf/radios.d/icom-ic7200.json b/overlay/opt/emcomm-tools/conf/radios.d/icom-ic7200.json index a4386a2..af5d5f2 100644 --- a/overlay/opt/emcomm-tools/conf/radios.d/icom-ic7200.json +++ b/overlay/opt/emcomm-tools/conf/radios.d/icom-ic7200.json @@ -7,9 +7,13 @@ "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", + "Long press [FILTER] and set FIL to 3000", "Menu DATA = ON", "Menu D-Mod = U ", "Menu USB Lvl = 75", diff --git a/scripts/install-et-predict.sh b/scripts/install-et-predict.sh index 8b1b7bc..02ad529 100755 --- a/scripts/install-et-predict.sh +++ b/scripts/install-et-predict.sh @@ -1,7 +1,7 @@ #!/bin/bash # Author : Gaston Gonzalez # Date : 20 November 2025 -# Updated : 1 December 2025 +# Updated : 10 December 2025 # Purpose : Install et-predict-app set -e trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG @@ -11,7 +11,7 @@ trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR . ../overlay/opt/emcomm-tools/bin/et-common APP=et-predict-app -VERSION=1.3.0 +VERSION=1.5.1 DOWNLOAD_FILE="${APP}_${VERSION}_amd64.deb" et-log "Installing ${APP} ${VERSION}..." diff --git a/scripts/install.sh b/scripts/install.sh index ab1c7d2..d0ddb9c 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -73,7 +73,6 @@ exitIfNotRoot # Install SDR tools ./install-sdr-tools.sh ./install-dump1090.sh -./install-spp.sh # Install ETC custom maps ./download-et-maps.sh