2024-09-30 16:36:31 -07:00
|
|
|
# Author : Gaston Gonzalez
|
2024-10-01 03:52:28 -07:00
|
|
|
# Author : William McKeehan (https://github.com/mckeehan)
|
2024-09-30 16:36:31 -07:00
|
|
|
# Date : 30 September 2024
|
2024-10-01 03:52:28 -07:00
|
|
|
# Updated : 1 October 2024
|
2024-09-30 16:36:31 -07:00
|
|
|
# Purpose : udev rules for the Icom IC-7100
|
|
|
|
|
#
|
|
|
|
|
# Preconditions:
|
|
|
|
|
# 1. TODO: Document GPS settings for IC-7100 (Mike KC8OWL)
|
|
|
|
|
# 2. GPS antenna connected to IC-7100
|
|
|
|
|
# 3. IC-7200 connected via USB cable
|
|
|
|
|
#
|
|
|
|
|
# Postconditions:
|
|
|
|
|
# 1. /dev/et-cat created
|
|
|
|
|
# 2. /dev/et-gps created
|
|
|
|
|
|
|
|
|
|
KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", ATTRS{serial}=="IC-7100*", \
|
|
|
|
|
ENV{ET_DEVICE}="IC-7100"
|
|
|
|
|
|
|
|
|
|
# Create consistent device name/path for the CAT serial device
|
|
|
|
|
# Unset the incorrect flagging of this being a GPS device.
|
2024-10-01 03:52:28 -07:00
|
|
|
ENV{ET_DEVICE}=="IC-7100", SUBSYSTEMS=="usb", ATTRS{serial}=="IC-7100*A", \
|
2024-09-30 16:36:31 -07:00
|
|
|
ACTION=="add", \
|
|
|
|
|
ENV{SYSTEMD_WANTS}="", \
|
|
|
|
|
ENV{ET_SUBDEVICE}="CAT" GROUP="dialout", MODE="0660", SYMLINK+="et-cat"
|
|
|
|
|
|
|
|
|
|
# Create consistent device name/path for the GPS serial device
|
2024-10-01 03:52:28 -07:00
|
|
|
ENV{ET_DEVICE}=="IC-7100", SUBSYSTEMS=="usb", ATTRS{serial}=="IC-7100*B", \
|
2024-09-30 16:36:31 -07:00
|
|
|
ACTION=="add", \
|
|
|
|
|
ENV{ET_SUBDEVICE}="GPS" GROUP="dialout", MODE="0660", SYMLINK+="et-gps"
|
|
|
|
|
|
2024-10-01 03:52:28 -07:00
|
|
|
# TODO: Add rules to trigger rigctld
|
|
|
|
|
# TODO: Add rules for ACTION="remove"
|
2024-09-30 16:36:31 -07:00
|
|
|
# TODO: Add rules for sound card
|