mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
DigiRig - Added supported for the original production run of the DigiRig Mobile v1.9
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 30 September 2024
|
||||
# Updated : 23 October 2024
|
||||
# Updated : 21 November 2024
|
||||
# Purpose : udev rules for the DigiRig Mobile v1.9
|
||||
#
|
||||
# Preconditions:
|
||||
@@ -18,9 +18,18 @@ SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ENV{ET_DEVI
|
||||
ENV{ET_DEVICE}="DIGIRIG_MOBILE", ENV{ET_SUBDEVICE}="CAT", GROUP="dialout", MODE="0660", SYMLINK+="et-cat", \
|
||||
RUN+="/usr/bin/systemctl start rigctld"
|
||||
|
||||
# The audio chipset changed for DigiRig v1.9. This rule handles the original revision.
|
||||
# Audio device will only match if PROGRAM above matches (exit status=0)
|
||||
SUBSYSTEM=="sound", ATTRS{idVendor}=="0d8c", ATTRS{idProduct}=="0012", \
|
||||
PROGRAM="/opt/emcomm-tools/sbin/udev-tester.sh digirig-mobile", \
|
||||
ACTION=="add", \
|
||||
ENV{ET_DEVICE}="DIGIRIG_MOBILE", \
|
||||
ATTR{id}="ET_AUDIO", \
|
||||
ENV{ET_SUBDEVICE}="AUDIO", GROUP="audio", MODE="0660", SYMLINK+="et-audio"
|
||||
|
||||
|
||||
SUBSYSTEM=="sound", ATTRS{idVendor}=="0d8c", ATTRS{idProduct}=="013c", ENV{ET_DEVICE}=="", \
|
||||
ACTION=="add", \
|
||||
ATTR{id}="ET_AUDIO", \
|
||||
ENV{ET_DEVICE}="DIGIRIG_MOBILE", ENV{ET_SUBDEVICE}="AUDIO", GROUP="audio", MODE="0660", SYMLINK+="et-audio"
|
||||
|
||||
# TODO: Add rules for earlier 1.9 release
|
||||
|
||||
Reference in New Issue
Block a user