xiegu-x6100 - Found a workaround to handle the slow CAT control initialize. We need to prime the connection to rigctld by requesting a command such as asking for the frequency. This workaround will be refactored generically.

This commit is contained in:
thetechprepper
2025-10-07 05:29:09 -07:00
parent 7f862e306c
commit f255f8ecd8
2 changed files with 13 additions and 2 deletions
+12 -1
View File
@@ -2,7 +2,7 @@
#
# Author : Gaston Gonzalez
# Date : 24 October 2024
# Updated : 20 November 2024
# Updated : 6 October 2025
# Purpose : Wrapper script for starting JS8Call with PnP support
#
# Preconditions
@@ -32,6 +32,17 @@ notify_user() {
}
start() {
# Handle a special case with Xiegu X6100 to pre-initialize the hamlib
# client connection. It takes almost 6 seconds for rig control clients
# (including the rigctl client) to connect the first time with the X6100.
ACTIVE_RADIO=$(et-system-info active-radio)
if [[ "${ACTIVE_RADIO}" = "X6100" ]]; then
et-log "Priming rig control client connection for ${ACTIVE_RADIO}"
notify_user "JS8Call will be slow to start due to rig priming"
rigctl -m 2 f > /dev/null
fi
/opt/emcomm-tools/bin/et-kill-all && update-config && /usr/bin/js8call &
if [ ! -e /dev/et-gps ]; then
@@ -6,7 +6,7 @@
"id": "3087",
"baud": "19200",
"ptt": "RIG",
"conf": "stop_bits=1"
"conf": "timeout=1000,retry=1,timeout_retry=1"
},
"notes": [
"Turn on radio",