[argyllcms] Spyder 4 works with dispcal but fails with dispread

  • From: John Palmieri <john.j5live@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Wed, 5 Dec 2012 22:53:13 -0500

Hello, someone at my office bought a Spyder 4 so I decided to see if I
could get it working under Fedora 17.  After fixing some udev rules and
gnome-color-manager code the spyder was running fine during the
pre-calibration phase which uses dispcal.  However, when it got to the
actual calibration phase, dispread could not read from the device.  Here is
the command that is run along with the output.  I have attached the .cal
and .til files I used.  Any help would be appreciated.  I can debug with
gdb if necessary.  Thanks.

$ /usr/bin/dispread -v -d1 -y2 -D10 -k "GCM - Lenovo - 2352CTO -
unknown (2012-12-05) [21-47-01].cal" "-P 0.5,0.5,1.2" "GCM - Lenovo -
2352CTO - unknown (2012-12-05) [21-47-01]"

Number of patches = 64
Setting up the instrument
usb_get_paths about to look through devices:
usb_check_and_add() called with VID 0x8087, PID 0x24
usb_check_and_add() called with VID 0x8087, PID 0x24
usb_check_and_add() called with VID 0x85c, PID 0x400
usb_check_and_add() found known instrument
usb_check_and_add() called with VID 0x1d6b, PID 0x2
usb_check_and_add() called with VID 0x1d6b, PID 0x2
usb_check_and_add() called with VID 0x1d6b, PID 0x2
usb_check_and_add() called with VID 0x1d6b, PID 0x3
usb_check_and_add() called with VID 0xa5c, PID 0x21e6
usb_check_and_add() called with VID 0x4f2, PID 0xb2da
managed to open serial "/dev/ttyS3"
managed to open serial "/dev/ttyS2"
managed to open serial "/dev/ttyS1"
managed to open serial "/dev/ttyS0"
spyd2: About to init coms
spyd2: 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:/bus3/dev2/ (Datacolor Spyder4)'
open() of USB port 'usb:/bus3/dev2/ (Datacolor Spyder4)' suceeded
Number of configurations = 1
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
icoms: About to return usb read 0 bytes, ICOM err 0x2000
icoms: About to return usb read 0 bytes, ICOM err 0x2000
icoms: About to return usb read 0 bytes, ICOM err 0x2000
icoms: About to return usb read 0 bytes, ICOM err 0x2000
icoms: About to return usb read 0 bytes, ICOM err 0x2000
icoms: About to return usb read 0 bytes, ICOM err 0x2000
icoms: About to return usb read 0 bytes, ICOM err 0x2000
icoms: About to return usb read 0 bytes, ICOM err 0x2000
icoms: About to return usb read 0 bytes, ICOM err 0x2000
icoms: About to return usb read 0 bytes, ICOM err 0x2000
icoms: About to return usb read 0 bytes, ICOM err 0x2000
spyd2: about to read all the EEProm values

spyd2: Read EEProm addr 5, bytes 1

spyd2: Read bytes retry with ICOM err 0x2000

spyd2: Read bytes retry with ICOM err 0x2000

spyd2: Read bytes retry with ICOM err 0x2000

spyd2: Read bytes retry with ICOM err 0x2000

spyd2: Read bytes failed with ICOM err 0x2000
init_inst returned 'Communications failure' (Communications failure)
new_disprd failed because init_inst failed
icoms: delete called
icoms: closing port
usb_close_port() called
usb port has been released and closed
dispread: Error - new_disprd failed with 'Instrument Access Failed'


   - Collapse All Comments<https://bugzilla.redhat.com/show_bug.cgi?id=881931#>
   - Expand All Comments<https://bugzilla.redhat.com/show_bug.cgi?id=881931#>
   - Add Comment <https://bugzilla.redhat.com/show_bug.cgi?id=881931#>

Attachment: GCM - Lenovo - 2352CTO - unknown (2012-12-05) [21-47-01].cal
Description: Binary data

Attachment: GCM - Lenovo - 2352CTO - unknown (2012-12-05) [21-47-01].ti1
Description: Binary data

Other related posts: