| 1 |
######################################################################## |
| 2 |
# Copyright (C) 2009-2015 Richard Hughes <[email protected]> |
| 3 |
# |
| 4 |
# Licensed under the GNU General Public License Version 2 |
| 5 |
# |
| 6 |
# This program is free software; you can redistribute it and/or modify |
| 7 |
# it under the terms of the GNU General Public License as published by |
| 8 |
# the Free Software Foundation; either version 2 of the License, or |
| 9 |
# (at your option) any later version. |
| 10 |
# |
| 11 |
# Colorimeter devices used for profiling |
| 12 |
# |
| 13 |
# These are properties defining the behavior: |
| 14 |
# COLORD_SENSOR Can measure color |
| 15 |
# COLORD_SENSOR_KIND The kind of sensor |
| 16 |
# COLORD_SENSOR_CAPS The sensor capabilities |
| 17 |
# |
| 18 |
|
| 19 |
# Skip all this to speed things up if it'a not a usb add. |
| 20 |
ACTION!="add", GOTO="gcm_rules_end" |
| 21 |
SUBSYSTEM!="usb", GOTO="gcm_rules_end" |
| 22 |
DRIVER!="usb", GOTO="gcm_rules_end" |
| 23 |
|
| 24 |
# DTP20 |
| 25 |
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="d020", ENV{COLORD_SENSOR_KIND}="dtp20", ENV{COLORD_SENSOR_CAPS}="printer spot" |
| 26 |
|
| 27 |
# DTP92Q (not tested) |
| 28 |
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="d092", ENV{COLORD_SENSOR_KIND}="unknown", ENV{COLORD_SENSOR_CAPS}="crt" |
| 29 |
|
| 30 |
# DTP94 |
| 31 |
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="d094", ENV{COLORD_SENSOR_KIND}="dtp94" |
| 32 |
|
| 33 |
# MonacoOPTIX (Same as i1 Display 1) |
| 34 |
ATTRS{idVendor}=="0670", ATTRS{idProduct}=="0001", ENV{COLORD_SENSOR_KIND}="i1-display1", ENV{COLORD_SENSOR_CAPS}="lcd crt" |
| 35 |
|
| 36 |
# i1Display |
| 37 |
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2003", ENV{COLORD_SENSOR_KIND}="i1-display2", ENV{COLORD_SENSOR_CAPS}="lcd crt" |
| 38 |
|
| 39 |
# i1Monitor |
| 40 |
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2001", ENV{COLORD_SENSOR_KIND}="i1-monitor", ENV{COLORD_SENSOR_CAPS}="lcd crt" |
| 41 |
|
| 42 |
# i1Pro |
| 43 |
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2000", ENV{COLORD_SENSOR_KIND}="i1-pro", ENV{COLORD_SENSOR_CAPS}="lcd crt projector printer ambient" |
| 44 |
|
| 45 |
# i1Display3 |
| 46 |
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="5020", ENV{COLORD_SENSOR_KIND}="i1-display3", ENV{COLORD_SENSOR_CAPS}="lcd crt projector ambient" |
| 47 |
|
| 48 |
# ColorMunki Smile |
| 49 |
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="6003", ENV{COLORD_SENSOR_KIND}="color-munki-smile", ENV{COLORD_SENSOR_CAPS}="lcd-ccfl lcd-white-led" |
| 50 |
|
| 51 |
# ColorMunki Photo |
| 52 |
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2007", ENV{COLORD_SENSOR_KIND}="color-munki-photo", ENV{COLORD_SENSOR_CAPS}="lcd crt projector printer spot ambient" |
| 53 |
|
| 54 |
# Colorimtre HCFR |
| 55 |
ATTRS{idVendor}=="04db", ATTRS{idProduct}=="005b", ENV{COLORD_SENSOR_KIND}="colorimtre-hcfr", ENV{COLORD_SENSOR_CAPS}="projector" |
| 56 |
|
| 57 |
# Spyder 1 |
| 58 |
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0100", ENV{COLORD_SENSOR_KIND}="spyder", ENV{COLORD_SENSOR_CAPS}="lcd crt" |
| 59 |
|
| 60 |
# Spyder 2 |
| 61 |
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0200", ENV{COLORD_SENSOR_KIND}="spyder2", ENV{COLORD_SENSOR_CAPS}="lcd crt" |
| 62 |
|
| 63 |
# Spyder 3 |
| 64 |
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0300", ENV{COLORD_SENSOR_KIND}="spyder3", ENV{COLORD_SENSOR_CAPS}="lcd crt ambient" |
| 65 |
|
| 66 |
# Spyder 4 |
| 67 |
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0400", ENV{COLORD_SENSOR_KIND}="spyder4", ENV{COLORD_SENSOR_CAPS}="lcd crt ambient" |
| 68 |
|
| 69 |
# Spyder 5 |
| 70 |
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0500", ENV{COLORD_SENSOR_KIND}="spyder5", ENV{COLORD_SENSOR_CAPS}="lcd crt ambient" |
| 71 |
|
| 72 |
# Spyder X |
| 73 |
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0a00", ENV{COLORD_SENSOR_KIND}="spyderX", ENV{COLORD_SENSOR_CAPS}="lcd crt ambient" |
| 74 |
|
| 75 |
# Huey |
| 76 |
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2005", ENV{COLORD_SENSOR_KIND}="huey" |
| 77 |
|
| 78 |
# Huey, built into Thinkpad w700 |
| 79 |
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="5001", ENV{COLORD_SENSOR_KIND}="huey", ENV{COLORD_SENSOR_EMBEDDED}="1" |
| 80 |
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="5010", ENV{COLORD_SENSOR_KIND}="huey", ENV{COLORD_SENSOR_EMBEDDED}="1" |
| 81 |
|
| 82 |
# ColorHug (legacy) |
| 83 |
ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="f8da", ENV{COLORD_SENSOR_KIND}="colorhug" |
| 84 |
|
| 85 |
# ColorHug |
| 86 |
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1000", ENV{COLORD_SENSOR_KIND}="colorhug", ENV{COLORD_IGNORE}="1" |
| 87 |
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1005", ENV{COLORD_SENSOR_KIND}="colorhug2", ENV{COLORD_IGNORE}="1" |
| 88 |
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1001", ENV{COLORD_SENSOR_KIND}="colorhug", ENV{COLORD_SENSOR_CAPS}="lcd" |
| 89 |
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1004", ENV{COLORD_SENSOR_KIND}="colorhug2", ENV{COLORD_SENSOR_CAPS}="lcd" |
| 90 |
|
| 91 |
# ColorHug Plus |
| 92 |
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1002", ENV{COLORD_SENSOR_KIND}="colorhug-plus", ENV{COLORD_SENSOR_CAPS}="lcd" |
| 93 |
|
| 94 |
# ColorHug ALS |
| 95 |
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1006", ENV{COLORD_SENSOR_KIND}="colorhug-als", ENV{COLORD_IGNORE}="1" |
| 96 |
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1007", ENV{COLORD_SENSOR_KIND}="colorhug-als", ENV{COLORD_IGNORE}="1" |
| 97 |
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1008", ENV{COLORD_SENSOR_KIND}="colorhug-als", ENV{COLORD_IGNORE}="1" |
| 98 |
|
| 99 |
# color calibration device |
| 100 |
ENV{COLORD_SENSOR_KIND}=="*?", ENV{COLOR_MEASUREMENT_DEVICE}="1" |
| 101 |
ENV{COLORD_SENSOR_KIND}=="*?", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id" |
| 102 |
ENV{COLORD_SENSOR_KIND}=="*?", ENV{ID_MODEL_FROM_DATABASE}=="", IMPORT{builtin}="hwdb --subsystem=usb" |
| 103 |
|
| 104 |
# Allow the daemon to access the color devices |
| 105 |
ENV{COLORD_SENSOR_KIND}=="*?", GROUP="@DAEMON_USER@" |
| 106 |
|
| 107 |
LABEL="gcm_rules_end" |