PnP - Added audio device support to the Icom IC-7200

This commit is contained in:
Gaston Gonzalez
2024-11-04 11:44:37 -07:00
parent 1a836e318c
commit 86976f1ba6
3 changed files with 16 additions and 6 deletions
+3 -2
View File
@@ -1,6 +1,6 @@
# Author : Gaston Gonzalez
# Date : 28 September 2024
# Updated : 21 October 2024
# Updated : 4 November 2024
# Purpose : udev rules for the Icom IC-705
#
# Preconditions:
@@ -35,7 +35,8 @@ ENV{ET_DEVICE}=="IC-705", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="02", \
# This rule generically matches the following Icom radios:
# 1. IC-705
# 2. IC-7200
# 2. IC-7100
# 3. IC-7200
SUBSYSTEM=="sound", ATTRS{idVendor}=="08bb", ATTRS{idProduct}=="2901", ENV{ET_DEVICE}=="", \
ACTION=="add", \
ATTR{id}="ET_AUDIO", \
+3 -2
View File
@@ -1,6 +1,6 @@
# Author : Gaston Gonzalez
# Date : 29 September 2024
# Updated : 21 October 2024
# Updated : 4 November 2024
# Purpose : udev rules for the Icom IC-7200
#
# Preconditions:
@@ -24,7 +24,8 @@ ENV{ET_DEVICE}=="IC-7200", SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4" ATTRS{idPr
# This rule generically matches the following Icom radios:
# 1. IC-705
# 2. IC-7200
# 2. IC-7100
# 3. IC-7200
SUBSYSTEM=="sound", ATTRS{idVendor}=="08bb", ATTRS{idProduct}=="2901", ENV{ET_DEVICE}=="", \
ACTION=="add", \
ATTR{id}="ET_AUDIO", \
+10 -2
View File
@@ -1,7 +1,7 @@
# Author : Gaston Gonzalez
# Author : William McKeehan (https://github.com/mckeehan)
# Date : 30 September 2024
# Updated : 14 October 2024
# Updated : 4 November 2024
# Purpose : udev rules for the Icom IC-7100
#
# Preconditions:
@@ -13,6 +13,7 @@
# 1. /dev/et-cat created
# 2. /dev/et-gps created
# 3. rigctld is started
# 4. /dev/et-audio created
KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", ATTRS{serial}=="IC-7100*", \
ENV{ET_DEVICE}="IC-7100"
@@ -31,4 +32,11 @@ ENV{ET_DEVICE}=="IC-7100", SUBSYSTEMS=="usb", ATTRS{serial}=="IC-7100*B", \
ENV{ET_SUBDEVICE}="GPS", GROUP="dialout", MODE="0660", SYMLINK+="et-gps", \
RUN+="/opt/emcomm-tools/sbin/wrapper-gpsd.sh start"
# TODO: Add rules for sound card
# This rule generically matches the following Icom radios:
# 1. IC-705
# 2. IC-7100
# 3. IC-7200
SUBSYSTEM=="sound", ATTRS{idVendor}=="08bb", ATTRS{idProduct}=="2901", ENV{ET_DEVICE}=="", \
ACTION=="add", \
ATTR{id}="ET_AUDIO", \
ENV{ET_DEVICE}="Icom generic", ENV{ET_SUBDEVICE}="AUDIO", GROUP="audio", MODE="0660", SYMLINK+="et-audio"