From da71bab6d4ae20cf2bbcf25a402d3f765d375721 Mon Sep 17 00:00:00 2001 From: Gaston Gonzalez Date: Sun, 10 Nov 2024 08:53:16 -0700 Subject: [PATCH 1/3] Xiegu G90 - Added radio settings as notes. Moved previous notes into a fieldNotes section that will be used in a future release --- overlay/opt/emcomm-tools/conf/radios.d/xiegu-g90.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/overlay/opt/emcomm-tools/conf/radios.d/xiegu-g90.json b/overlay/opt/emcomm-tools/conf/radios.d/xiegu-g90.json index 9644e04..9591139 100644 --- a/overlay/opt/emcomm-tools/conf/radios.d/xiegu-g90.json +++ b/overlay/opt/emcomm-tools/conf/radios.d/xiegu-g90.json @@ -8,6 +8,13 @@ "ptt": "RTS" }, "notes": [ + "AGC = OFF (AGC--)", + "MODE = U-D", + "RF-GAIN = 50%", + "AUX IN = 10", + "AUX OUT = 13" + ], + "fieldNotes": [ "Set AGC: Short press [AGC]", "Set Mode: Press Mode arrow keys on top of head unit ", "Set RF Gain: Long press [AGC]. Use VFO knob to change", From 76ce47d769afd3e9b7fa8288e1375d5601896318 Mon Sep 17 00:00:00 2001 From: Gaston Gonzalez Date: Sun, 10 Nov 2024 09:09:29 -0700 Subject: [PATCH 2/3] et-radio Improved the end-users instructions --- overlay/opt/emcomm-tools/bin/et-radio | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/overlay/opt/emcomm-tools/bin/et-radio b/overlay/opt/emcomm-tools/bin/et-radio index 1754a39..cf0e352 100755 --- a/overlay/opt/emcomm-tools/bin/et-radio +++ b/overlay/opt/emcomm-tools/bin/et-radio @@ -2,7 +2,7 @@ # # Author : Gaston Gonzalez # Date : 11 October 2024 -# Updated : 3 November 2024 +# Updated : 10 November 2024 # Purpose : A script for managaing plug-and-play radios set -e @@ -10,6 +10,11 @@ ACTIVE_RADIO="${ET_HOME}/conf/radios.d/active-radio.json" NO_RADIO_ID="no-radio" +YELLOW="\033[1;33m" +GREEN="\033[0;32m" +RED="\033[0;31m" +NC="\033[0m" + options=() options+=("${NO_RADIO_ID}" "No radio") while IFS= read -r radio; do @@ -44,13 +49,19 @@ if [ $exit_status -eq 0 ]; then MODEL=$(cat ${ACTIVE_RADIO} | jq -r .model) printf "%-20s %-10s %-10s\n" "Radio ID" "Vendor" "Model" - printf "%-20s %-10s %-10s\n" $ID "$VENDOR" "$MODEL" + printf "%-20s %-10s %-10s\n\n" $ID "$VENDOR" "$MODEL" - printf "\nConfiguration Notes\n" + printf "${YELLOW}RADIO CONFIGURATION NOTES\n" cat ${ACTIVE_RADIO} | jq -r '.notes[] | "* \(.)"' + echo -e "${NC}" - printf "\n** Plug in radio. If already connected, reconnect it.\n" + printf "${GREEN}REQUIRED ACTIONS\n" + printf "1. Apply the settings above to your radio.\n" + printf "2. Plug in the USB cable for your radio. If it is already connected, reconnect it.\n" + printf "3. Run 'et-mode' and select the desired mode of operation.\n\n" + printf " Note: JS8Call does not require a mode to be selected.\n" + echo -e "${NC}" else echo "No radio selected." fi From 952c3bb4e5b322562d860cc16242c2eec2f1bb97 Mon Sep 17 00:00:00 2001 From: Gaston Gonzalez Date: Sun, 10 Nov 2024 10:44:25 -0700 Subject: [PATCH 3/3] QRP Labs QMX - Added support for audio PnP --- overlay/etc/udev/rules.d/88-et-qrplabs-qmx.rules | 9 +++++++-- overlay/opt/emcomm-tools/conf/radios.d/qrplabs-qmx.json | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/overlay/etc/udev/rules.d/88-et-qrplabs-qmx.rules b/overlay/etc/udev/rules.d/88-et-qrplabs-qmx.rules index 32faa20..e152a77 100644 --- a/overlay/etc/udev/rules.d/88-et-qrplabs-qmx.rules +++ b/overlay/etc/udev/rules.d/88-et-qrplabs-qmx.rules @@ -1,5 +1,6 @@ # Author : Gaston Gonzalez # Date : 12 October 2024 +# Updated : 10 November 2024 # Purpose : udev rules for the QRP Labs QMX # # Preconditions: @@ -7,7 +8,8 @@ # # Postconditions: # 1. /dev/et-cat created -# 2. rigctld started +# 2. /dev/et-audio created +# 3. rigctld started # Detect ET_DEVICE early and use for rules that follow KERNEL=="ttyACM[0-9]*", SUBSYSTEM=="tty", ATTRS{product}=="QMX*", \ @@ -19,4 +21,7 @@ ENV{ET_DEVICE}=="QMX", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a34c", \ ENV{ET_SUBDEVICE}="CAT", GROUP="dialout", MODE="0660", SYMLINK+="et-cat", \ RUN+="/usr/bin/systemctl start rigctld" -# TODO: Add sound card support +SUBSYSTEM=="sound", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a34c", ATTRS{manufacturer}=="QRP Labs", ENV{ET_DEVICE}=="", \ + ACTION=="add", \ + ATTR{id}="ET_AUDIO", \ + ENV{ET_DEVICE}="QMX", ENV{ET_SUBDEVICE}="AUDIO", GROUP="audio", MODE="0660", SYMLINK+="et-audio" diff --git a/overlay/opt/emcomm-tools/conf/radios.d/qrplabs-qmx.json b/overlay/opt/emcomm-tools/conf/radios.d/qrplabs-qmx.json index 4242886..d9ea979 100644 --- a/overlay/opt/emcomm-tools/conf/radios.d/qrplabs-qmx.json +++ b/overlay/opt/emcomm-tools/conf/radios.d/qrplabs-qmx.json @@ -8,6 +8,6 @@ "ptt": "RIG" }, "notes": [ - "The QMX uses the Kenwood TS-440 CAT control driver" + "This is device is purely plug-and-play and requires no changes." ] }