QRP Labs QMX - Added support for audio PnP

This commit is contained in:
Gaston Gonzalez
2024-11-10 10:44:25 -07:00
parent 76ce47d769
commit 952c3bb4e5
2 changed files with 8 additions and 3 deletions
@@ -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"
@@ -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."
]
}