summarylogtreecommitdiffstats
path: root/udev.rules
diff options
context:
space:
mode:
authorAnatol Pomozov2015-06-19 18:48:33 -0700
committerAnatol Pomozov2015-06-21 05:48:58 -0700
commite913f44dcb6c1c0f20a13a1ebf067ba80284c62e (patch)
treed7f09049ebe9cc88b090ccb99d0341dceb52728c /udev.rules
parentc4c39767cf54ccbe81434e28d8f03496df8799e3 (diff)
downloadaur-e913f44dcb6c1c0f20a13a1ebf067ba80284c62e.tar.gz
DSView does not need root now
Diffstat (limited to 'udev.rules')
-rw-r--r--udev.rules12
1 files changed, 7 insertions, 5 deletions
diff --git a/udev.rules b/udev.rules
index 443a1a99a83..139515b770b 100644
--- a/udev.rules
+++ b/udev.rules
@@ -1,6 +1,8 @@
-## DSLogic
-# 2a0e:0001
-ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0001", ENV{ID_MM_DEVICE_IGNORE}="1"
-ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0001", ENV{MTP_NO_PROBE}="1"
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0001", GROUP="plugdev", MODE="0660"
+## DSLogic udev rules
+ATTR{idVendor}!="2a0e", GOTO="not_DreamStudio"
+# Logic analyzer
+ATTR{idProduct}=="0001", SYMLINK+="dslogic", MODE="0660", GROUP="plugdev", TAG+="uaccess"
+# Oscilloscope
+ATTR{idProduct}=="0002", SYMLINK+="dslogic_scope", MODE="0660", GROUP="plugdev", TAG+="uaccess"
+LABEL="not_DreamStudio"