mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
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:
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 24 October 2024
|
# Date : 24 October 2024
|
||||||
# Updated : 20 November 2024
|
# Updated : 6 October 2025
|
||||||
# Purpose : Wrapper script for starting JS8Call with PnP support
|
# Purpose : Wrapper script for starting JS8Call with PnP support
|
||||||
#
|
#
|
||||||
# Preconditions
|
# Preconditions
|
||||||
@@ -32,6 +32,17 @@ notify_user() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
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 &
|
/opt/emcomm-tools/bin/et-kill-all && update-config && /usr/bin/js8call &
|
||||||
|
|
||||||
if [ ! -e /dev/et-gps ]; then
|
if [ ! -e /dev/et-gps ]; then
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"id": "3087",
|
"id": "3087",
|
||||||
"baud": "19200",
|
"baud": "19200",
|
||||||
"ptt": "RIG",
|
"ptt": "RIG",
|
||||||
"conf": "stop_bits=1"
|
"conf": "timeout=1000,retry=1,timeout_retry=1"
|
||||||
},
|
},
|
||||||
"notes": [
|
"notes": [
|
||||||
"Turn on radio",
|
"Turn on radio",
|
||||||
|
|||||||
Reference in New Issue
Block a user