From d286d816f5960bd3841af4ebd5b9a5b654098003 Mon Sep 17 00:00:00 2001 From: Gaston Gonzalez Date: Mon, 30 Sep 2024 17:34:30 -0700 Subject: [PATCH] PnP - Added initial support for u-blox GPS --- overlay/etc/udev/rules.d/91-et-u-blox.rules | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 overlay/etc/udev/rules.d/91-et-u-blox.rules diff --git a/overlay/etc/udev/rules.d/91-et-u-blox.rules b/overlay/etc/udev/rules.d/91-et-u-blox.rules new file mode 100644 index 0000000..a668aeb --- /dev/null +++ b/overlay/etc/udev/rules.d/91-et-u-blox.rules @@ -0,0 +1,20 @@ +# 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" + +