mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
PnP - Applied fix from IC-7100 user
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# Author : Gaston Gonzalez
|
||||
# Author : William McKeehan (https://github.com/mckeehan)
|
||||
# Date : 30 September 2024
|
||||
# Updated : 1 October 2024
|
||||
# Purpose : udev rules for the Icom IC-7100
|
||||
#
|
||||
# Preconditions:
|
||||
@@ -16,14 +18,16 @@ KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", ATTRS{serial}=="IC-7100*", \
|
||||
|
||||
# Create consistent device name/path for the CAT serial device
|
||||
# Unset the incorrect flagging of this being a GPS device.
|
||||
ENV{ET_DEVICE}=="IC-7100", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="00", \
|
||||
ENV{ET_DEVICE}=="IC-7100", SUBSYSTEMS=="usb", ATTRS{serial}=="IC-7100*A", \
|
||||
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
|
||||
ENV{ET_DEVICE}=="IC-7100", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="02", \
|
||||
ENV{ET_DEVICE}=="IC-7100", SUBSYSTEMS=="usb", ATTRS{serial}=="IC-7100*B", \
|
||||
ACTION=="add", \
|
||||
ENV{ET_SUBDEVICE}="GPS" GROUP="dialout", MODE="0660", SYMLINK+="et-gps"
|
||||
|
||||
# TODO: Add rules to trigger rigctld
|
||||
# TODO: Add rules for ACTION="remove"
|
||||
# TODO: Add rules for sound card
|
||||
|
||||
Reference in New Issue
Block a user