2024-09-30 11:53:45 -07:00
|
|
|
# Author : Gaston Gonzalez
|
|
|
|
|
# Date : 30 September 2024
|
2024-10-11 13:26:10 -07:00
|
|
|
# Updated : 11 October 2024
|
2024-09-30 11:53:45 -07:00
|
|
|
# Purpose : udev rules for the DigiRig Mobile v1.9
|
|
|
|
|
#
|
|
|
|
|
# Preconditions:
|
|
|
|
|
# 1. DigiRig Mobile connected via USB cable
|
|
|
|
|
# 2. This rule is processed after the IC-7200
|
|
|
|
|
#
|
|
|
|
|
# Postconditions:
|
|
|
|
|
# 1. /dev/et-cat created
|
2024-10-11 13:26:10 -07:00
|
|
|
# 2. rigctld is started
|
2024-09-30 11:53:45 -07:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# The IC-7200 uses the same chipsset. In order to avoid incorrect detection, we will check
|
|
|
|
|
# for the presence of ET_DEVICE as the IC-7200 will set it as an earlier rule. With this
|
|
|
|
|
# approach, the DigiRig Mobile rules must be processed later in the chain.
|
|
|
|
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ENV{ET_DEVICE}=="", \
|
|
|
|
|
ACTION=="add", \
|
|
|
|
|
ENV{SYSTEMD_WANTS}="", \
|
2024-10-11 13:26:10 -07:00
|
|
|
ENV{ET_DEVICE}="DIGIRIG_MOBILE", ENV{ET_SUBDEVICE}="CAT", GROUP="dialout", MODE="0660", SYMLINK+="et-cat", \
|
|
|
|
|
RUN+="/usr/bin/systemctl start rigctld"
|
2024-09-30 11:53:45 -07:00
|
|
|
|
|
|
|
|
# TODO: Add rules for earlier 1.9 release
|
|
|
|
|
# TODO: Add rules for sound card
|