diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 13:56:46 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 13:56:46 +0200 |
commit | 22f703cab05b7cd368f4de9e03991b7664dc5022 (patch) | |
tree | 6f4d50beaa42328e24b1c6b56b6ec059e4ef21a5 /.pc/03_usb-db.diff/usb |
Initial import of argyll version 1.5.1-8debian/1.5.1-8
Diffstat (limited to '.pc/03_usb-db.diff/usb')
-rw-r--r-- | .pc/03_usb-db.diff/usb/55-Argyll.rules | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/.pc/03_usb-db.diff/usb/55-Argyll.rules b/.pc/03_usb-db.diff/usb/55-Argyll.rules new file mode 100644 index 0000000..3da9c69 --- /dev/null +++ b/.pc/03_usb-db.diff/usb/55-Argyll.rules @@ -0,0 +1,90 @@ +# udev rule to recognize instruments and make them accessible to user applications. +# Copy this to /etc/udev/rules.d/55-Argyll.rules + +# Skip all this to speed things up if it'a not a usb add. +ACTION!="add", GOTO="argyll_rules_end" +SUBSYSTEM!="usb", GOTO="argyll_rules_end" + +# Recognize the color measurement devices + +# Colorimtre HCFR +ATTRS{idVendor}=="04db", ATTRS{idProduct}=="005b", ENV{COLOR_MEASUREMENT_DEVICE}="1" + + +# MonacoOPTIX (Same as i1 Display 1) +ATTRS{idVendor}=="0670", ATTRS{idProduct}=="0001", ENV{COLOR_MEASUREMENT_DEVICE}="1" + + +# HueyL (not tested) +ATTRS{idVendor}=="0765", ATTRS{idProduct}=="5001", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# HueyL (not tested) +ATTRS{idVendor}=="0765", ATTRS{idProduct}=="5010", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# i1Display 3 +ATTRS{idVendor}=="0765", ATTRS{idProduct}=="5020", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# ColorMunki Smile +ATTRS{idVendor}=="0765", ATTRS{idProduct}=="6003", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# DTP20 +ATTRS{idVendor}=="0765", ATTRS{idProduct}=="d020", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# DTP92Q (not tested) +ATTRS{idVendor}=="0765", ATTRS{idProduct}=="d092", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# DTP94 +ATTRS{idVendor}=="0765", ATTRS{idProduct}=="d094", ENV{COLOR_MEASUREMENT_DEVICE}="1" + + +# i1Pro +ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2000", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# i1Monitor +ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2001", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# i1Display +ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2003", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# i1 io table (not tested) +ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2004", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# Huey +ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2005", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# i1 iSis (not tested) +ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2006", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# ColorMunki +ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2007", ENV{COLOR_MEASUREMENT_DEVICE}="1" + + +# Spyder 1 +ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0100", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# Spyder 2 +ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0200", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# Spyder 3 +ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0300", ENV{COLOR_MEASUREMENT_DEVICE}="1" + +# Spyder 4 +ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0400", ENV{COLOR_MEASUREMENT_DEVICE}="1" + + +# ColorHug, old and new +ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="f8da", ENV{COLOR_MEASUREMENT_DEVICE}="1" +ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1001", ENV{COLOR_MEASUREMENT_DEVICE}="1" + + +# Let udev-acl manage these devices, if it's available +TEST=="/var/run/ConsoleKit/database", ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}="1" + +# Otherwise, restrict access to members of the plugdev group, +# which the user may have to add to the system. +ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}!="*?", MODE="660", GROUP="plugdev" + +# Set ID_VENDOR and ID_MODEL acording to VID and PID +IMPORT{program}="usb-db %p" + +LABEL="argyll_rules_end" |