mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
21 lines
570 B
Plaintext
21 lines
570 B
Plaintext
# Author : Gaston Gonzalez
|
|
# Date : 30 September 2024
|
|
# Purpose : udev rules for U-blox GPS
|
|
#
|
|
# Supported Devices
|
|
# 1. VK-162 G-Mouse USB GPS Dongle - https://amzn.to/3XQqmYj
|
|
#
|
|
# 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", \
|
|
GROUP="dialout", MODE="0660", SYMLINK+="et-gps"
|
|
|
|
|