[argyllcms] [FreeBSD] success

  • From: Boris Samorodov <bsam@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Fri, 22 Feb 2013 17:31:26 +0400

Hi All,

I'd like to inform you that I managed to build, install and
use argyllcms at FreeBSD 9-i386 and 10-amd64. Here what I
get:
-----
% uname -srm
FreeBSD 10.0-CURRENT amd64

% clang --version
FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221
Target: x86_64-unknown-freebsd10.0
Thread model: posix
-----

The program was build by clang. See the attached file as a log
of running "spotread -D2".

Thanks all involved in creating/developing the great software!

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Script started on Fri Feb 22 17:22:44 2013
command: spotread -D2
usb_get_paths about to look through buses:
usb_get_paths about to look through devices:
usb_check_and_add() called with VID 0x971, PID 0x2000
usb_check_and_add() found known instrument
usb_check_and_add() called with VID 0x409, PID 0x2b8
usb_check_and_add() called with VID 0x409, PID 0x5a
usb_check_and_add() called with VID 0x46d, PID 0xc52b
usb_check_and_add() called with VID 0x3f0, PID 0x1705
usb_check_and_add() called with VID 0x0, PID 0x0
usb_check_and_add() called with VID 0x0, PID 0x0
usb_check_and_add() called with VID 0x0, PID 0x0
usb_check_and_add() called with VID 0x0, PID 0x0
usb_check_and_add() called with VID 0x0, PID 0x0
usb_check_and_add() called with VID 0x0, PID 0x0
usb_check_and_add() called with VID 0x0, PID 0x0
usb_check_and_add() called with VID 0x0, PID 0x0
failed to open serial "/dev/cuau0"
i1pro: About to init coms
i1pro: About to init USB
icoms: About to set usb port characteristics
icoms: About to open the USB port, tries 0
icoms: USB port needs opening
icoms: About to open USB port 'usb:/bus0/dev13 (GretagMacbeth i1 Pro)'
open() of USB port 'usb:/bus0/dev13 (GretagMacbeth i1 Pro)' suceeded
Number of configurations = 0
icoms: USB port is now open
icoms: Clearing any USB errors
icoms: usb port characteristics set ok
i1pro: init coms has suceeded
i1pro: About to init instrument

i1pro: Instrument reset with mask 0x1f @ 12 msec
Reset complete, ICOM err 0x0 (4 msec)

i1pro: GetMisc @ 116 msec

i1pro: Read 1 byte from switch hit port @ 116 msec
GetMisc returns 506, 0x139c, 0xfa00, 0x01, 0x00 ICOM err 0x0 (5 msec)
Firmware rev = 506

i1pro: Read EEProm address 0x0 size 0x2000 @ 121 msec
Switch read 0x1 bytes, Byte read 0x6 ICOM err 0x0 (8181 msec)

