[argyllcms] Re: spyd2: Get Reading failed with ICOM err 0x100

  • From: "Rhys Evans" <rhys.evans@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 20 Dec 2008 05:24:29 +1300

===== ==== === == =


1.0.3 Examples (all result in Windows Crash Report for relevant program):


C:\bin\argyll\bin>dispread -v -D5 --
Read a Display, Version 1.0.3
Author: Graeme W. Gill, licensed under the GPL Version 3
Diagnostic: Usage requested
usage: dispread [options] outfile
 -v              Verbose mode
 -d n                 Choose the display from the following list (default 1)
MonitorEnumProc() called with hMonitor = 0x10001
MonitorEnumProc() set initial monitor info: 0,0 1600,1200 name '\\.\DISPLAY1'
get_displays about to get monitor information for 0
Mon 0, name '\\.\DISPLAY1\Monitor0'
Mon 0, string 'IBM 6652 P275'
Mon 0, flags 0x3
Mon 0, id 'Monitor\IBM19FC\{4D36E96E-E325-11CE-BFC1-08002BE10318}\0000'
Mon 0, key 
'\Registry\Machine\System\CurrentControlSet\Control\Class\{4D36E96E-E325-11CE-BFC1-08002BE10318}\0000'
EnumDisplayDevices failed on '\\.\DISPLAY1' Mon = 1
get_displays added description 'DISPLAY1, at 0, 0, width 1600, height
1200 (Primary Display)' to display 0
    1 = 'DISPLAY1, at 0, 0, width 1600, height 1200 (Primary Display)'
 -c listno            Set communication port from the following list (default 1)

C:\bin\argyll\bin>dispcal -v -D5 --
Calibrate a Display, Version 1.0.3
Author: Graeme W. Gill, licensed under the GPL Version 3
Diagnostic: Usage requested
usage: dispcal [options] outfile
 -v [n]               Verbose mode
 -d n                 Choose the display from the following list (default 1)
MonitorEnumProc() called with hMonitor = 0x10001
MonitorEnumProc() set initial monitor info: 0,0 1600,1200 name '\\.\DISPLAY1'
get_displays about to get monitor information for 0
Mon 0, name '\\.\DISPLAY1\Monitor0'
Mon 0, string 'IBM 6652 P275'
Mon 0, flags 0x3
Mon 0, id 'Monitor\IBM19FC\{4D36E96E-E325-11CE-BFC1-08002BE10318}\0000'
Mon 0, key 
'\Registry\Machine\System\CurrentControlSet\Control\Class\{4D36E96E-E325-11CE-BFC1-08002BE10318}\0000'
EnumDisplayDevices failed on '\\.\DISPLAY1' Mon = 1
get_displays added description 'DISPLAY1, at 0, 0, width 1600, height
1200 (Primary Display)' to display 0
    1 = 'DISPLAY1, at 0, 0, width 1600, height 1200 (Primary Display)'
 -c listno            Set communication port from the following list (default 1)

C:\bin\argyll\bin>dispcal -v -r -D5 -yc
MonitorEnumProc() called with hMonitor = 0x10001
MonitorEnumProc() set initial monitor info: 0,0 1600,1200 name '\\.\DISPLAY1'
get_displays about to get monitor information for 0
Mon 0, name '\\.\DISPLAY1\Monitor0'
Mon 0, string 'IBM 6652 P275'
Mon 0, flags 0x3
Mon 0, id 'Monitor\IBM19FC\{4D36E96E-E325-11CE-BFC1-08002BE10318}\0000'
Mon 0, key 
'\Registry\Machine\System\CurrentControlSet\Control\Class\{4D36E96E-E325-11CE-BFC1-08002BE10318}\0000'
EnumDisplayDevices failed on '\\.\DISPLAY1' Mon = 1
get_displays added description 'DISPLAY1, at 0, 0, width 1600, height
1200 (Primary Display)' to display 0
Setting up the instrument
usb_get_paths about to look through buses:
usb_get_paths about to look through devices:
usb_check_and_add() called with VID 0x85c, PID 0x200
usb_check_and_add() found known instrument

===== ==== === == =


0.70b7 examples:


C:\bin\argyll\bin>dispread -v -D5 --
Read a Display, Version 0.70 (BETA 7)
Author: Graeme W. Gill, licensed under the GPL Version 3
Diagnostic: Usage requested
usage: dispread [options] outfile
 -v              Verbose mode
 -d n                 Choose the display from the following list (default 1)
    1 = 'DISPLAY1, at 0, 0, width 1600, height 1200 (Primary Display)'
 -c listno            Set communication port from the following list (default 1)
