Merge pull request #75 from thetechprepper/misc/post-r6-build2-updates

Merge misc/post-r6-build2-updates to release/r6
This commit is contained in:
thetechprepper
2025-12-08 16:23:36 -07:00
committed by GitHub
4 changed files with 48 additions and 6 deletions
@@ -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
@@ -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,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",
+3 -1
View File
@@ -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
@@ -94,4 +93,7 @@ exitIfNotRoot
./install-fldigi.sh
./install-et-portaudio.sh
# SDR++ installer breaks VOACAP installer if it is first.
./install-spp.sh
# TODO: add installers for flmsg and flamp