2024-09-30 17:34:30 -07:00
|
|
|
# Author : Gaston Gonzalez
|
|
|
|
|
# Date : 30 September 2024
|
2024-12-03 06:00:04 -07:00
|
|
|
# Updated : 2 December 2024
|
2024-09-30 17:34:30 -07:00
|
|
|
# Purpose : udev rules for U-blox GPS
|
|
|
|
|
#
|
|
|
|
|
# Supported Devices
|
2024-10-06 06:52:57 -07:00
|
|
|
# 1. VK-162 G-Mouse USB GPS - https://amzn.to/3XQqmYj
|
|
|
|
|
# 2. VK-172 G-Mouse USB GPS - https://amzn.to/3Ya7Viu
|
|
|
|
|
# 3. VFAN UG-353 - https://amzn.to/3XL2lSo
|
2024-12-03 06:00:04 -07:00
|
|
|
# 4. Dell 7220
|
2024-09-30 17:34:30 -07:00
|
|
|
#
|
|
|
|
|
# Preconditions:
|
|
|
|
|
# 1. GPS connected via USB cable
|
|
|
|
|
#
|
|
|
|
|
# Postconditions:
|
|
|
|
|
# 1. /dev/et-gps created
|
|
|
|
|
|
|
|
|
|
# Create consistent device name/path for the GPS serial device
|
|
|
|
|
SUBSYSTEM=="tty", ATTRS{product}=="u-blox*" ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a7", \
|
|
|
|
|
ACTION=="add", \
|
|
|
|
|
ENV{ET_DEVICE}="UBLOX", ENV{ET_SUBDEVICE}="GPS", \
|
2024-10-06 06:52:57 -07:00
|
|
|
GROUP="dialout", MODE="0660", SYMLINK+="et-gps", \
|
|
|
|
|
RUN+="/opt/emcomm-tools/sbin/wrapper-gpsd.sh start"
|
2024-09-30 17:34:30 -07:00
|
|
|
|
2024-12-03 06:00:04 -07:00
|
|
|
# Dell 7220
|
|
|
|
|
SUBSYSTEM=="tty", ATTRS{product}=="u-blox*" ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a8", \
|
|
|
|
|
ACTION=="add", \
|
|
|
|
|
ENV{ET_DEVICE}="UBLOX", ENV{ET_SUBDEVICE}="GPS", \
|
|
|
|
|
GROUP="dialout", MODE="0660", SYMLINK+="et-gps", \
|
|
|
|
|
RUN+="/opt/emcomm-tools/sbin/wrapper-gpsd.sh start"
|
|
|
|
|
|