summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2017-09-17 10:04:08 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-09-25 16:09:41 +0200
commit4c3dddf2e6365ba7d84b09c763be55c1559b60e7 (patch)
treecc7f73e2b1152c376d42f40f9edc5f9da9a4659e
parentfslibre: fix insulin display (diff)
downloadglucometerutils-4c3dddf2e6365ba7d84b09c763be55c1559b60e7.tar
glucometerutils-4c3dddf2e6365ba7d84b09c763be55c1559b60e7.tar.gz
glucometerutils-4c3dddf2e6365ba7d84b09c763be55c1559b60e7.tar.bz2
glucometerutils-4c3dddf2e6365ba7d84b09c763be55c1559b60e7.tar.lz
glucometerutils-4c3dddf2e6365ba7d84b09c763be55c1559b60e7.tar.xz
glucometerutils-4c3dddf2e6365ba7d84b09c763be55c1559b60e7.tar.zst
glucometerutils-4c3dddf2e6365ba7d84b09c763be55c1559b60e7.zip
-rw-r--r--udev/69-glucometerutils.rules30
1 files changed, 30 insertions, 0 deletions
diff --git a/udev/69-glucometerutils.rules b/udev/69-glucometerutils.rules
new file mode 100644
index 0000000..d358744
--- /dev/null
+++ b/udev/69-glucometerutils.rules
@@ -0,0 +1,30 @@
+# udev rules for glucometer devices using usb/tty/hid interfaces
+
+# Installation:
+# - Copy this file to /etc/udev/rules.d/
+# - Run the command:
+# udevadm control --reload && udevadm trigger
+
+ACTION!="add|change", GOTO="glucometerutils_rules_end"
+SUBSYSTEM!="usb|tty|hidraw", GOTO="glucometerutils_rules_end"
+
+
+# LifeScan devices
+
+# LifeScan OneTouch Ultra 2
+# LifeScan OneTouch Ultra Easy
+ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", TAG+="uaccess"
+
+
+# SD Biosensor SD CodeFree devices
+
+# SD CodeFree
+ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", TAG+="uaccess"
+
+
+# Abbott Freestyle devices
+
+ATTRS{idVendor}=="1a61", TAG+="uaccess"
+
+
+LABEL="glucometerutils_rules_end"