Added initial udev rules for the IC-705 to support CAT control and GPS

This commit is contained in:
Gaston Gonzalez
2024-09-28 15:24:06 -07:00
parent 0141ea3765
commit f25e6cf790
@@ -0,0 +1,27 @@
# Author : Gaston Gonzalez
# Date : 28 September 2024
# Purpose : udev rules for the Icom IC-705
#
# Preconditions:
# 1. IC-705 connected via USB cable
#
# Postconditions:
# 1. /dev/et-cat created
# 2. /dev/et-gps created
#
# Resources
# - https://www.florian-wolters.de/posts/ic705-serial-device-symlinks/
# Set "IC-705" as an environment variable. This workaround is needed for the IC-705.
# Refer to the document under the Resources above for the background details..
KERNEL=="ttyACM[0-9]*", SUBSYSTEM=="tty", ATTRS{product}=="IC-705", ENV{PROD}="IC-705"
# Create consistent device name/path for the CAT serial device
ENV{PROD}=="IC-705", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="00", \
ACTION=="add", GROUP="dialout", MODE="0660", SYMLINK+="et-cat"
# Create consistent device name/path for the GPS serial device
ENV{PROD}=="IC-705", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="02", \
ACTION=="add", GROUP="dialout", MODE="0660", SYMLINK+="et-gps"
# TODO: Add rules for sound card