1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
|
<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I)
[Netscape]">
<title>Argyll Installation on Apple OS X</title>
</head>
<body>
<h1> <u>Installing the software on Apple OS X<br>
</u></h1>
<br>
You will need to unpack the downloaded file in the location you have
chosen to hold the executable files. Typically this might be in <span
style="font-style: italic;">/usr/bin</span>, or perhaps <span
style="font-style: italic;">$HOME/bin/</span>, or <i>even $HOME.</i><br>
<br>
You can unpack it by control-click on the downloaded file and “Open
With” BOMArchiveHelper or Archive Utility. Drag the resulting folder
to where you want it, e.g. into your home folder (/Users/usrnam
where usrnam is your username).<br>
<br>
Alternatively you can unpack it on the command line using the
command <span style="font-weight: bold;">tar -zxf</span> <span
style="font-weight: bold;">archivename.tgz</span>, which will
create a directory <span style="font-weight: bold;">Argyll_VX.X.X</span>,
where X.X.X is the version number, and the executables will be in <span
style="font-weight: bold;">Argyll_VX.X.X/bin</span>. <br>
<br>
Open a Terminal shell. This will be in
Applications->Utilities->Terminal (Dragging it to the dock is
a good idea to make it more accessible).<br>
<br>
You will have to configure your $PATH environment variable to give
access to the executable from your command line environment, by
editing your <span style="font-weight: bold;">.profile</span> file.
You can do this using a graphical editor, by using the open command:<br>
<br>
~$open .profile<br>
<br>
or by using some other editor, such as <span style="font-weight:
bold;">vi</span>.<br>
<br>
And add a line similar to the following line to your .path file<br>
<br>
PATH=$PATH:$HOME/Argyll_VX.X.X/bin<br>
<br>
where "$HOME/Argyll_VX.X.X/bin" is the path to the executable
directory.<br>
<br>
If you are unfamiliar with how to do this, consult an appropriate
tutorial, e.g. <<a
href="http://heather.cs.ucdavis.edu/matloff/public_html/UnixAndC/Unix/ShellIntro.pdf">ShellIntro</a>>.
The
.tgz
file
also
contains
several
useful
reference
files (such as scanner chart recognition templates, sample
illumination spectrum etc.) in the ref sub-directory, as well as all
the current documentation in a doc sub-directory.<br>
<br>
For most devices there is nothing special to do. Plug in and go.
Some devices may not work without some extra help though:<br>
<h3><a name="ColorMunki"></a><span style="text-decoration:
underline;">X-Rite ColorMunki</span></h3>
Some version of X-Rite's ColorMunki drivers released between 2009
and 2011 install an X-Rite daemon that runs as root and grabs the
device, preventing any other programs (such as Argyll) from opening
them. Latter versions seem to be more cooperative, and don't suffer
from this problem. There are three ways of working around this
problem:<br>
<br>
1) Turn off the X-Rite service for the ColorMunki. See <<a
class="moz-txt-link-freetext"
href="http://www.xrite.com/product_overview.aspx?ID=1161&Action=support&SupportID=4980">http://www.xrite.com/product_overview.aspx?ID=1161&Action=support&SupportID=4980</a>>.<br>
<br>
2) Run all Argyll programs that need to access the instrument as
root. For instance:<br>
<br>
sudo spotread<br>
<br>
and then you will be asked for the root password.<br>
While these methods will work, they are incovenient. <br>
<br>
3) Alter the X-Rite drivers Daeomon so that it runs under your user
account.<br>
<br>
To do this you need to edit the script that controls the X-Rite
Daemon.<br>
<br>
cd ~<br>
whoami<br>
cp
/Library/LaunchDaemons/com.xrite.device.colormunki.plist temp.plist<br>
open temp.plist<br>
<br>
and add one child below the root:<br>
<br>
<span style="text-decoration: underline;">Item
Type
Value
</span><br>
UserName
string
myusername<br>
<br>
where "myusername" is your username shown by whoami, and save the
file. You then need to copy the modified file back: <br>
<br>
sudo cp temp.plist
/Library/LaunchDaemons/com.xrite.device.colormunki.plist<br>
<br>
You will then need to restart the machine for this change to take
effect, or invoke the following commands:<br>
<br>
sudo launchctl unload
/Library/LaunchDaemons/com.xrite.device.colormunki.plist<br>
sudo launchctl load
/Library/LaunchDaemons/com.xrite.device.colormunki.plist<br>
<br>
<span style="font-weight: bold;">NOTE</span> that after running
Argyll tools, you may have to turn the X-Rite service off then on
again, or disconnect and reconnect the instrument.<br>
<br>
<h3><a name="ColorMunki"></a><span style="text-decoration:
underline;">X-Rite EyeOne Pro</span><br>
</h3>
Some version of X-Rite's EyeOne Pro drivers drivers released between
2009 and 2011 install an X-Rite daemon that runs as root and grabs
the device, preventing any other programs (such as Argyll) from
opening them. Latter versions seem to be more cooperative, and don't
suffer from this problem. There are three ways of working around
this problem:<br>
<br>
1) Turn off the X-Rite service for the EyeOne Pro. See <<a
class="moz-txt-link-freetext"
href="http://www.xrite.com/product_overview.aspx?ID=1161&Action=support&SupportID=4980">http://www.xrite.com/product_overview.aspx?ID=1161&Action=support&SupportID=4980</a>>.<br>
<br>
2) Run all Argyll programs that need to access the instrument as
root. For instance:<br>
<br>
sudo spotread<br>
<br>
and then you will be asked for the root password.<br>
While these methods will work, they are inconvenient. <br>
<br>
3) Alter the X-Rite drivers Daemon so that it runs under your user
account.<br>
<br>
To do this you need to edit the script that controls the X-Rite
Daemon.<br>
<br>
cd ~<br>
whoami<br>
cp
/Library/LaunchDaemons/com.xrite.device.i1.plist temp.plist<br>
open temp.plist<br>
<br>
and add one child below the root:<br>
<br>
<span style="text-decoration: underline;">Item
Type
Value
</span><br>
UserName
string
myusername<br>
<br>
where "myusername" is your username shown by whoami, and save the
file. You then need to copy the modified file back: <br>
<br>
sudo cp temp.plist
/Library/LaunchDaemons/com.xrite.device.i1.plist<br>
<br>
You will then need to restart the machine for this change to take
effect, or invoke the following commands:<br>
<br>
sudo launchctl unload
/Library/LaunchDaemons/com.xrite.device.i1.plist<br>
sudo launchctl load
/Library/LaunchDaemons/com.xrite.device.i1.plist<br>
<br>
<span style="font-weight: bold;">NOTE</span> that after running
Argyll tools, you may have to turn the X-Rite service off then on
again, or disconnect and reconnect the instrument.<br>
<br>
<h3><a name="specbos"></a><span style="text-decoration: underline;">JETI
specbos
1201 and 1211</span><br>
</h3>
<br>
If you are using the <b>JETI</b> specbos <span style="font-weight:
bold;">1211</span><span style="font-weight: bold;"> </span>and <b>1201</b>,
then you may need to install the <a
href="http://www.ftdichip.com/Drivers/VCP.htm">FTDI Virtual COM
Port Drivers</a> (VCP), if they are not already on your system.<br>
<br>
<h3><a name="HCFR"></a><u>HCFR Colorimeter</u></h3>
The default OS X class drivers will grab this device, preventing
Argyll from accessing it. To overcome this, you need to install a
codeless kernel extension if you wish to use the HCFR colorimeter,
that prevents this from happening. From the command line you need to
create a directory called Argyll.kext somewhere convenient, and then
place in it one file called Info.plist, containing the following:<br>
<br>
----------------- cut here ---------------------<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST
1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><br>
<plist version="1.0"><br>
<dict><br>
<key>CFBundleDevelopmentRegion</key>
<string>English</string><br>
<key>CFBundleGetInfoString</key> <string>Libusb
USB device Shield</string><br>
<key>CFBundleIdentifier</key>
<string>com.libusb.USB_Shield</string><br>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string><br>
<key>CFBundleName</key>
<string>Libusb USB device Shield</string><br>
<key>CFBundlePackageType</key>
<string>KEXT</string><br>
<key>CFBundleSignature</key>
<string>????</string><br>
<key>CFBundleVersion</key>
<string>6.0</string><br>
<key>IOKitPersonalities</key><br>
<dict><br>
<key>HCFR</key><br>
<dict><br>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleUSBComposite</string><br>
<key>IOClass</key>
<string>AppleUSBComposite</string><br>
<key>IOProviderClass</key>
<string>IOUSBDevice</string><br>
<key>idVendor</key>
<integer>1243</integer><br>
<key>idProduct</key>
<integer>91</integer><br>
</dict><br>
</dict><br>
<key>OSBundleCompatibleVersion</key>
<string>1.8</string><br>
<key>OSBundleLibraries</key><br>
<dict><br>
<key>com.apple.kernel.iokit</key>
<string>6.0</string><br>
</dict><br>
</dict><br>
</plist><br>
----------------- cut here ---------------------<br>
<br>
(You can also copy this from the source installation in
usb/Argyll.kext)<br>
<br>
You then need to install it by using:<br>
<br>
sudo cp -R Argyll.kext /System/Library/Extensions<br>
<br>
supplying the appropriate root password when prompted.<br>
Reboot the system to activate the extension.<br>
<br>
<p><br>
</p>
</body>
</html>
|