PnP Implemented a solution to prevent the gpsd systemd unit from incorrectly flagging the IC-7200's CAT control serial device as a GPS device

This commit is contained in:
Gaston Gonzalez
2024-09-29 10:59:55 -07:00
parent c34bcbbe35
commit fa6d633fee
@@ -13,8 +13,10 @@ KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", ATTRS{serial}=="IC-7200*", \
ENV{ET_DEVICE}="IC-7200"
# Create consistent device name/path for the CAT serial device
# Prevent the gpsd system unit from incorrectly flagging this as a GPS device
ENV{ET_DEVICE}=="IC-7200", SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4" ATTRS{idProduct}=="ea60", \
ACTION=="add", \
ENV{SYSTEMD_WANTS}="", \
ENV{ET_SUBDEVICE}="CAT", GROUP="dialout", MODE="0660", SYMLINK+="et-cat"
# TODO: Add rules for sound card