i1pro: Read 1 byte from switch hit port @ 8297 msec
Read 0x2000 bytes, ICOM err 0x0 (8176 msec)
55 key/values in EEProm table
Table entry 0 is Key 0x2715, type 2 addr 0x0, size 4
Table entry 1 is Key 0x271a, type 2 addr 0x4, size 512
Table entry 2 is Key 0x271b, type 2 addr 0x204, size 512
Table entry 3 is Key 0x271c, type 2 addr 0x404, size 4
Table entry 4 is Key 0x271d, type 3 addr 0x408, size 4
Table entry 5 is Key 0x2724, type 2 addr 0x40c, size 4
Table entry 6 is Key 0x2725, type 2 addr 0x410, size 4
Table entry 7 is Key 0x2710, type 2 addr 0x414, size 4
Table entry 8 is Key 0x2711, type 3 addr 0x418, size 4
Table entry 9 is Key 0x2712, type 2 addr 0x41c, size 4
Table entry 10 is Key 0x2713, type 2 addr 0x420, size 4
Table entry 11 is Key 0x2714, type 3 addr 0x424, size 4
Table entry 12 is Key 0x0001, type 4 addr 0x428, size 984
Table entry 13 is Key 0x2afd, type 2 addr 0x800, size 4
Table entry 14 is Key 0x2b02, type 2 addr 0x804, size 512
Table entry 15 is Key 0x2b03, type 2 addr 0xa04, size 512
Table entry 16 is Key 0x2b04, type 2 addr 0xc04, size 4
Table entry 17 is Key 0x2b05, type 3 addr 0xc08, size 4
Table entry 18 is Key 0x2b0c, type 2 addr 0xc0c, size 4
Table entry 19 is Key 0x2b0d, type 2 addr 0xc10, size 4
Table entry 20 is Key 0x2af8, type 2 addr 0xc14, size 4
Table entry 21 is Key 0x2af9, type 3 addr 0xc18, size 4
Table entry 22 is Key 0x2afa, type 2 addr 0xc1c, size 4
Table entry 23 is Key 0x2afb, type 2 addr 0xc20, size 4
Table entry 24 is Key 0x2afc, type 3 addr 0xc24, size 4
Table entry 25 is Key 0x0003, type 4 addr 0xc28, size 1496
Table entry 26 is Key 0x03e8, type 3 addr 0x1200, size 16
Table entry 27 is Key 0x04c5, type 3 addr 0x1210, size 4
Table entry 28 is Key 0x03e9, type 3 addr 0x1214, size 16
Table entry 29 is Key 0x04c6, type 3 addr 0x1224, size 4
Table entry 30 is Key 0x03ea, type 2 addr 0x1228, size 144
Table entry 31 is Key 0x03eb, type 2 addr 0x12b8, size 144
Table entry 32 is Key 0x03ec, type 3 addr 0x1348, size 2304
Table entry 33 is Key 0x0bb9, type 2 addr 0x1c48, size 4
Table entry 34 is Key 0x0bba, type 2 addr 0x1c4c, size 4
Table entry 35 is Key 0x044c, type 3 addr 0x1c50, size 144
Table entry 36 is Key 0x044d, type 3 addr 0x1ce0, size 144
Table entry 37 is Key 0x044e, type 3 addr 0x1d70, size 144
Table entry 38 is Key 0x0fa0, type 2 addr 0x1e00, size 4
Table entry 39 is Key 0x0bbf, type 2 addr 0x1e04, size 4
Table entry 40 is Key 0x0bc0, type 2 addr 0x1e08, size 4
Table entry 41 is Key 0x0bc1, type 2 addr 0x1e0c, size 20
Table entry 42 is Key 0x0bc2, type 2 addr 0x1e20, size 4
Table entry 43 is Key 0x0bc3, type 2 addr 0x1e24, size 4
Table entry 44 is Key 0x0bc4, type 2 addr 0x1e28, size 4
Table entry 45 is Key 0x0bc5, type 2 addr 0x1e2c, size 4
Table entry 46 is Key 0x0bc6, type 3 addr 0x1e30, size 4
Table entry 47 is Key 0x04b4, type 2 addr 0x1e34, size 4
Table entry 48 is Key 0x04b5, type 2 addr 0x1e38, size 4
Table entry 49 is Key 0x04b7, type 2 addr 0x1e3c, size 4
Table entry 50 is Key 0x04b8, type 2 addr 0x1e40, size 4
Table entry 51 is Key 0x04bb, type 2 addr 0x1e44, size 4
Table entry 52 is Key 0x04bc, type 2 addr 0x1e48, size 4
Table entry 53 is Key 0x04bd, type 3 addr 0x1e4c, size 4
Table entry 54 is Key 0x0002, type 4 addr 0x1e50, size 0
Serial number = 361064
Date of manufactur = 26-9-2011
CPLD rev = 999
Capabilities flag = 0x66fc
Physical filter flag = 0x80
High gain         = 4.9814338684
Normal non-lin    = 0.0000000000 1.0084199905 -0.0000002574 0.0000000000
High Gain non-lin = 0.0000000000 1.0213780403 -0.0000007229 0.0000000000
i1pro_restore_calibration restoring from file 
'/usr/home/bsam/.cache/color/.i1p_361064.cal'

i1pro: GetMisc @ 8299 msec
GetMisc returns 506, 0x139c, 0xfa00, 0x01, 0x00 ICOM err 0x0 (5 msec)

i1pro: Instrument reset with mask 0x1f @ 8304 msec
Reset complete, ICOM err 0x0 (4 msec)

i1pro: GetMeasureParams @ 8408 msec
MeasureParam returns 224, 19, 3, 0x04 ICOM err 0x0 (5 msec)

Spot read needs a calibration before continuing
inst_handle_calibrate called
About to call calibrate at top of loop
calibrate returned calt 0x10, calc 0x10
Place the instrument on its reflective white reference Serial no. 361064,
 and then hit any key to continue,
 or hit Esc or Q to abort:
About to call calibrate at top of loop

i1pro: Set measurement clock mode 1 @ 24096 msec
Set measuremnt clock mode done, ICOM err 0x0 (4 msec)

