mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
xiegu-x6100 Upgraded hamlib to the latest version (4.6.5) and upgraded the X6100 factory firmware to latest version (1.1.9 APP / 1.1.8 BASE) to resolve JS8Call timeout issue. It did not resolve the problem, but I am keeping the upgraded Hamlib version
This commit is contained in:
@@ -5,14 +5,17 @@
|
|||||||
"rigctrl": {
|
"rigctrl": {
|
||||||
"id": "3087",
|
"id": "3087",
|
||||||
"baud": "19200",
|
"baud": "19200",
|
||||||
"conf": "data_bits=8,stop_bits=1",
|
"ptt": "RIG",
|
||||||
"ptt": "RIG"
|
"conf": "stop_bits=1"
|
||||||
},
|
},
|
||||||
"notes": [
|
"notes": [
|
||||||
|
"Turn on radio",
|
||||||
"Plug USB-C cable into the DEV port",
|
"Plug USB-C cable into the DEV port",
|
||||||
"Set mode to U-DIG"
|
"Set mode to U-DIG",
|
||||||
|
"Set filter to FILTER1",
|
||||||
|
"Set AGC to AGC--"
|
||||||
],
|
],
|
||||||
"fieldNotes": [
|
"fieldNotes": [
|
||||||
"Tested with firmware version: 1.1.6 (2023/03/07)"
|
"Tested with firmware version: 1.1.9 APP / 1.1.8 BASE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
+27
-25
@@ -2,46 +2,48 @@
|
|||||||
#
|
#
|
||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 25 November 2022
|
# Date : 25 November 2022
|
||||||
# Updated : 19 May 2024
|
# Updated : 6 October 2025
|
||||||
# Purpose : Install hamlib for rig control
|
# Purpose : Install hamlib for rig control (rigctld)
|
||||||
set -e
|
set -e
|
||||||
|
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
||||||
|
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
||||||
|
|
||||||
ET_DIST_DIR=/opt/dist
|
. ./env.sh
|
||||||
ET_SRC_DIR=/opt/src
|
. ../overlay/opt/emcomm-tools/bin/et-common
|
||||||
|
|
||||||
VERSION=4.5
|
APP="hamlib"
|
||||||
APP_AND_VERSION=hamlib-$VERSION
|
VERSION=4.6.5
|
||||||
TARBALL=$APP_AND_VERSION.tar.gz
|
APP_AND_VERSION="${APP}-${VERSION}"
|
||||||
URL=https://github.com/Hamlib/Hamlib/releases/download/$VERSION/$TARBALL
|
INSTALL_DIR="/opt/${APP_AND_VERSION}"
|
||||||
INSTALL_DIR=/opt/$APP_AND_VERSION
|
LINK_PATH="/opt/${APP}"
|
||||||
LINK_PATH=/opt/hamlib
|
TARBALL=${APP_AND_VERSION}.tar.gz
|
||||||
|
URL=https://github.com/Hamlib/Hamlib/releases/download/${VERSION}/${TARBALL}
|
||||||
|
|
||||||
if [ ! -e $ET_DIST_DIR/$TARBALL ]; then
|
if [[ ! -e $ET_DIST_DIR/$TARBALL ]]; then
|
||||||
et-log "Downloading hamlib: $URL "
|
et-log "Downloading hamlib: $URL "
|
||||||
curl -s -L -O --fail $URL
|
download_with_retries ${URL} ${TARBALL}
|
||||||
|
|
||||||
[ ! -e $ET_DIST_DIR ] && mkdir -v $ET_DIST_DIR
|
[ ! -e ${ET_DIST_DIR} ] && mkdir -v ${ET_DIST_DIR}
|
||||||
[ ! -e $ET_SRC_DIR ] && mkdir -v $ET_SRC_DIR
|
[ ! -e ${ET_SRC_DIR} ] && mkdir -v ${ET_SRC_DIR}
|
||||||
|
|
||||||
mv $TARBALL $ET_DIST_DIR
|
mv ${TARBALL} ${ET_DIST_DIR}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CWD_DIR=`pwd`
|
CWD_DIR=`pwd`
|
||||||
|
|
||||||
cd $ET_SRC_DIR
|
cd ${ET_SRC_DIR}
|
||||||
et-log "Unpacking $ET_DIST_DIR/$TARBALL"
|
et-log "Unpacking ${ET_DIST_DIR}/${TARBALL}"
|
||||||
tar -xzf $ET_DIST_DIR/$TARBALL && cd $APP_AND_VERSION
|
tar -xzf ${ET_DIST_DIR}/${TARBALL} && cd ${APP_AND_VERSION}
|
||||||
|
|
||||||
[ ! -e $INSTALL_DIR ] && mkdir -v $INSTALL_DIR
|
[ ! -e ${INSTALL_DIR} ] && mkdir -v ${INSTALL_DIR}
|
||||||
|
|
||||||
et-log "Building Hamlib $VERSION"
|
et-log "Building Hamlib ${VERSION}"
|
||||||
./configure --prefix=$INSTALL_DIR
|
./configure --prefix=${INSTALL_DIR}
|
||||||
make && make check && make install
|
make && make check && make install
|
||||||
|
|
||||||
[ -e $LINK_PATH ] && rm $LINK_PATH
|
[ -e ${LINK_PATH} ] && rm ${LINK_PATH}
|
||||||
ln -v -s $INSTALL_DIR $LINK_PATH
|
ln -v -s ${INSTALL_DIR} ${LINK_PATH}
|
||||||
|
|
||||||
stow -v -d /opt hamlib -t /usr/local
|
stow -v -d /opt ${APP} -t /usr/local
|
||||||
|
|
||||||
cd $CWD_DIR
|
cd $CWD_DIR
|
||||||
|
|
||||||
|
|||||||
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Author : Gaston Gonzalez
|
||||||
|
# Date : 8 November 2024
|
||||||
|
# Updated : 6 October 2025
|
||||||
|
# Purpose : Test hamlib installation
|
||||||
|
|
||||||
|
OUT=$(which rigctld)
|
||||||
|
exit $?
|
||||||
Reference in New Issue
Block a user