Add i1Pro 2 color measurement workflow scripts

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-13 08:10:24 +03:30
commit d32cbc3007
11 changed files with 774 additions and 0 deletions

22
setup-udev.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Install ArgyllCMS udev rules so the i1Pro 2 is accessible without root.
set -euo pipefail
ARGYLL_USB="${HOME}/.local/bin/Argyll_V3.4.1/usb"
RULES_SRC="${ARGYLL_USB}/55-Argyll.rules"
RULES_DST="/etc/udev/rules.d/55-Argyll.rules"
if [[ ! -f "$RULES_SRC" ]]; then
echo "Error: $RULES_SRC not found" >&2
exit 1
fi
echo "Installing udev rules for ArgyllCMS / i1Pro..."
sudo cp "$RULES_SRC" "$RULES_DST"
sudo udevadm control --reload-rules
sudo udevadm trigger
echo ""
echo "Done. Unplug the i1Pro 2, wait 2 seconds, then plug it back in."
echo "Verify with: spotread -?"