i1pro: GetMeasureClockMode @ 24100 msec
MeasureClockMode returns 2, 1, (128), 136, 68 0x0 ICOM err 0x0 (5 msec)
Switched to perfect mode, subtmode flag = 0x0

i1pro: SetMeasureParam 224, 19, 3, 0x06 @ 24105 msec
SetMeasureParams got ICOM err 0x0 (4 msec)

i1pro: Triggering measurement after 10msec delay @ 24109 msec
Scheduled triggering OK

i1pro: Read measurement results inummeas 3, scanflag 0, address 0x8040bd300 
bsize 0x300 @ 24109 msec
Switch read 0x0 bytes, timed out (64001 msec)

i1pro: Read 1 byte from switch hit port @ 72298 msec
Read 3 readings, ICOM err 0x0 (48189 msec)
(Trig & rd times 3 -14 48189 -14)
Execution time of dark calib time 0.015232 sec = 48202 msec

i1pro: SetMeasureParam 224, 19, 3, 0x04 @ 72298 msec
SetMeasureParams got ICOM err 0x0 (4 msec)

i1pro: Triggering measurement after 10msec delay @ 72302 msec
Scheduled triggering OK

i1pro: Read measurement results inummeas 3, scanflag 0, address 0x8040bd300 
bsize 0x300 @ 72302 msec
Switch read 0x1 bytes, Byte read 0x6 ICOM err 0x0 (40257 msec)

i1pro: Read 1 byte from switch hit port @ 112555 msec
Read 3 readings, ICOM err 0x0 (40253 msec)
(Trig & rd times 3 -14 40253 -14)
i1pro_save_calibration saving to file 
'/usr/home/bsam/.cache/color/.i1p_361064.cal'
calibrate returned calt 0x10, calc 0x10
Calibration complete
inst_handle_calibrate done 0x0

Place instrument on spot to be measured,
and hit [A-Z] to read white and setup FWA compensation (keyed to letter)
[a-z] to read and make FWA compensated reading from keyed reference
'r' to set reference, 's' to save spectrum,
'h' to toggle high res., 'k' to do a calibration
Hit ESC or Q to exit, instrument switch or any other key to take a reading: 
Taking 1 measurments in Refl Adaptive mode called
Switch read 0x1 bytes, Byte read 0x6 ICOM err 0x0 (15296 msec)

i1pro: Read 1 byte from switch hit port @ 127851 msec


i1pro: SetMeasureParam 224, 19, 3, 0x06 @ 127907 msec
SetMeasureParams got ICOM err 0x0 (3 msec)

i1pro: Triggering measurement after 10msec delay @ 127910 msec
Scheduled triggering OK

i1pro: Read measurement results inummeas 3, scanflag 0, address 0x8040bd300 
bsize 0x300 @ 127910 msec
Read 3 readings, ICOM err 0x0 (78 msec)
(Trig & rd times 2 -13 78 -13)

i1pro: SetMeasureParam 224, 19, 3, 0x04 @ 127988 msec
SetMeasureParams got ICOM err 0x0 (4 msec)

i1pro: Triggering measurement after 10msec delay @ 127992 msec
Scheduled triggering OK

i1pro: Read measurement results inummeas 3, scanflag 0, address 0x8040bd600 
bsize 0x300 @ 127992 msec
Read 3 readings, ICOM err 0x0 (401 msec)
(Trig & rd times 2 -13 401 -13)
i1pro_conv2XYZ got wl_short 380.000000, wl_long 730.000000, nwav 36, min_wl 
375.000000
      after skip got wl_short 380.000000, nwl = 36

 Result is XYZ: 11.146959 15.163758 13.648870, D50 Lab: 45.857676 -23.052701 
-3.147011

Place instrument on spot to be measured,
and hit [A-Z] to read white and setup FWA compensation (keyed to letter)
[a-z] to read and make FWA compensated reading from keyed reference
'r' to set reference, 's' to save spectrum,
'h' to toggle high res., 'k' to do a calibration
Hit ESC or Q to exit, instrument switch or any other key to take a reading: 
Taking 1 measurments in Refl Adaptive mode called
^[

Spot read stopped at user request!
Hit Esc or Q to give up, any other key to retry:

i1pro: Terminate switch Handling
Terminate Switch Handling done, ICOM err 0x0
icoms: delete called
icoms: closing port
usb_close_port() called
usb port has been released and closed

Script done on Fri Feb 22 17:25:04 2013

Other related posts:

  • » [argyllcms] [FreeBSD] success - Boris Samorodov