dispread: Warning - RegEnumValue failed with 234
    1 = 'usb:/bus1/dev1 (ColorVision Spyder2)'
 -y c|l               Display type, c = CRT, l = LCD
 -k file.cal          Apply display calibration file while reading
 -s                   Save spectral information (default don't save)
 -p ho,vo,ss          Position test window and scale it
                      ho,vi: 0.0 = left/top, 0.5 = center, 1.0 =
right/bottom etc.
                      ss: 0.5 = half, 1.0 = normal, 2.0 = double etc.
 -K                   Run instrument calibration first (used rarely)
 -N                   Disable auto calibration of instrument
 -H                   Use high resolution spectrum mode (if available)
 -D [level]           Print debug diagnostics to stderr
 outfile              Base name for input[ti1]/output[ti3] file


C:\bin\argyll\bin>dispcal -v -D5 --
Calibrate a Display, Version 0.70 (BETA 7)
Author: Graeme W. Gill, licensed under the GPL Version 3
Diagnostic: Usage requested
usage: dispcal [options] outfile
 -v [n]               Verbose mode
 -d n                 Choose the display from the following list (default 1)
    1 = 'DISPLAY1, at 0, 0, width 1600, height 1200 (Primary Display)'
 -c listno            Set communication port from the following list (default 1)
dispcal: Warning - RegEnumValue failed with 234
    1 = 'usb:/bus1/dev1 (ColorVision Spyder2)'
 -r                   Report on the calibrated display then exit
 -R                   Report on the uncalibrated display then exit
 -m                   Skip adjustment of the monitor controls
 -u [profile.icm]     Update previous calibration [update profile with
new calibration]
 -q [lmh]             Quality - Low, Medium (def), High
 -y c|l               Display type, c = CRT, l = LCD
 -t [temp]            White Daylight locus target, optional target
temperaturee in deg. K (deflt.)
 -T [temp]            White Black Body locus target, optional target
temperaturee in deg. K
 -w x,y               Set the target white point as chromaticity coordinates
 -b bright            Set the target brightness in cd/m^2
 -g gamma             Set the target response curve gamma (Def. 2.2)
                      Use "-gl" for L*a*b* curve
                      Use "-gs" for sRGB curve
 -k factor            Amount to try and correct black point. Default
1.0, LCD default 0.0
 -e [n]               Run n verify passes on final curves
 -E                   Run only verify pass on installed calibration curves
 -p ho,vo,ss          Position test window and scale it
                      ho,vi: 0.0 = left/top, 0.5 = center, 1.0 =
right/bottom etc.
                      ss: 0.5 = half, 1.0 = normal, 2.0 = double etc.
 -K                   Run instrument calibration first (used rarely)
 -N                   Disable auto calibration of instrument
 -H                   Use high resolution spectrum mode (if available)
 -D [level]           Print debug diagnostics to stderr
 outfile              Base name for output .cal file


C:\bin\argyll\bin>dispcal -v -r -D5 -yc
Setting up the instrument
dispcal: Warning - RegEnumValue failed with 234
spyd2: About to init coms
spyd2: About to init USB
icoms: About to set usb port characteristics
icoms: About to open the USB port
icoms: USB port needs opening
icoms: About to open USB port 'usb:/bus1/dev1 (ColorVision Spyder2)'
icoms: USB port is now open
icoms: Clearing any USB errors
icoms: usb port characteristics set ok
spyd2: init coms has suceeded
spyd2: About to init instrument

spyd2: Instrument reset
Reset complete, ICOM err 0x0

spyd2: Get Status
Get Status returns 3 ICOM err 0x0

spyd2: Get Status
Get Status returns 1 ICOM err 0x0
spyd2: about to read all the EEProm values

spyd2: Read EEProm addr 5, bytes 2
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 8, bytes 8
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 16, bytes 108
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 128, bytes 108
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 256, bytes 108
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 384, bytes 108
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 240, bytes 4
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 244, bytes 4
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 248, bytes 4
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 252, bytes 4
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 364, bytes 4
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 368, bytes 4
Read EEProm ICOM err 0x0

spyd2: Read EEProm addr 372, bytes 4
Read EEProm ICOM err 0x0
spyd2: all EEProm read OK
spyd2: about to download the PLD pattern

spyd2: Load PLD 8 bytes
Load PLD returns ICOM err 0x0

...

spyd2: Load PLD 8 bytes
Load PLD returns ICOM err 0x0

spyd2: Get Status
Get Status returns 0 ICOM err 0x0
spyd2: PLD pattern downloaded

spyd2: Get Reading, 500 clocks
Trigger Get Reading returns ICOM err 0x0
spyd2: instrument inited OK
Instrument Type:   Spyder 2
Serial Number:     00648326
Hardwar version:   0x0300
Place instrument on test window.



2008/12/20 Graeme Gill <graeme@xxxxxxxxxxxxx>:
> Rhys Evans wrote:
>>
>> the last version to work for me. From 0.7.0b8 through to 1.0.3 dispcal
>> has crashed immediately for me on Windows, I'd like to see if anyone
>> else encountering the same behaviour with later versions is able to
>> calibrate with 0.7.0b7 or earlier.
>
> Sounds like a different problem. What sort of debug output (-D5 flag)
> do you get before it crashes ?
>
> Graeme Gill.
>
>

Other related posts: