mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
PnP - Fixed typo in IC-705 udev rules. Added initial udev rules for IC-7100. Pending testing by KC8OWL
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 28 September 2024
|
# Date : 28 September 2024
|
||||||
|
# Updated : 30 September 2024
|
||||||
# Purpose : udev rules for the Icom IC-705
|
# Purpose : udev rules for the Icom IC-705
|
||||||
#
|
#
|
||||||
# Preconditions:
|
# Preconditions:
|
||||||
@@ -18,7 +19,7 @@ KERNEL=="ttyACM[0-9]*", SUBSYSTEM=="tty", ATTRS{product}=="IC-705", \
|
|||||||
ENV{ET_DEVICE}="IC-705"
|
ENV{ET_DEVICE}="IC-705"
|
||||||
|
|
||||||
# Create consistent device name/path for the CAT serial device
|
# Create consistent device name/path for the CAT serial device
|
||||||
ENV{ET_DEVICE}=="ET_DEVICE", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="00", \
|
ENV{ET_DEVICE}=="IC-705", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="00", \
|
||||||
ACTION=="add", \
|
ACTION=="add", \
|
||||||
ENV{ET_SUBDEVICE}="CAT" GROUP="dialout", MODE="0660", SYMLINK+="et-cat"
|
ENV{ET_SUBDEVICE}="CAT" GROUP="dialout", MODE="0660", SYMLINK+="et-cat"
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# Author : Gaston Gonzalez
|
||||||
|
# Date : 30 September 2024
|
||||||
|
# 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.
|
||||||
|
ENV{ET_DEVICE}=="IC-7100", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="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
|
||||||
|
ENV{ET_DEVICE}=="IC-7100", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="02", \
|
||||||
|
ACTION=="add", \
|
||||||
|
ENV{ET_SUBDEVICE}="GPS" GROUP="dialout", MODE="0660", SYMLINK+="et-gps"
|
||||||
|
|
||||||
|
# TODO: Add rules for sound card
|
||||||
Reference in New Issue
Block a user