Initial commit: ArgyllCMS v3.5.0 and multichannel profiling research
This commit is contained in:
88
Argyll_V3.5.0/usb/45-Argyll.rules
Executable file
88
Argyll_V3.5.0/usb/45-Argyll.rules
Executable file
@@ -0,0 +1,88 @@
|
||||
# udev rule to change permissions so that the USB instruments can be accessed by Argyll
|
||||
# where the udev is old and doesn't understand the more modern syntax in 55-Argyll.rules.
|
||||
# Copy to /etc/udev/rules.d/45-Argyll.rules
|
||||
# NOTE that hex values must be lower case!
|
||||
|
||||
# Colorimtre HCFR
|
||||
SYSFS{idVendor}=="04db", SYSFS{idProduct}=="005b", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# MonacoOPTIX (Same as i1 Display 1)
|
||||
SYSFS{idVendor}=="0670", SYSFS{idProduct}=="0001", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
|
||||
# Huey (Lenovo W70DS Laptop ?)
|
||||
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="5001", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Huey (Lenovo W530 Laptop ?)
|
||||
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="5010", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# i1Display 3
|
||||
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="5020", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# ColorMunki Smile
|
||||
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="6003", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# ColorMunki i1 Studio
|
||||
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="6008", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# i1Pro3
|
||||
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="6009", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# i1Display 3L
|
||||
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="600a", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# DTP20
|
||||
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="d020", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# DTP92Q - not tested
|
||||
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="d092", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# DTP94
|
||||
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="d094", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Spyder 1
|
||||
SYSFS{idVendor}=="085c", SYSFS{idProduct}=="0100", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Spyder 2
|
||||
SYSFS{idVendor}=="085c", SYSFS{idProduct}=="0200", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Spyder 3
|
||||
SYSFS{idVendor}=="085c", SYSFS{idProduct}=="0300", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Spyder 4
|
||||
SYSFS{idVendor}=="085c", SYSFS{idProduct}=="0400", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Spyder 5
|
||||
SYSFS{idVendor}=="085c", SYSFS{idProduct}=="0500", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Spyder X
|
||||
SYSFS{idVendor}=="085c", SYSFS{idProduct}=="0a00", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Spyder X2
|
||||
SYSFS{idVendor}=="085c", SYSFS{idProduct}=="0a0a", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Spyder 2024
|
||||
SYSFS{idVendor}=="085c", SYSFS{idProduct}=="0a0b", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# i1Pro
|
||||
SYSFS{idVendor}=="0971", SYSFS{idProduct}=="2000", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# i1Monitor
|
||||
SYSFS{idVendor}=="0971", SYSFS{idProduct}=="2001", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# i1Display
|
||||
SYSFS{idVendor}=="0971", SYSFS{idProduct}=="2003", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Huey
|
||||
SYSFS{idVendor}=="0971", SYSFS{idProduct}=="2005", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# ColorMunki
|
||||
SYSFS{idVendor}=="0971", SYSFS{idProduct}=="2007", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# ColorHug
|
||||
SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="f8da", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
SYSFS{idVendor}=="273f", SYSFS{idProduct}=="1001", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
SYSFS{idVendor}=="273f", SYSFS{idProduct}=="1004", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
|
||||
# Image Engineering EX1
|
||||
SYSFS{idVendor}=="2457", SYSFS{idProduct}=="4000", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="660", GROUP="colord"
|
||||
169
Argyll_V3.5.0/usb/55-Argyll.rules
Executable file
169
Argyll_V3.5.0/usb/55-Argyll.rules
Executable file
@@ -0,0 +1,169 @@
|
||||
# Version=3.1.0
|
||||
# udev rule to recognize instruments and make them accessible to user applications.
|
||||
# Copy this to /etc/udev/rules.d/55-Argyll.rules
|
||||
# or /usr/lib/udev/rules.d/55-Argyll.rules
|
||||
# and remove /usr/lib/udev/rules.d/69-cd-sensors.rules
|
||||
# as appropriate for your system
|
||||
# NOTE that hex values must be lower case!
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Copyright 2000 - 2023 Graeme W. Gill.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this file, to deal in this file without restriction, including without
|
||||
# limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
# sublicense, and/or sell copies of this file, and to permit persons to whom
|
||||
# this file is furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of this file.
|
||||
#
|
||||
# THIS FILE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
# OUT OF OR IN CONNECTION WITH THIS FILE OR THE USE OR OTHER DEALINGS IN
|
||||
# THIS FILE.
|
||||
#--------------------------------------------------------------------------
|
||||
|
||||
# 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
|
||||
# COLORD_SENSOR_KIND, COLORD_SENSOR_CAPS, COLORD_SENSOR_EMBEDDED, COLORD_IGNORE
|
||||
# are for the benefit of Gnome Color Manager - ArgyllCMS doesn't use them.
|
||||
|
||||
# Colorimtre HCFR
|
||||
ATTRS{idVendor}=="04db", ATTRS{idProduct}=="005b", ENV{COLORD_SENSOR_KIND}="colorimtre-hcfr", ENV{COLORD_SENSOR_CAPS}="projector"
|
||||
|
||||
|
||||
# MonacoOPTIX (Same as i1 Display 1)
|
||||
ATTRS{idVendor}=="0670", ATTRS{idProduct}=="0001", ENV{COLORD_SENSOR_KIND}="i1-display1", ENV{COLORD_SENSOR_CAPS}="lcd crt"
|
||||
|
||||
|
||||
# HueyL (not tested)
|
||||
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="5001", ENV{COLORD_SENSOR_KIND}="huey", ENV{COLORD_SENSOR_CAPS}="lcd crt" ENV{COLORD_SENSOR_EMBEDDED}="1"
|
||||
|
||||
# HueyL (not tested)
|
||||
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="5010", ENV{COLORD_SENSOR_KIND}="huey", ENV{COLORD_SENSOR_CAPS}="lcd crt" ENV{COLORD_SENSOR_EMBEDDED}="1"
|
||||
|
||||
# i1Display 3
|
||||
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="5020", ENV{COLORD_SENSOR_KIND}="i1-display3", ENV{COLORD_SENSOR_CAPS}="lcd crt projector ambient"
|
||||
|
||||
# ColorMunki Smile
|
||||
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="6003", ENV{COLORD_SENSOR_KIND}="color-munki-smile", ENV{COLORD_SENSOR_CAPS}="lcd-ccfl lcd-white-led"
|
||||
|
||||
# ColorMunki i1 Studio
|
||||
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="6008", ENV{COLORD_SENSOR_KIND}="color-munki-photo" ENV{COLORD_SENSOR_CAPS}="lcd crt projector printer spot ambient"
|
||||
|
||||
# i1Pro3
|
||||
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="6009", ENV{COLORD_SENSOR_KIND}="i1-pro" ENV{COLORD_SENSOR_CAPS}="lcd crt projector printer"
|
||||
|
||||
# i1Display 3L
|
||||
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="600a", ENV{COLORD_SENSOR_KIND}="d123", ENV{COLORD_SENSOR_CAPS}="lcd crt projector"
|
||||
|
||||
# DTP20
|
||||
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="d020", ENV{COLORD_SENSOR_KIND}="dtp20" ENV{COLORD_SENSOR_CAPS}="printer spot"
|
||||
|
||||
# DTP92Q (not tested)
|
||||
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="d092", ENV{COLORD_SENSOR_KIND}="dtp92" ENV{COLORD_SENSOR_CAPS}="crt"
|
||||
|
||||
# DTP94
|
||||
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="d094", ENV{COLORD_SENSOR_KIND}="dtp94" ENV{COLORD_SENSOR_CAPS}="lcd crt"
|
||||
|
||||
|
||||
# i1Pro
|
||||
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2000", ENV{COLORD_SENSOR_KIND}="i1-pro" ENV{COLORD_SENSOR_CAPS}="lcd crt projector printer ambient"
|
||||
|
||||
# i1Monitor
|
||||
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2001", ENV{COLORD_SENSOR_KIND}="i1-pro" ENV{COLORD_SENSOR_CAPS}="lcd crt"
|
||||
|
||||
# i1Display
|
||||
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2003", ENV{COLORD_SENSOR_KIND}="i1-display1" ENV{COLORD_SENSOR_CAPS}="lcd crt"
|
||||
|
||||
# i1 io table (not tested)
|
||||
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2004", ENV{COLORD_SENSOR_KIND}="i1-pro" ENV{COLORD_SENSOR_CAPS}="printer"
|
||||
|
||||
# Huey
|
||||
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2005", ENV{COLORD_SENSOR_KIND}="huey" ENV{COLORD_SENSOR_CAPS}="lcd crt ambient"
|
||||
|
||||
# i1 iSis (not tested)
|
||||
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2006", ENV{COLORD_SENSOR_KIND}="iSis" ENV{COLORD_SENSOR_CAPS}="printer"
|
||||
|
||||
# ColorMunki
|
||||
ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2007", ENV{COLORD_SENSOR_KIND}="color-munki-photo" ENV{COLORD_SENSOR_CAPS}="lcd crt projector printer spot ambient"
|
||||
|
||||
|
||||
# Spyder 1
|
||||
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0100", ENV{COLORD_SENSOR_KIND}="spyder1" ENV{COLORD_SENSOR_CAPS}="lcd crt"
|
||||
|
||||
# Spyder 2
|
||||
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0200", ENV{COLORD_SENSOR_KIND}="spyder2" ENV{COLORD_SENSOR_CAPS}="lcd crt"
|
||||
|
||||
# Spyder 3
|
||||
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0300", ENV{COLORD_SENSOR_KIND}="spyder3" ENV{COLORD_SENSOR_CAPS}="lcd crt ambient"
|
||||
|
||||
# Spyder 4
|
||||
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0400", ENV{COLORD_SENSOR_KIND}="spyder4" ENV{COLORD_SENSOR_CAPS}="lcd crt ambient"
|
||||
|
||||
# Spyder 5
|
||||
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0500", ENV{COLORD_SENSOR_KIND}="spyder5" ENV{COLORD_SENSOR_CAPS}="lcd crt ambient"
|
||||
|
||||
# Spyder X
|
||||
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0a00", ENV{COLORD_SENSOR_KIND}="spyderX" ENV{COLORD_SENSOR_CAPS}="lcd crt ambient"
|
||||
|
||||
# Spyder X2
|
||||
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0a0a", ENV{COLORD_SENSOR_KIND}="spyderX2" ENV{COLORD_SENSOR_CAPS}="lcd crt ambient"
|
||||
|
||||
# Spyder 2024
|
||||
ATTRS{idVendor}=="085c", ATTRS{idProduct}=="0a0b", ENV{COLORD_SENSOR_KIND}="spyder2024" ENV{COLORD_SENSOR_CAPS}="lcd crt ambient"
|
||||
|
||||
# JETI & KLEIN serial port (not used)
|
||||
#KERNEL=="ttyUSB[0-9]*", TAG+="udev-acl", TAG+="uaccess"
|
||||
|
||||
# ArgyllCMS USB serial chip driver for JETI & KLEIN (not used)
|
||||
#ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ENV{COLORD_SENSOR_KIND}="FT232R"
|
||||
#ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", ENV{COLORD_SENSOR_KIND}="FT231XS"
|
||||
|
||||
|
||||
# ColorHug, old and new USB ID's, ColorHug 2
|
||||
ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="f8da", ENV{COLORD_SENSOR_KIND}="colorhug" ENV{COLORD_SENSOR_CAPS}="lcd" ENV{COLORD_IGNORE}="1"
|
||||
|
||||
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1001", ENV{COLORD_SENSOR_KIND}="colorhug" ENV{COLORD_SENSOR_CAPS}="lcd"
|
||||
|
||||
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1004", ENV{COLORD_SENSOR_KIND}="colorhug" ENV{COLORD_SENSOR_CAPS}="lcd"
|
||||
|
||||
# ColorHug Spectro
|
||||
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1002", ENV{COLORD_SENSOR_KIND}="colorhug-spectro", ENV{COLORD_SENSOR_CAPS}="lcd"
|
||||
|
||||
# Image Engineering EX1
|
||||
ATTRS{idVendor}=="2457", ATTRS{idProduct}=="4000", ENV{COLORD_SENSOR_KIND}="ex1", ENV{COLORD_SENSOR_CAPS}="lcd crt ambient"
|
||||
|
||||
#########################################################
|
||||
|
||||
# Is a color calibration device. 70-uaccess.rules may use this to set TAG+="uaccess",
|
||||
# but there is no way to know if this is the case from here.
|
||||
# May also be used by other rules to avoid claiming this device.
|
||||
ENV{COLORD_SENSOR_KIND}=="*?", ENV{COLOR_MEASUREMENT_DEVICE}="1"
|
||||
|
||||
# Set ID_VENDOR and ID_MODEL acording to VID and PID
|
||||
# usb_id and/or usb-db might be needed on older systems
|
||||
#ENV{COLORD_SENSOR_KIND}=="*?", ENV{ID_MODEL}=="", IMPORT{program}="usb_id --export %p"
|
||||
#ENV{COLORD_SENSOR_KIND}=="*?", TEST=="/lib/udev/usb-db", ENV{ID_MODEL_FROM_DATABASE}=="", IMPORT{program}="usb-db %p"
|
||||
ENV{COLORD_SENSOR_KIND}=="*?", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id"
|
||||
ENV{COLORD_SENSOR_KIND}=="*?", ENV{ID_MODEL_FROM_DATABASE}=="", IMPORT{builtin}="hwdb --subsystem=usb"
|
||||
|
||||
# Let ConsoleKit udev-acl manage these devices, if it's available.
|
||||
# (Except that this stuffs up on Slackware 14.1 because
|
||||
# ConsoleKit/database is present even when ACL is not enabled).
|
||||
# Some recent systems no longer use ConsoleKit or ACL_MANAGE - acl is done by systemd ?
|
||||
# TEST=="/var/run/ConsoleKit/database", ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}="1"
|
||||
ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}="1"
|
||||
|
||||
# In any case, make color instruments accessible to members of the colord group,
|
||||
# which the user may have to add to the system and add themselves to if ACL isn't present.
|
||||
ENV{COLOR_MEASUREMENT_DEVICE}=="*?", MODE="660", GROUP="colord"
|
||||
|
||||
LABEL="argyll_rules_end"
|
||||
9
Argyll_V3.5.0/usb/Argyll
Executable file
9
Argyll_V3.5.0/usb/Argyll
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Copy to /etc/hotplug/usb/Argyll
|
||||
#
|
||||
# Argyll hotplug script. Adds the USB devices to the colord group.
|
||||
if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
|
||||
then
|
||||
chgrp colord "${DEVICE}"
|
||||
chmod 660 "${DEVICE}"
|
||||
fi
|
||||
30
Argyll_V3.5.0/usb/Argyll.kext/Info.plist
Executable file
30
Argyll_V3.5.0/usb/Argyll.kext/Info.plist
Executable file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key> <string>English</string>
|
||||
<key>CFBundleGetInfoString</key> <string>Libusb USB device Shield</string>
|
||||
<key>CFBundleIdentifier</key> <string>com.libusb.USB_Shield</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key> <string>6.0</string>
|
||||
<key>CFBundleName</key> <string>Libusb USB device Shield</string>
|
||||
<key>CFBundlePackageType</key> <string>KEXT</string>
|
||||
<key>CFBundleSignature</key> <string>????</string>
|
||||
<key>CFBundleVersion</key> <string>6.0</string>
|
||||
<key>IOKitPersonalities</key>
|
||||
<dict>
|
||||
<key>HCFR</key>
|
||||
<dict>
|
||||
<key>CFBundleIdentifier</key> <string>com.apple.driver.AppleUSBComposite</string>
|
||||
<key>IOClass</key> <string>AppleUSBComposite</string>
|
||||
<key>IOProviderClass</key> <string>IOUSBDevice</string>
|
||||
<key>idVendor</key> <integer>1243</integer>
|
||||
<key>idProduct</key> <integer>91</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>OSBundleCompatibleVersion</key> <string>1.8</string>
|
||||
<key>OSBundleLibraries</key>
|
||||
<dict>
|
||||
<key>com.apple.kernel.iokit</key> <string>6.0</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
59
Argyll_V3.5.0/usb/Argyll.usermap
Executable file
59
Argyll_V3.5.0/usb/Argyll.usermap
Executable file
@@ -0,0 +1,59 @@
|
||||
# hotplug device mapping to handling script.
|
||||
# Copy this to /etc/hotplug/usb/Argyll.usermap
|
||||
#
|
||||
# Detect instruments by their USB VID and PID
|
||||
#
|
||||
# DTP20
|
||||
Argyll 0x0003 0x0765 0xd020 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# DTP92Q - not tested
|
||||
Argyll 0x0003 0x0765 0xd092 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# DTP94
|
||||
Argyll 0x0003 0x0765 0xd094 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# MonacoOPTIX (Same as i1 Display 1)
|
||||
Argyll 0x0003 0x0670 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# i1 Display
|
||||
Argyll 0x0003 0x0971 0x2003 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# i1 Display 3
|
||||
Argyll 0x0003 0x0765 0x5020 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# i1 Monitor
|
||||
Argyll 0x0003 0x0971 0x2001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# i1 Pro
|
||||
Argyll 0x0003 0x0971 0x2000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# ColorMunki
|
||||
Argyll 0x0003 0x0971 0x2007 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# ColorMunki Smile
|
||||
Argyll 0x0003 0x0765 0x6003 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# Colorimtre HCFR
|
||||
Argyll 0x0003 0x04DB 0x005B 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# Spyder 2
|
||||
Argyll 0x0003 0x085C 0x0200 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# Spyder 3
|
||||
Argyll 0x0003 0x085C 0x0300 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# Spyder 4
|
||||
Argyll 0x0003 0x085C 0x0400 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# Spyder 5
|
||||
Argyll 0x0003 0x085C 0x0500 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# Huey
|
||||
Argyll 0x0003 0x0971 0x2005 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# ColorHug
|
||||
Argyll 0x0003 0x04D8 0xF8DA 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
Argyll 0x0003 0x273F 0x1001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# Image Engineering EX1
|
||||
Argyll 0x0003 0x2457 0x4000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
BIN
Argyll_V3.5.0/usb/ArgyllCMS.cat
Executable file
BIN
Argyll_V3.5.0/usb/ArgyllCMS.cat
Executable file
Binary file not shown.
296
Argyll_V3.5.0/usb/ArgyllCMS.inf
Executable file
296
Argyll_V3.5.0/usb/ArgyllCMS.inf
Executable file
@@ -0,0 +1,296 @@
|
||||
;--------------------------------------------------------------------------
|
||||
; Copyright 2012 Graeme W. Gill.
|
||||
;
|
||||
; Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
; of this file, to deal
|
||||
; in this file without restriction, including without limitation the rights
|
||||
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
; copies of this file, and to permit persons to whom this file is
|
||||
; furnished to do so, subject to the following conditions:
|
||||
;
|
||||
; The above copyright notice and this permission notice shall be included in
|
||||
; all copies or substantial portions of this file.
|
||||
;
|
||||
; THIS FILE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
; OUT OF OR IN CONNECTION WITH THIS FILE OR THE USE OR OTHER DEALINGS IN
|
||||
; THIS FILE.
|
||||
;--------------------------------------------------------------------------
|
||||
|
||||
; ==== Strings ====
|
||||
|
||||
[Strings]
|
||||
|
||||
DeviceGUID = {247e32a0-32f9-11df-aacc-0002a5d5c51b}
|
||||
|
||||
Date = "01/17/2012" ; MM/DD/YYYY
|
||||
libusb0ver = "1.2.6.0"
|
||||
|
||||
Libusb_ClassName = "Argyll LibUSB-win32 devices"
|
||||
Libusb_DiskName = "LibUSB-win32 Device Install Disk"
|
||||
|
||||
libusb0_SvcDesc = "LibUSB-win32 libusb0 - Kernel Driver 2012/1/17, 1.2.6.0"
|
||||
|
||||
; ==== Version ====
|
||||
|
||||
[Version]
|
||||
Signature = "$Windows NT$"
|
||||
DriverVer = %Date%,%libusb0ver%
|
||||
Provider = "ArgyllCMS"
|
||||
|
||||
; (Note the ClassGuid must not be quoted or a string substitution to work on Win2K)
|
||||
Class = %Libusb_ClassName%
|
||||
ClassGuid = {817cffe0-328b-11df-9b9f-0002a5d5c51b} ; LibUSB-win32 ClassGUID
|
||||
CatalogFile = "ArgyllCMS.cat"
|
||||
CatalogFile.NTAMD64 = "ArgyllCMS_x64.cat"
|
||||
CatalogFile.NTARM64 = "ArgyllCMS_arm64.cat"
|
||||
|
||||
[ClassInstall32]
|
||||
AddReg=class_install_add_reg
|
||||
|
||||
[class_install_add_reg]
|
||||
HKR,,,,%Libusb_ClassName%
|
||||
HKR,,Icon,,"-20" ; -20 is for the USB icon
|
||||
|
||||
; ==== Files Sources and Destinations ====
|
||||
|
||||
[SourceDisksNames]
|
||||
1 = %Libusb_DiskName%
|
||||
|
||||
[SourceDisksFiles]
|
||||
libusb0.sys = 1,\bin\x86,
|
||||
|
||||
[SourceDisksFiles.amd64]
|
||||
libusb0.sys = 1,\bin\amd64,
|
||||
|
||||
[SourceDisksFiles.arm64]
|
||||
libusb0.sys = 1,\bin\arm64,
|
||||
|
||||
[DestinationDirs]
|
||||
libusb0_files_sys = 10,system32\drivers
|
||||
|
||||
; ==== libusb0 Device driver ====
|
||||
|
||||
[libusb0_files_sys]
|
||||
libusb0.sys,libusb0.sys
|
||||
|
||||
; For each one of these, there must be one for Services !!!
|
||||
[LIBUSB0_DEV]
|
||||
CopyFiles = Libusb0_files_sys
|
||||
|
||||
[LIBUSB0_DEV.HW]
|
||||
AddReg = libusb0_add_reg_hw
|
||||
|
||||
[libusb0_add_reg]
|
||||
HKR,,DevLoader,,*ntkern
|
||||
HKR,,NTMPDriver,,libusb0.sys
|
||||
|
||||
[libusb0_add_reg_hw]
|
||||
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
|
||||
HKR,,SurpriseRemovalOK,0x00010001,1 ; Device properties
|
||||
|
||||
[LIBUSB0_DEV.Services]
|
||||
AddService = libusb0, 0x00000002, libusb0_add_service
|
||||
|
||||
[libusb0_add_service]
|
||||
DisplayName = %libusb0_SvcDesc%
|
||||
ServiceType = 1
|
||||
StartType = 3
|
||||
ErrorControl = 0
|
||||
ServiceBinary = %12%\libusb0.sys
|
||||
|
||||
; ==== Manufacturers ====
|
||||
|
||||
[Manufacturer]
|
||||
"HCFR Association"=HCFR_Devices,NTx86,NTamd64,NTarm64
|
||||
"Sequel Imaging"=Sequel_Devices,NTx86,NTamd64,NTarm64
|
||||
"X-Rite"=X_Rite_Devices,NTx86,NTamd64,NTarm64
|
||||
"ColorVision"=ColorVision_Devices,NTx86,NTamd64,NTarm64
|
||||
"Gretag Macbeth/X-Rite"=GM_X_Rite_Devices,NTx86,NTamd64,NTarm64
|
||||
"Hughski Ltd"=Hughski_Devices,NTx86,NTamd64,NTarm64
|
||||
"Image Engineering"=ImageEngineering_Devices,NTx86,NTamd64,NTarm64
|
||||
|
||||
; ==== Devices ====
|
||||
|
||||
[HCFR_Devices]
|
||||
"Colorimtre HCFR V3.1 (Argyll)" = LIBUSB0_DEV, USB\VID_04DB&PID_005B
|
||||
"Colorimtre HCFR V4.0 (Argyll)" = LIBUSB0_DEV, USB\VID_04D8&PID_FE17
|
||||
|
||||
[Sequel_Devices]
|
||||
"Eye-One Display 1 (Argyll)" = LIBUSB0_DEV, USB\VID_0670&PID_0001
|
||||
|
||||
[X_Rite_Devices]
|
||||
"HueyL (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5001
|
||||
"HueyL (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5010
|
||||
;"Eye-One Display 3 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5020
|
||||
"ColorMunki Smile (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6003
|
||||
"i1 Studio (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6008
|
||||
"i1 Pro3 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6009
|
||||
;"D123 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_600A
|
||||
"DTP20 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D020
|
||||
"DTP92Q (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D092
|
||||
"DTP94 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D094
|
||||
|
||||
[ColorVision_Devices]
|
||||
"Spyder1 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0100
|
||||
"Spyder2 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0200
|
||||
"Spyder3 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0300
|
||||
"Spyder4 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0400
|
||||
"Spyder5 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0500
|
||||
"SpyderX (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A00
|
||||
"SpyderX2 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A0A
|
||||
"Spyder2024 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A0B
|
||||
|
||||
[GM_X_Rite_Devices]
|
||||
"Eye-One Pro (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2000
|
||||
"Eye-One Monitor (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2001
|
||||
"Eye-One Display 2 (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2003
|
||||
"Huey (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2005
|
||||
"ColorMunki (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2007
|
||||
|
||||
[Hughski_Devices]
|
||||
"ColorHug 2 (Argyll)" = LIBUSB0_DEV, USB\VID_273F&PID_1004
|
||||
"ColorHug (Argyll)" = LIBUSB0_DEV, USB\VID_273F&PID_1001
|
||||
"ColorHug (Argyll)" = LIBUSB0_DEV, USB\VID_04D8&PID_F8DA
|
||||
|
||||
[ImageEngineering_Devices]
|
||||
"EX1 (Argyll)" = LIBUSB0_DEV, USB\VID_2457&PID_4000
|
||||
|
||||
|
||||
[HCFR_Devices.NTx86]
|
||||
"Colorimtre HCFR V3.1 (Argyll)" = LIBUSB0_DEV, USB\VID_04DB&PID_005B
|
||||
"Colorimtre HCFR V4.0 (Argyll)" = LIBUSB0_DEV, USB\VID_04D8&PID_FE17
|
||||
|
||||
[Sequel_Devices.NTx86]
|
||||
"Eye-One Display 1 (Argyll)" = LIBUSB0_DEV, USB\VID_0670&PID_0001
|
||||
|
||||
[X_Rite_Devices.NTx86]
|
||||
"HueyL (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5001
|
||||
"HueyL (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5010
|
||||
;"Eye-One Display 3 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5020
|
||||
"ColorMunki Smile (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6003
|
||||
"i1 Studio (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6008
|
||||
"i1 Pro3 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6009
|
||||
;"D123 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_600A
|
||||
"DTP20 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D020
|
||||
"DTP92Q (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D092
|
||||
"DTP94 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D094
|
||||
|
||||
[ColorVision_Devices.NTx86]
|
||||
"Spyder1 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0100
|
||||
"Spyder2 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0200
|
||||
"Spyder3 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0300
|
||||
"Spyder4 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0400
|
||||
"Spyder5 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0500
|
||||
"SpyderX (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A00
|
||||
"SpyderX2 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A0A
|
||||
"Spyder2024 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A0B
|
||||
|
||||
[GM_X_Rite_Devices.NTx86]
|
||||
"Eye-One Pro (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2000
|
||||
"Eye-One Monitor (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2001
|
||||
"Eye-One Display 2 (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2003
|
||||
"Huey (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2005
|
||||
"ColorMunki (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2007
|
||||
|
||||
[Hughski_Devices.NTx86]
|
||||
"ColorHug 2 (Argyll)" = LIBUSB0_DEV, USB\VID_273F&PID_1004
|
||||
"ColorHug (Argyll)" = LIBUSB0_DEV, USB\VID_273F&PID_1001
|
||||
"ColorHug (Argyll)" = LIBUSB0_DEV, USB\VID_04D8&PID_F8DA
|
||||
|
||||
[ImageEngineering_Devices.NTx86]
|
||||
"EX1 (Argyll)" = LIBUSB0_DEV, USB\VID_2457&PID_4000
|
||||
|
||||
|
||||
[HCFR_Devices.NTamd64]
|
||||
"Colorimtre HCFR V3.1 (Argyll)" = LIBUSB0_DEV, USB\VID_04DB&PID_005B
|
||||
"Colorimtre HCFR V4.0 (Argyll)" = LIBUSB0_DEV, USB\VID_04D8&PID_FE17
|
||||
|
||||
[Sequel_Devices.NTamd64]
|
||||
"Eye-One Display 1 (Argyll)" = LIBUSB0_DEV, USB\VID_0670&PID_0001
|
||||
|
||||
[X_Rite_Devices.NTamd64]
|
||||
"HueyL (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5001
|
||||
"HueyL (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5010
|
||||
;"Eye-One Display 3 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5020
|
||||
"ColorMunki Smile (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6003
|
||||
"i1 Studio (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6008
|
||||
"i1 Pro3 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6009
|
||||
;"D123 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_600A
|
||||
"DTP20 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D020
|
||||
"DTP92Q (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D092
|
||||
"DTP94 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D094
|
||||
|
||||
[ColorVision_Devices.NTamd64]
|
||||
"Spyder1 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0100
|
||||
"Spyder2 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0200
|
||||
"Spyder3 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0300
|
||||
"Spyder4 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0400
|
||||
"Spyder5 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0500
|
||||
"SpyderX (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A00
|
||||
"SpyderX2 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A0A
|
||||
"Spyder2024 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A0B
|
||||
|
||||
[GM_X_Rite_Devices.NTamd64]
|
||||
"Eye-One Pro (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2000
|
||||
"Eye-One Monitor (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2001
|
||||
"Eye-One Display 2 (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2003
|
||||
"Huey (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2005
|
||||
"ColorMunki (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2007
|
||||
|
||||
[Hughski_Devices.NTamd64]
|
||||
"ColorHug 2 (Argyll)" = LIBUSB0_DEV, USB\VID_273F&PID_1004
|
||||
"ColorHug (Argyll)" = LIBUSB0_DEV, USB\VID_273F&PID_1001
|
||||
"ColorHug (Argyll)" = LIBUSB0_DEV, USB\VID_04D8&PID_F8DA
|
||||
|
||||
[ImageEngineering_Devices.NTamd64]
|
||||
"EX1 (Argyll)" = LIBUSB0_DEV, USB\VID_2457&PID_4000
|
||||
|
||||
|
||||
[HCFR_Devices.NTarm64]
|
||||
"Colorimtre HCFR V3.1 (Argyll)" = LIBUSB0_DEV, USB\VID_04DB&PID_005B
|
||||
"Colorimtre HCFR V4.0 (Argyll)" = LIBUSB0_DEV, USB\VID_04D8&PID_FE17
|
||||
|
||||
[Sequel_Devices.NTarm64]
|
||||
"Eye-One Display 1 (Argyll)" = LIBUSB0_DEV, USB\VID_0670&PID_0001
|
||||
|
||||
[X_Rite_Devices.NTarm64]
|
||||
"HueyL (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5001
|
||||
"HueyL (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5010
|
||||
;"Eye-One Display 3 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5020
|
||||
"ColorMunki Smile (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6003
|
||||
"i1 Studio (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6008
|
||||
"i1 Pro3 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6009
|
||||
;"D123 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_600A
|
||||
"DTP20 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D020
|
||||
"DTP92Q (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D092
|
||||
"DTP94 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D094
|
||||
|
||||
[ColorVision_Devices.NTarm64]
|
||||
"Spyder1 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0100
|
||||
"Spyder2 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0200
|
||||
"Spyder3 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0300
|
||||
"Spyder4 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0400
|
||||
"Spyder5 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0500
|
||||
"SpyderX (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A00
|
||||
"SpyderX2 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A0A
|
||||
"Spyder2024 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A0B
|
||||
|
||||
[GM_X_Rite_Devices.NTarm64]
|
||||
"Eye-One Pro (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2000
|
||||
"Eye-One Monitor (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2001
|
||||
"Eye-One Display 2 (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2003
|
||||
"Huey (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2005
|
||||
"ColorMunki (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2007
|
||||
|
||||
[Hughski_Devices.NTarm64]
|
||||
"ColorHug 2 (Argyll)" = LIBUSB0_DEV, USB\VID_273F&PID_1004
|
||||
"ColorHug (Argyll)" = LIBUSB0_DEV, USB\VID_273F&PID_1001
|
||||
"ColorHug (Argyll)" = LIBUSB0_DEV, USB\VID_04D8&PID_F8DA
|
||||
|
||||
[ImageEngineering_Devices.NTarm64]
|
||||
"EX1 (Argyll)" = LIBUSB0_DEV, USB\VID_2457&PID_4000
|
||||
|
||||
45
Argyll_V3.5.0/usb/ArgyllCMS.inf.d
Executable file
45
Argyll_V3.5.0/usb/ArgyllCMS.inf.d
Executable file
@@ -0,0 +1,45 @@
|
||||
|
||||
[HCFR_Devices#PLAT#]
|
||||
"Colorimtre HCFR V3.1 (Argyll)" = LIBUSB0_DEV, USB\VID_04DB&PID_005B
|
||||
"Colorimtre HCFR V4.0 (Argyll)" = LIBUSB0_DEV, USB\VID_04D8&PID_FE17
|
||||
|
||||
[Sequel_Devices#PLAT#]
|
||||
"Eye-One Display 1 (Argyll)" = LIBUSB0_DEV, USB\VID_0670&PID_0001
|
||||
|
||||
[X_Rite_Devices#PLAT#]
|
||||
"HueyL (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5001
|
||||
"HueyL (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5010
|
||||
;"Eye-One Display 3 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_5020
|
||||
"ColorMunki Smile (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6003
|
||||
"i1 Studio (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6008
|
||||
"i1 Pro3 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_6009
|
||||
;"D123 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_600A
|
||||
"DTP20 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D020
|
||||
"DTP92Q (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D092
|
||||
"DTP94 (Argyll)" = LIBUSB0_DEV, USB\VID_0765&PID_D094
|
||||
|
||||
[ColorVision_Devices#PLAT#]
|
||||
"Spyder1 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0100
|
||||
"Spyder2 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0200
|
||||
"Spyder3 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0300
|
||||
"Spyder4 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0400
|
||||
"Spyder5 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0500
|
||||
"SpyderX (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A00
|
||||
"SpyderX2 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A0A
|
||||
"Spyder2024 (Argyll)" = LIBUSB0_DEV, USB\VID_085C&PID_0A0B
|
||||
|
||||
[GM_X_Rite_Devices#PLAT#]
|
||||
"Eye-One Pro (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2000
|
||||
"Eye-One Monitor (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2001
|
||||
"Eye-One Display 2 (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2003
|
||||
"Huey (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2005
|
||||
"ColorMunki (Argyll)" = LIBUSB0_DEV, USB\VID_0971&PID_2007
|
||||
|
||||
[Hughski_Devices#PLAT#]
|
||||
"ColorHug 2 (Argyll)" = LIBUSB0_DEV, USB\VID_273F&PID_1004
|
||||
"ColorHug (Argyll)" = LIBUSB0_DEV, USB\VID_273F&PID_1001
|
||||
"ColorHug (Argyll)" = LIBUSB0_DEV, USB\VID_04D8&PID_F8DA
|
||||
|
||||
[ImageEngineering_Devices#PLAT#]
|
||||
"EX1 (Argyll)" = LIBUSB0_DEV, USB\VID_2457&PID_4000
|
||||
|
||||
116
Argyll_V3.5.0/usb/ArgyllCMS.inf.t
Executable file
116
Argyll_V3.5.0/usb/ArgyllCMS.inf.t
Executable file
@@ -0,0 +1,116 @@
|
||||
;--------------------------------------------------------------------------
|
||||
; Copyright 2012 Graeme W. Gill.
|
||||
;
|
||||
; Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
; of this file, to deal
|
||||
; in this file without restriction, including without limitation the rights
|
||||
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
; copies of this file, and to permit persons to whom this file is
|
||||
; furnished to do so, subject to the following conditions:
|
||||
;
|
||||
; The above copyright notice and this permission notice shall be included in
|
||||
; all copies or substantial portions of this file.
|
||||
;
|
||||
; THIS FILE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
; OUT OF OR IN CONNECTION WITH THIS FILE OR THE USE OR OTHER DEALINGS IN
|
||||
; THIS FILE.
|
||||
;--------------------------------------------------------------------------
|
||||
|
||||
; ==== Strings ====
|
||||
|
||||
[Strings]
|
||||
|
||||
DeviceGUID = {247e32a0-32f9-11df-aacc-0002a5d5c51b}
|
||||
|
||||
Date = "01/17/2012" ; MM/DD/YYYY
|
||||
libusb0ver = "1.2.6.0"
|
||||
|
||||
Libusb_ClassName = "Argyll LibUSB-win32 devices"
|
||||
Libusb_DiskName = "LibUSB-win32 Device Install Disk"
|
||||
|
||||
libusb0_SvcDesc = "LibUSB-win32 libusb0 - Kernel Driver 2012/1/17, 1.2.6.0"
|
||||
|
||||
; ==== Version ====
|
||||
|
||||
[Version]
|
||||
Signature = "$Windows NT$"
|
||||
DriverVer = %Date%,%libusb0ver%
|
||||
Provider = "ArgyllCMS"
|
||||
|
||||
; (Note the ClassGuid must not be quoted or a string substitution to work on Win2K)
|
||||
Class = %Libusb_ClassName%
|
||||
ClassGuid = {817cffe0-328b-11df-9b9f-0002a5d5c51b} ; LibUSB-win32 ClassGUID
|
||||
CatalogFile = "ArgyllCMS.cat"
|
||||
CatalogFile.NTAMD64 = "ArgyllCMS_x64.cat"
|
||||
CatalogFile.NTARM64 = "ArgyllCMS_arm64.cat"
|
||||
|
||||
[ClassInstall32]
|
||||
AddReg=class_install_add_reg
|
||||
|
||||
[class_install_add_reg]
|
||||
HKR,,,,%Libusb_ClassName%
|
||||
HKR,,Icon,,"-20" ; -20 is for the USB icon
|
||||
|
||||
; ==== Files Sources and Destinations ====
|
||||
|
||||
[SourceDisksNames]
|
||||
1 = %Libusb_DiskName%
|
||||
|
||||
[SourceDisksFiles]
|
||||
libusb0.sys = 1,\bin\x86,
|
||||
|
||||
[SourceDisksFiles.amd64]
|
||||
libusb0.sys = 1,\bin\amd64,
|
||||
|
||||
[SourceDisksFiles.arm64]
|
||||
libusb0.sys = 1,\bin\arm64,
|
||||
|
||||
[DestinationDirs]
|
||||
libusb0_files_sys = 10,system32\drivers
|
||||
|
||||
; ==== libusb0 Device driver ====
|
||||
|
||||
[libusb0_files_sys]
|
||||
libusb0.sys,libusb0.sys
|
||||
|
||||
; For each one of these, there must be one for Services !!!
|
||||
[LIBUSB0_DEV]
|
||||
CopyFiles = Libusb0_files_sys
|
||||
|
||||
[LIBUSB0_DEV.HW]
|
||||
AddReg = libusb0_add_reg_hw
|
||||
|
||||
[libusb0_add_reg]
|
||||
HKR,,DevLoader,,*ntkern
|
||||
HKR,,NTMPDriver,,libusb0.sys
|
||||
|
||||
[libusb0_add_reg_hw]
|
||||
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
|
||||
HKR,,SurpriseRemovalOK,0x00010001,1 ; Device properties
|
||||
|
||||
[LIBUSB0_DEV.Services]
|
||||
AddService = libusb0, 0x00000002, libusb0_add_service
|
||||
|
||||
[libusb0_add_service]
|
||||
DisplayName = %libusb0_SvcDesc%
|
||||
ServiceType = 1
|
||||
StartType = 3
|
||||
ErrorControl = 0
|
||||
ServiceBinary = %12%\libusb0.sys
|
||||
|
||||
; ==== Manufacturers ====
|
||||
|
||||
[Manufacturer]
|
||||
"HCFR Association"=HCFR_Devices,NTx86,NTamd64,NTarm64
|
||||
"Sequel Imaging"=Sequel_Devices,NTx86,NTamd64,NTarm64
|
||||
"X-Rite"=X_Rite_Devices,NTx86,NTamd64,NTarm64
|
||||
"ColorVision"=ColorVision_Devices,NTx86,NTamd64,NTarm64
|
||||
"Gretag Macbeth/X-Rite"=GM_X_Rite_Devices,NTx86,NTamd64,NTarm64
|
||||
"Hughski Ltd"=Hughski_Devices,NTx86,NTamd64,NTarm64
|
||||
"Image Engineering"=ImageEngineering_Devices,NTx86,NTamd64,NTarm64
|
||||
|
||||
; ==== Devices ====
|
||||
250
Argyll_V3.5.0/usb/ArgyllCMS_uninstall_USB.c
Normal file
250
Argyll_V3.5.0/usb/ArgyllCMS_uninstall_USB.c
Normal file
@@ -0,0 +1,250 @@
|
||||
|
||||
/*
|
||||
* Argyll Color Management System
|
||||
*
|
||||
* Author: Graeme W. Gill
|
||||
* Date: 2023/11/16
|
||||
*
|
||||
* Copyright 2023 Graeme W. Gill
|
||||
* All rights reserved.
|
||||
*
|
||||
* This material is licenced under the GNU GENERAL PUBLIC LICENSE Version 2 or later :-
|
||||
* see the License2.txt file for licencing details.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include "copyright.h"
|
||||
#include "aconfig.h"
|
||||
|
||||
#include "windows.h"
|
||||
#include "setupapi.h"
|
||||
|
||||
#ifdef SUOI_FORCEDELETE /* If SDK doesn't have declaration... */
|
||||
|
||||
static void loadSDK() {
|
||||
}
|
||||
|
||||
#else /* If SDK doesn't have declaration... */
|
||||
|
||||
# define SUOI_FORCEDELETE 0x00000001
|
||||
|
||||
BOOL (WINAPI *SetupUninstallOEMInfA)(PCSTR FileName, DWORD Flags, PVOID Reserved) = NULL;
|
||||
|
||||
static void loadSDK() {
|
||||
HMODULE dllh = NULL;
|
||||
|
||||
if ((dllh = LoadLibraryA("Setupapi.dll")) == NULL)
|
||||
return;
|
||||
|
||||
*(FARPROC*)&SetupUninstallOEMInfA = GetProcAddress(dllh, "SetupUninstallOEMInfA");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void error(char *fmt, ...), warning(char *fmt, ...);
|
||||
|
||||
void usage(void) {
|
||||
fprintf(stderr,"Uninstall ArgyllCMS libusb-win32 USB drivers%s\n",ARGYLL_VERSION_STR);
|
||||
fprintf(stderr,"Author: Graeme W. Gill\n");
|
||||
fprintf(stderr,"usage: ArgyllCMS_uninstall_USB [-v level]\n");
|
||||
fprintf(stderr," -v level Verbose level 0-2 (default 1)\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char *argv[]) {
|
||||
int fa,nfa; /* argument we're looking at */
|
||||
int verb = 1; /* Default = none */
|
||||
int rv = 0;
|
||||
|
||||
if (argc < 1)
|
||||
usage();
|
||||
|
||||
/* Process the arguments */
|
||||
for(fa = 1;fa < argc;fa++) {
|
||||
nfa = fa; /* skip to nfa if next argument is used */
|
||||
if (argv[fa][0] == '-') { /* Look for any flags */
|
||||
char *na = NULL; /* next argument after flag, null if none */
|
||||
|
||||
if (argv[fa][2] != '\000')
|
||||
na = &argv[fa][2]; /* next is directly after flag */
|
||||
else {
|
||||
if ((fa+1) < argc) {
|
||||
if (argv[fa+1][0] != '-') {
|
||||
nfa = fa + 1;
|
||||
na = argv[nfa]; /* next is seperate non-flag argument */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (argv[fa][1] == '?')
|
||||
usage();
|
||||
|
||||
/* Verbosity */
|
||||
else if (argv[fa][1] == 'v') {
|
||||
fa = nfa;
|
||||
if (na == NULL) usage();
|
||||
verb = atoi(na);
|
||||
}
|
||||
|
||||
else
|
||||
usage();
|
||||
}
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if (verb >= 1)
|
||||
printf("Un-installing ArgyllCMS libusb0 instruments and drivers:\n");
|
||||
|
||||
/* Un-install Devices */
|
||||
{
|
||||
// ClassGuid {817cffe0-328b-11df-9b9f-0002a5d5c51b}
|
||||
GUID guid = { 0x817cffe0, 0x328b, 0x11df, { 0x9b, 0x9f, 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } };
|
||||
HDEVINFO dinfo;
|
||||
SP_DEVINFO_DATA infodata = { 0 } ;
|
||||
int index = 0;
|
||||
|
||||
infodata.cbSize = sizeof(SP_DEVINFO_DATA);
|
||||
|
||||
if ((dinfo = SetupDiGetClassDevsA(&guid, "USB", NULL, 0)) == NULL) {
|
||||
error("Didn't find any ArgyllCM libusb0 devices (Error 0x%x)",GetLastError());
|
||||
}
|
||||
|
||||
if (verb >= 2) printf("Un-installing Devices\n");
|
||||
|
||||
index = 0;
|
||||
while (SetupDiEnumDeviceInfo(
|
||||
dinfo,
|
||||
index,
|
||||
&infodata)) {
|
||||
int dvix = 0;
|
||||
|
||||
if (verb >= 2)
|
||||
printf("Un-installing device %d, GUID = %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x\n",
|
||||
index+1,
|
||||
infodata.ClassGuid.Data1,
|
||||
infodata.ClassGuid.Data2,
|
||||
infodata.ClassGuid.Data3,
|
||||
infodata.ClassGuid.Data4[0],
|
||||
infodata.ClassGuid.Data4[1],
|
||||
infodata.ClassGuid.Data4[2],
|
||||
infodata.ClassGuid.Data4[3],
|
||||
infodata.ClassGuid.Data4[4],
|
||||
infodata.ClassGuid.Data4[5],
|
||||
infodata.ClassGuid.Data4[6],
|
||||
infodata.ClassGuid.Data4[7]);
|
||||
|
||||
if (!SetupDiCallClassInstaller(DIF_REMOVE, dinfo, &infodata)) {
|
||||
if (GetLastError() == 0xe0000235)
|
||||
error("Un-installing Device '%d' failed because a 32 bit un-installer won't "
|
||||
"work on a 64 bit system.",index+1);
|
||||
error("Un-installing Device %d failed (Error 0x%x)",index+1, GetLastError());
|
||||
}
|
||||
index++;
|
||||
}
|
||||
SetupDiDestroyDeviceInfoList(dinfo);
|
||||
}
|
||||
|
||||
/* Un-install Driver */
|
||||
{
|
||||
// ClassGuid {817cffe0-328b-11df-9b9f-0002a5d5c51b}
|
||||
GUID guid = { 0x817cffe0, 0x328b, 0x11df, { 0x9b, 0x9f, 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } };
|
||||
HDEVINFO dinfo;
|
||||
SP_DRVINFO_DATA_A driverinfo = { 0 };
|
||||
SP_DRVINFO_DETAIL_DATA_A driverdetail = { 0 };
|
||||
CHAR InfName[MAX_PATH], *p;
|
||||
DWORD dsize = 0;
|
||||
int dvix = 0;
|
||||
|
||||
driverinfo.cbSize = sizeof(SP_DRVINFO_DATA_A);
|
||||
driverdetail.cbSize = sizeof(SP_DRVINFO_DETAIL_DATA_A);
|
||||
|
||||
if ((dinfo = SetupDiCreateDeviceInfoList(&guid, NULL)) == INVALID_HANDLE_VALUE) {
|
||||
error("Creating Device Info failed (Error 0x%x)",GetLastError());
|
||||
}
|
||||
|
||||
if (!SetupDiBuildDriverInfoList(dinfo, NULL, SPDIT_CLASSDRIVER)) {
|
||||
error("Failed to locate ArgyllCM libusb0 Driver class (Error 0x%x)",GetLastError());
|
||||
}
|
||||
|
||||
/* Find first device that uses this driver */
|
||||
if (!SetupDiEnumDriverInfoA(
|
||||
dinfo,
|
||||
NULL,
|
||||
SPDIT_CLASSDRIVER,
|
||||
0,
|
||||
&driverinfo)) {
|
||||
error("Didn't find any Devices that use the ArgyllCMS driver (Error 0x%x)\n",GetLastError());
|
||||
}
|
||||
|
||||
if (!SetupDiGetDriverInfoDetailA(dinfo, NULL, &driverinfo, &driverdetail,
|
||||
driverdetail.cbSize, &dsize) && GetLastError() != ERROR_INSUFFICIENT_BUFFER) {
|
||||
error("Retrieving detailed Driver information failed (Error 0x%x)\n",GetLastError());
|
||||
}
|
||||
|
||||
if (strlen(driverdetail.InfFileName) > 5
|
||||
&& (p = strrchr(driverdetail.InfFileName,'\\')) != NULL) {
|
||||
strcpy(InfName, p+1);
|
||||
|
||||
loadSDK();
|
||||
|
||||
if (SetupUninstallOEMInfA == NULL)
|
||||
error("Couldn't find SetupUninstallOEMInfA API");
|
||||
|
||||
if (verb >= 1) printf("Un-installing Driver '%s' InfFile '%s'\n",
|
||||
driverinfo.ProviderName,InfName);
|
||||
|
||||
if (!SetupUninstallOEMInfA(InfName, SUOI_FORCEDELETE, NULL)) {
|
||||
if (GetLastError() == 0xe0000235)
|
||||
error("Un-install driver '%s' failed because a 32 bit un-installer won't "
|
||||
"work on a 64 bit system.",driverinfo.ProviderName);
|
||||
error("Un-install driver '%s' failed with (Error 0x%x)",
|
||||
driverinfo.ProviderName,GetLastError());
|
||||
}
|
||||
} else {
|
||||
error("Driver '%s' InfPath '%s' is invalid\n",
|
||||
driverinfo.ProviderName,driverdetail.InfFileName);
|
||||
}
|
||||
SetupDiDestroyDeviceInfoList(dinfo);
|
||||
}
|
||||
|
||||
if (verb >= 1)
|
||||
printf("Un-install success!\n");
|
||||
|
||||
Sleep(4000); /* Allow message to be read */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/* Basic printf type error() and warning() routines */
|
||||
|
||||
void
|
||||
error(char *fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
fprintf(stderr," ");
|
||||
va_start(args, fmt);
|
||||
vfprintf(stderr, fmt, args);
|
||||
va_end(args);
|
||||
fprintf(stderr, "\n");
|
||||
exit (-1);
|
||||
}
|
||||
|
||||
void
|
||||
warning(char *fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
fprintf(stderr,"Warning - ");
|
||||
va_start(args, fmt);
|
||||
vfprintf(stderr, fmt, args);
|
||||
va_end(args);
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
76
Argyll_V3.5.0/usb/Jamfile
Executable file
76
Argyll_V3.5.0/usb/Jamfile
Executable file
@@ -0,0 +1,76 @@
|
||||
|
||||
# JAM style makefile for libusb-win32, to create .inf files.
|
||||
|
||||
#PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on
|
||||
PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags
|
||||
#PREF_CCFLAGS = $(CCHEAPDEBUG) ; # Heap Debugging flags
|
||||
PREF_LINKFLAGS = $(LINKDEBUGFLAG) ; # Link debugging flags
|
||||
|
||||
#Products
|
||||
#Libraries = ;
|
||||
Executables = ArgyllCMS_install_USB.exe ArgyllCMS_uninstall_USB.exe ;
|
||||
#Headers = ;
|
||||
|
||||
#Install
|
||||
#InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ;
|
||||
#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
|
||||
#InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ;
|
||||
|
||||
Depends install : [ NormDstTargets $(Executables) ] ;
|
||||
|
||||
# USB driver un-installer
|
||||
if $(NT) {
|
||||
HDRS = ../h ;
|
||||
UACBin ArgyllCMS_uninstall_USB ;
|
||||
MainsFromSources ArgyllCMS_uninstall_USB.c ;
|
||||
|
||||
if $(TARGET64) = true {
|
||||
if $(VSCMD_ARG_TGT_ARCH) = "arm64" {
|
||||
File ArgyllCMS_install_USB.exe : bin/arm64/ArgyllCMS_install_USB.exe ;
|
||||
} else {
|
||||
File ArgyllCMS_install_USB.exe : bin/amd64/ArgyllCMS_install_USB.exe ;
|
||||
}
|
||||
} else {
|
||||
File ArgyllCMS_install_USB.exe : bin/x86/ArgyllCMS_install_USB.exe ;
|
||||
}
|
||||
}
|
||||
|
||||
if [ GLOB $(PATH) : sed sed.exe ] {
|
||||
Echo "sed seems to be available" ;
|
||||
CREATE_INFS = true ;
|
||||
} else {
|
||||
CREATE_INFS = false ;
|
||||
}
|
||||
|
||||
# Create ArgyllCMS.inf from the template and device list
|
||||
if $(CREATE_INFS) = true {
|
||||
local _i _t _d ;
|
||||
NDepends files : ArgyllCMS.inf ;
|
||||
# Make sure .cat's get built on install
|
||||
NDepends install : ArgyllCMS.inf ArgyllCMS.cat ;
|
||||
|
||||
_i = [ NormPaths ArgyllCMS.inf ] ;
|
||||
_t = [ NormPaths ArgyllCMS.inf.t ] ;
|
||||
_d = [ NormPaths ArgyllCMS.inf.d ] ;
|
||||
|
||||
File ArgyllCMS.inf : ArgyllCMS.inf.t ;
|
||||
GenFileNND ArgyllCMS.inf : "sed s/#PLAT#// $(_d) >> $(_i)" : ArgyllCMS.inf.t ArgyllCMS.inf.d ;
|
||||
GenFileNND ArgyllCMS.inf : "sed s/#PLAT#/.NTx86/ $(_d) >> $(_i)" : ArgyllCMS.inf.t ArgyllCMS.inf.d ;
|
||||
GenFileNND ArgyllCMS.inf : "sed s/#PLAT#/.NTamd64/ $(_d) >> $(_i)" : ArgyllCMS.inf.t ArgyllCMS.inf.d ;
|
||||
GenFileNND ArgyllCMS.inf : "sed s/#PLAT#/.NTarm64/ $(_d) >> $(_i)" : ArgyllCMS.inf.t ArgyllCMS.inf.d ;
|
||||
|
||||
# If we have the tools and the .inf file has changed,
|
||||
# create valid (but unsigned) .cat files.
|
||||
if $(NT) && [ GLOB $(PATH) : inf2cat.exe ] {
|
||||
_b = [ NormPaths makecat.bat ] ;
|
||||
# echo "SUBDIR = '" $(SUBDIR) "'" ;
|
||||
GenFileNNDnc ArgyllCMS.cat : $(_b) $(SUBDIR) : ArgyllCMS.inf ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
11
Argyll_V3.5.0/usb/Readme.txt
Executable file
11
Argyll_V3.5.0/usb/Readme.txt
Executable file
@@ -0,0 +1,11 @@
|
||||
|
||||
Here are the necessary files to install the MSWin
|
||||
instrument device drivers, and build the spectro/usbio_nt
|
||||
library that uses the device drivers.
|
||||
|
||||
The source to the kernel driver is here, but not built with
|
||||
Argyll. The pre-built, signed drivers are used.
|
||||
|
||||
The libusb-win32.dll is not used by ArgyllCMS.
|
||||
|
||||
|
||||
29
Argyll_V3.5.0/usb/afiles
Executable file
29
Argyll_V3.5.0/usb/afiles
Executable file
@@ -0,0 +1,29 @@
|
||||
afiles
|
||||
binfiles.msw
|
||||
binfiles.osx
|
||||
binfiles.lx
|
||||
Readme.txt
|
||||
Jamfile
|
||||
makecat.bat
|
||||
45-Argyll.rules
|
||||
55-Argyll.rules
|
||||
Argyll
|
||||
Argyll.usermap
|
||||
Argyll.kext/Info.plist
|
||||
install_kext.sh
|
||||
ArgyllCMS.inf
|
||||
ArgyllCMS.cat
|
||||
ArgyllCMS.inf.t
|
||||
ArgyllCMS.inf.d
|
||||
ArgyllCMS_uninstall_USB.c
|
||||
bin/libusb-win32-bin-README.txt
|
||||
bin/AUTHORS.txt
|
||||
bin/COPYING_GPL.txt
|
||||
bin/COPYING_LGPL.txt
|
||||
bin/x86/libusb0.sys
|
||||
bin/x86/ArgyllCMS_install_USB.exe
|
||||
bin/amd64/libusb0.sys
|
||||
bin/amd64/ArgyllCMS_install_USB.exe
|
||||
bin/arm64/libusb0.sys
|
||||
bin/arm64/ArgyllCMS_install_USB.exe
|
||||
|
||||
4
Argyll_V3.5.0/usb/binfiles.lx
Executable file
4
Argyll_V3.5.0/usb/binfiles.lx
Executable file
@@ -0,0 +1,4 @@
|
||||
45-Argyll.rules
|
||||
55-Argyll.rules
|
||||
Argyll
|
||||
Argyll.usermap
|
||||
10
Argyll_V3.5.0/usb/binfiles.msw
Executable file
10
Argyll_V3.5.0/usb/binfiles.msw
Executable file
@@ -0,0 +1,10 @@
|
||||
ArgyllCMS_install_USB.exe
|
||||
ArgyllCMS_uninstall_USB.exe
|
||||
ArgyllCMS.cat
|
||||
ArgyllCMS_x64.cat
|
||||
ArgyllCMS_arm64.cat
|
||||
ArgyllCMS.inf
|
||||
bin/libusb-win32-bin-README.txt
|
||||
bin/x86/libusb0.sys
|
||||
bin/amd64/libusb0.sys
|
||||
bin/arm64/libusb0.sys
|
||||
2
Argyll_V3.5.0/usb/binfiles.osx
Executable file
2
Argyll_V3.5.0/usb/binfiles.osx
Executable file
@@ -0,0 +1,2 @@
|
||||
Argyll.kext/Info.plist
|
||||
install_kext.sh
|
||||
6
Argyll_V3.5.0/usb/install_kext.sh
Executable file
6
Argyll_V3.5.0/usb/install_kext.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
# Install OS X HCFR codeless kernel extension
|
||||
echo "Installing OS X HCFR codeless kernel extension"
|
||||
sudo cp -R Argyll.kext /System/Library/Extensions/
|
||||
sudo chown -R root:wheel /System/Library/Extensions/Argyll.kext
|
||||
sudo kextload -t /System/Library/Extensions/Argyll.kext
|
||||
echo "Reboot to finish installation"
|
||||
16
Argyll_V3.5.0/usb/makecat.bat
Executable file
16
Argyll_V3.5.0/usb/makecat.bat
Executable file
@@ -0,0 +1,16 @@
|
||||
rem Create plausible .cat files
|
||||
rem got directory %1
|
||||
cd %1
|
||||
mkdir tmp\bin\x86
|
||||
mkdir tmp\bin\amd64
|
||||
mkdir tmp\bin\arm64
|
||||
copy ArgyllCMS.inf tmp
|
||||
copy bin\libusb-win32-bin-README.txt tmp\bin
|
||||
copy bin\arm64\libusb0.sys tmp\bin\arm64\libusb0.sys
|
||||
copy bin\amd64\libusb0.sys tmp\bin\amd64\libusb0.sys
|
||||
copy bin\x86\libusb0.sys tmp\bin\x86\libusb0.sys
|
||||
inf2cat /v /driver:tmp /os:2000,XP_X86,Vista_X86,7_X86,XP_X64,Vista_X64,7_X64
|
||||
copy tmp\argyllcms.cat ArgyllCMS.cat
|
||||
copy tmp\argyllcms_x64.cat ArgyllCMS_x64.cat
|
||||
copy tmp\argyllcms_x64.cat ArgyllCMS_arm64.cat
|
||||
rmdir /S /Q tmp
|
||||
Reference in New Issue
Block a user