mercurcy - Fixed PTT issue for rigctld

This commit is contained in:
thetechprepper
2026-07-17 10:04:17 -07:00
parent 921f726b4d
commit 0594c1530d
2 changed files with 15 additions and 2 deletions
+8 -1
View File
@@ -1,3 +1,10 @@
# ISSUES # ISSUES
* [ ] Mercury modem will not key PTT via rigctld for non-DigiRig Lite devices ## OPEN ISSUES
* [ ] None
## RESOLVED ISSUES
* Mercury modem will not key the PTT via rigctld for non-VOX devices (i.e. DigiRig Lite)
* 07/17/26 - Fixed. Use the "-R 2" (network mode) option to force a rig model that works with rigctld
+7 -1
View File
@@ -2,6 +2,7 @@
# #
# Author : Gaston Gonzalez # Author : Gaston Gonzalez
# Date : 16 July 2026 # Date : 16 July 2026
# Updated : 17 July 2026
# Purpose : Wrapper script for starting Mercury with PnP support # Purpose : Wrapper script for starting Mercury with PnP support
# #
# Preconditions: # Preconditions:
@@ -75,7 +76,12 @@ start() {
ALSA_DEVICE=$(et-system-info et-audio-card) ALSA_DEVICE=$(et-system-info et-audio-card)
CMD="mercury -m ${MODE_INDEX} -i plughw:${ALSA_DEVICE} -o plughw:${ALSA_DEVICE} -A 127.0.0.1:4532" # Mercury implemented support for rigctld oddly. Even though the rigctld IP and port are
# specified with the -A option, the code will not trigger the PTT unless a rig model
# is specified. We can specify model '2' (network mode) with the -R option to ensure that
# the PTT conditional code blocks for hamlib are called. This explains why earlier tests
# only worked with the DigiRig Lite as it has an internal VOX circuit.
CMD="mercury -m ${MODE_INDEX} -i plughw:${ALSA_DEVICE} -o plughw:${ALSA_DEVICE} -A 127.0.0.1:4532 -R 2"
et-log "Starting Mercury in mode ${MODE} with: '${CMD}'" et-log "Starting Mercury in mode ${MODE} with: '${CMD}'"
echo echo