PnP Added rig control support for the QRP Labs QMX

This commit is contained in:
Gaston Gonzalez
2024-10-12 08:14:57 -07:00
parent 9bc0c5cf0f
commit cb719df15e
3 changed files with 37 additions and 2 deletions
@@ -0,0 +1,22 @@
# Author : Gaston Gonzalez
# Date : 12 October 2024
# Purpose : udev rules for the QRP Labs QMX
#
# Preconditions:
# 1. QMX connected via USB cable
#
# Postconditions:
# 1. /dev/et-cat created
# 2. rigctld started
# Detect ET_DEVICE early and use for rules that follow
KERNEL=="ttyACM[0-9]*", SUBSYSTEM=="tty", ATTRS{product}=="QMX*", \
ENV{ET_DEVICE}="QMX"
# Create consistent device name/path for the CAT serial device
ENV{ET_DEVICE}=="QMX", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a34c", \
ACTION=="add", \
ENV{ET_SUBDEVICE}="CAT", GROUP="dialout", MODE="0660", SYMLINK+="et-cat", \
RUN+="/usr/bin/systemctl start rigctld"
# TODO: Add sound card support