From beb2df9e39ab34f41b48568b3e17e178ba403f2f Mon Sep 17 00:00:00 2001 From: thetechprepper Date: Sat, 13 Dec 2025 12:30:58 -0700 Subject: [PATCH] xiegu-x6200 - Added supported for the Xiegu X6200. It is the same as the X6100. --- overlay/opt/emcomm-tools/bin/et-radio | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/overlay/opt/emcomm-tools/bin/et-radio b/overlay/opt/emcomm-tools/bin/et-radio index 54c4e8e..5e614bb 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 : 13 March 2025 +# Updated : 13 December 2025 # Purpose : A script for managaing plug-and-play radios source /opt/emcomm-tools/bin/et-common @@ -17,6 +17,14 @@ while IFS= read -r radio; do VENDOR=$(cat $radio | jq -r .vendor) MODEL=$(cat $radio | jq -r .model) + # Hack to simplify PnP support for the X6200. It is the same as + # the X6100. No need to mess with a new JSON radio configuration, + # audio scripts, or udev rules. Just let the user know in the + # menu selection that there is support for the X6100/X6200. + if [[ "${MODEL}" == "X6100" ]]; then + MODEL="X6100/X6200" + fi + options+=("$ID" "$VENDOR $MODEL") done < <(find $ET_HOME/conf/radios.d -type f -name \*.json | grep -v "bt.json" | sort)