From 617e98b9d86512b748dd69f71a561bb2e98147ad Mon Sep 17 00:00:00 2001 From: Gaston Gonzalez Date: Tue, 1 Oct 2024 03:52:28 -0700 Subject: [PATCH] PnP - Applied fix from IC-7100 user --- overlay/etc/udev/rules.d/82-et-ic7100.rules | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/overlay/etc/udev/rules.d/82-et-ic7100.rules b/overlay/etc/udev/rules.d/82-et-ic7100.rules index a70c32a..4301b65 100644 --- a/overlay/etc/udev/rules.d/82-et-ic7100.rules +++ b/overlay/etc/udev/rules.d/82-et-ic7100.rules @@ -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