dispread: Error - new_disprd failed with 'Instrument Access Failed'

2,162 views
Skip to first unread message

Mark Maas

unread,
Nov 29, 2017, 4:25:34 AM11/29/17
to colorhug-users
Hi List,

Yesterday I've received a new Colorhug2 and so I immediately went about calibrating my screen.
All goes well for a few minutes, it goes through all kinds of color swatches (Displaycal) and then suddenly just stops with this error:

<snipped>
08:31:19,379 finished
08:31:19,379 Written calibration file 'XWAYLAND0 #1 2017-11-29 08-24 2.2 F-S XYZLUT+MTX.cal'
08:31:19,382 DisplayCAL: Reached EOF (OK)
08:31:19,603 --------------------------------------------------------------------------------
08:31:19,604 Session log: XWAYLAND0 #1 2017-11-29 08-24 2.2 F-S XYZLUT+MTX
08:31:19,604 
08:31:19,604 Working directory:
08:31:19,604   /
08:31:19,604    tmp/
08:31:19,604     DisplayCAL-q2dlpJ/
08:31:19,605 
08:31:19,605 Command line:
08:31:19,605   /home/mark/Downloads/Argyll_V2.0.0/bin/dispread
08:31:19,605     -v
08:31:19,605     -D8
08:31:19,605     -d1
08:31:19,605     -c1
08:31:19,606     -yl
08:31:19,606     -P0.48339658444,0.405870445344,1.49174917492
08:31:19,606     -k
08:31:19,606     'XWAYLAND0 #1 2017-11-29 08-24 2.2 F-S XYZLUT+MTX.cal'
08:31:19,606     'XWAYLAND0 #1 2017-11-29 08-24 2.2 F-S XYZLUT+MTX'
08:31:19,606 
08:31:19,611 DisplayCAL: Starting interaction with subprocess
08:31:19,615 get_a_display called with ix 0
08:31:19,616 get_displays using 1 XRandR Screens
08:31:19,617 XRRGetCrtcInfo of Screen 0 CRTC 0 has 1 Outputs Valid Mode
08:31:19,617 Checking XRandR 1.2 VideoLUT access
08:31:19,617 Adding Screen 0 CRTC 0 Output 0
08:31:19,617 Display 0 name = ':0.0'
08:31:19,618 Root atom '_ICC_PROFILE'
08:31:19,618 Failed to get EDID for display
08:31:19,618 XRRGetCrtcInfo of Screen 0 CRTC 1 has 1 Outputs Valid Mode
08:31:19,618 Checking XRandR 1.2 VideoLUT access
08:31:19,618 Adding Screen 0 CRTC 1 Output 0
08:31:19,619 Display 1 name = ':0.0'
08:31:19,619 Root atom '_ICC_PROFILE_1'
08:31:19,619 Failed to get EDID for display
08:31:19,619  Selected ix 0 ':0.0' Monitor 1, Output XWAYLAND0 at 0, 0, width 2560, height
08:31:19,619 1440'
08:31:19,619 Argyll 'V2.0.0' Build 'Linux 64 bit' System 'Linux #20-Ubuntu SMP Mon Nov 6
08:31:19,619 10:04:08 UTC 2017 4.13.0-17-generic x86_64'
08:31:19,620 new_icompath: called with mask 0x1ffff
08:31:19,620 icoms_refresh_paths: called with mask = 0x1ffff
08:31:19,620 icoms_refresh_paths: looking for HID device
08:31:19,620 hid_get_paths: called
08:31:19,620 icoms_get_paths: returning 0 paths and ICOM_OK
08:31:19,621 icoms_refresh_paths: looking for USB device
08:31:19,621 usb_get_paths: about to look through buses:
08:31:19,621 usb_get_paths: about to stat /dev/bus/usb/004/001
08:31:19,621 usb_check_and_add: givem '/dev/bus/usb/004/001'
08:31:19,622 usb_check_and_add: checking vid 0x1d6b, pid 0x0003
08:31:19,622 usb_check_and_add: instrument not reconized
08:31:19,622 usb_get_paths: about to stat /dev/bus/usb/003/001
08:31:19,622 usb_check_and_add: givem '/dev/bus/usb/003/001'
08:31:19,622 usb_check_and_add: checking vid 0x1d6b, pid 0x0002
08:31:19,623 usb_check_and_add: instrument not reconized
08:31:19,623 usb_get_paths: about to stat /dev/bus/usb/002/004
08:31:19,623 usb_check_and_add: givem '/dev/bus/usb/002/004'
08:31:19,623 usb_check_and_add: checking vid 0x0451, pid 0x8140
08:31:19,623 usb_check_and_add: instrument not reconized
08:31:19,624 usb_get_paths: about to stat /dev/bus/usb/002/003
08:31:19,624 usb_check_and_add: givem '/dev/bus/usb/002/003'
08:31:19,624 usb_check_and_add: checking vid 0x17ef, pid 0x7205
08:31:19,624 usb_check_and_add: instrument not reconized
08:31:19,624 usb_get_paths: about to stat /dev/bus/usb/002/002
08:31:19,625 usb_check_and_add: givem '/dev/bus/usb/002/002'
08:31:19,625 usb_check_and_add: checking vid 0x0451, pid 0x8140
08:31:19,625 usb_check_and_add: instrument not reconized
08:31:19,632 usb_get_paths: about to stat /dev/bus/usb/002/001
08:31:19,632 usb_check_and_add: givem '/dev/bus/usb/002/001'
08:31:19,632 usb_check_and_add: checking vid 0x1d6b, pid 0x0003
08:31:19,632 usb_check_and_add: instrument not reconized
08:31:19,633 usb_get_paths: about to stat /dev/bus/usb/001/010
08:31:19,633 usb_check_and_add: givem '/dev/bus/usb/001/010'
08:31:19,633 usb_check_and_add: checking vid 0x273f, pid 0x1004
08:31:19,633 set ep ad 0x81 packetsize 64 type 3
08:31:19,633 set ep ad 0x1 packetsize 64 type 3
08:31:19,634 usb_check_and_add: found nep10 2
08:31:19,634 usb_check_and_add: found instrument vid 0x273f, pid 0x1004
08:31:19,634 icompath_set_usb '/dev/bus/usb/001/010 (Hughski ColorHug2)' got dctype 0x0
08:31:19,634 icompath_set_usb '/dev/bus/usb/001/010 (Hughski ColorHug2)' returning dctype
08:31:19,634 0x10002
08:31:19,635 usb_get_paths: about to stat /dev/bus/usb/001/009
08:31:19,635 usb_check_and_add: givem '/dev/bus/usb/001/009'
08:31:19,635 usb_check_and_add: checking vid 0x046d, pid 0xc52b
08:31:19,635 usb_check_and_add: instrument not reconized
08:31:19,635 usb_get_paths: about to stat /dev/bus/usb/001/008
08:31:19,636 usb_check_and_add: givem '/dev/bus/usb/001/008'
08:31:19,636 usb_check_and_add: checking vid 0x0451, pid 0x8142
08:31:19,636 usb_check_and_add: instrument not reconized
08:31:19,636 usb_get_paths: about to stat /dev/bus/usb/001/007
08:31:19,636 usb_check_and_add: givem '/dev/bus/usb/001/007'
08:31:19,637 usb_check_and_add: checking vid 0x0409, pid 0x005a
08:31:19,637 usb_check_and_add: instrument not reconized
08:31:19,637 usb_get_paths: about to stat /dev/bus/usb/001/006
08:31:19,637 usb_check_and_add: givem '/dev/bus/usb/001/006'
08:31:19,637 usb_check_and_add: checking vid 0x0bda, pid 0x568b
08:31:19,638 usb_check_and_add: instrument not reconized
08:31:19,638 usb_get_paths: about to stat /dev/bus/usb/001/005
08:31:19,638 usb_check_and_add: givem '/dev/bus/usb/001/005'
08:31:19,638 usb_check_and_add: checking vid 0x24f0, pid 0x0137
08:31:19,639 usb_check_and_add: instrument not reconized
08:31:19,639 usb_get_paths: about to stat /dev/bus/usb/001/004
08:31:19,639 usb_check_and_add: givem '/dev/bus/usb/001/004'
08:31:19,639 usb_check_and_add: checking vid 0x8087, pid 0x0a2b
08:31:19,639 usb_check_and_add: instrument not reconized
08:31:19,640 usb_get_paths: about to stat /dev/bus/usb/001/003
08:31:19,640 usb_check_and_add: givem '/dev/bus/usb/001/003'
08:31:19,640 usb_check_and_add: checking vid 0x0451, pid 0x8142
08:31:19,646 usb_check_and_add: instrument not reconized
08:31:19,647 usb_get_paths: about to stat /dev/bus/usb/001/001
08:31:19,647 usb_check_and_add: givem '/dev/bus/usb/001/001'
08:31:19,647 usb_check_and_add: checking vid 0x1d6b, pid 0x0002
08:31:19,647 usb_check_and_add: instrument not reconized
08:31:19,648 usb_get_paths: returning 1 paths and ICOM_OK
08:31:19,648 icoms_refresh_paths: now got 1 paths
08:31:19,648 icoms_refresh_paths: looking for serial ports
08:31:19,648 serial_get_paths: called with mask 131071
08:31:19,648 serial_get_paths: looking up serial port devices
08:31:19,648 serial_get_paths: checking '.'
08:31:19,649 serial_get_paths: checking '..'
08:31:19,649 serial_get_paths: checking 'hidraw5'
08:31:19,649 serial_get_paths: checking 'v4l'
08:31:19,649 serial_get_paths: checking 'kvm'
08:31:19,649 serial_get_paths: checking 'i2c-8'
08:31:19,649 serial_get_paths: checking 'media0'
08:31:19,650 serial_get_paths: checking 'video0'
08:31:19,650 serial_get_paths: checking 'mei0'
08:31:19,650 serial_get_paths: checking 'i2c-7'
08:31:19,650 serial_get_paths: checking 'acpi_thermal_rel'
08:31:19,650 serial_get_paths: checking 'snd'
08:31:19,650 serial_get_paths: checking 'vhost-vsock'
08:31:19,651 serial_get_paths: checking 'vhost-net'
08:31:19,651 serial_get_paths: checking 'uhid'
08:31:19,651 serial_get_paths: checking 'vhci'
08:31:19,651 serial_get_paths: checking 'vfio'
08:31:19,651 serial_get_paths: checking 'userio'
08:31:19,651 serial_get_paths: checking 'btrfs-control'
08:31:19,652 serial_get_paths: checking 'cuse'
08:31:19,652 serial_get_paths: checking 'hugepages'
08:31:19,652 serial_get_paths: checking 'mqueue'
08:31:19,652 serial_get_paths: checking 'initctl'
08:31:19,652 serial_get_paths: checking 'log'
08:31:19,652 serial_get_paths: checking 'shm'
08:31:19,653 serial_get_paths: checking 'autofs'
08:31:19,653 serial_get_paths: checking 'ubuntu-vg'
08:31:19,653 serial_get_paths: checking 'dm-2'
08:31:19,653 serial_get_paths: checking 'dm-1'
08:31:19,653 serial_get_paths: checking 'dm-0'
08:31:19,653 serial_get_paths: checking 'hidraw4'
08:31:19,654 serial_get_paths: checking 'hidraw3'
08:31:19,654 serial_get_paths: checking 'hidraw2'
08:31:19,654 
08:31:19,654 serial_get_paths: checking 'hidraw1'
08:31:19,655 serial_get_paths: checking 'vcsa6'
08:31:19,655 serial_get_paths: checking 'vcs6'
08:31:19,655 serial_get_paths: checking 'vcsa5'
08:31:19,655 serial_get_paths: checking 'vcs5'
08:31:19,655 serial_get_paths: checking 'vcsa4'
08:31:19,655 serial_get_paths: checking 'vcs4'
08:31:19,656 serial_get_paths: checking 'vcsa3'
08:31:19,656 serial_get_paths: checking 'vcs3'
08:31:19,672 serial_get_paths: checking 'vcsa2'
08:31:19,672 serial_get_paths: checking 'vcs2'
08:31:19,672 serial_get_paths: checking 'i2c-6'
08:31:19,673 serial_get_paths: checking 'usb'
08:31:19,673 serial_get_paths: checking 'disk'
08:31:19,673 serial_get_paths: checking 'nvme0n1p3'
08:31:19,674 serial_get_paths: checking 'nvme0n1p2'
08:31:19,674 serial_get_paths: checking 'nvme0n1p1'
08:31:19,674 serial_get_paths: checking 'nvme0n1'
08:31:19,674 serial_get_paths: checking 'fb0'
08:31:19,675 serial_get_paths: checking 'i2c-5'
08:31:19,675 serial_get_paths: checking 'drm_dp_aux2'
08:31:19,675 serial_get_paths: checking 'i2c-4'
08:31:19,676 serial_get_paths: checking 'drm_dp_aux1'
08:31:19,676 serial_get_paths: checking 'i2c-3'
08:31:19,676 serial_get_paths: checking 'drm_dp_aux0'
08:31:19,676 serial_get_paths: checking 'dri'
08:31:19,677 serial_get_paths: checking 'i2c-2'
08:31:19,677 serial_get_paths: checking 'i2c-1'
08:31:19,678 serial_get_paths: checking 'i2c-0'
08:31:19,678 serial_get_paths: checking 'block'
08:31:19,678 serial_get_paths: checking 'nvme0'
08:31:19,678 serial_get_paths: checking 'rtc'
08:31:19,679 serial_get_paths: checking 'gpiochip0'
08:31:19,679 serial_get_paths: checking 'char'
08:31:19,679 serial_get_paths: checking 'stderr'
08:31:19,680 serial_get_paths: checking 'stdout'
08:31:19,680 serial_get_paths: checking 'stdin'
08:31:19,680 serial_get_paths: checking 'fd'
08:31:19,680 serial_get_paths: checking 'core'
08:31:19,681 serial_get_paths: checking 'pts'
08:31:19,682 serial_get_paths: checking 'memory_bandwidth'
08:31:19,682 serial_get_paths: checking 'network_throughput'
08:31:19,682 serial_get_paths: checking 'network_latency'
08:31:19,682 serial_get_paths: checking 'cpu_dma_latency'
08:31:19,682 serial_get_paths: checking 'cpu'
08:31:19,682 serial_get_paths: checking 'mcelog'
08:31:19,683 serial_get_paths: checking 'mapper'
08:31:19,683 serial_get_paths: checking 'rtc0'
08:31:19,683 serial_get_paths: checking 'uinput'
08:31:19,683 serial_get_paths: checking 'psaux'
08:31:19,683 serial_get_paths: checking 'input'
08:31:19,684 serial_get_paths: checking 'bus'
08:31:19,684 serial_get_paths: checking 'ppp'
08:31:19,684 serial_get_paths: checking 'net'
08:31:19,684 serial_get_paths: checking 'loop7'
08:31:19,685 serial_get_paths: checking 'loop6'
08:31:19,685 serial_get_paths: checking 'loop5'
08:31:19,685 serial_get_paths: checking 'loop4'
08:31:19,685 serial_get_paths: checking 'loop3'
08:31:19,686 serial_get_paths: checking 'loop2'
08:31:19,686 serial_get_paths: checking 'loop1'
08:31:19,686 serial_get_paths: checking 'loop0'
08:31:19,686 serial_get_paths: checking 'loop-control'
08:31:19,702 serial_get_paths: checking 'lightnvm'
08:31:19,702 serial_get_paths: checking 'hwrng'
08:31:19,702 serial_get_paths: checking 'hpet'
08:31:19,703 serial_get_paths: checking 'ttyprintk'
08:31:19,703 serial_get_paths: checking 'ttyS31'
08:31:19,703 serial_get_paths: failed to open serial "/dev/ttyS31" r/o - not real
08:31:19,717 serial_get_paths: checking 'ttyS30'
08:31:19,717 serial_get_paths: failed to open serial "/dev/ttyS30" r/o - not real
08:31:19,749 
08:31:19,817 serial_get_paths: checking 'ttyS29'
08:31:19,817 serial_get_paths: failed to open serial "/dev/ttyS29" r/o - not real
08:31:19,917 serial_get_paths: checking 'ttyS28'
08:31:19,918 serial_get_paths: failed to open serial "/dev/ttyS28" r/o - not real
08:31:20,017 serial_get_paths: checking 'ttyS27'
08:31:20,018 serial_get_paths: failed to open serial "/dev/ttyS27" r/o - not real
08:31:20,118 serial_get_paths: checking 'ttyS26'
08:31:20,120 serial_get_paths: failed to open serial "/dev/ttyS26" r/o - not real
08:31:20,218 serial_get_paths: checking 'ttyS25'
08:31:20,220 serial_get_paths: failed to open serial "/dev/ttyS25" r/o - not real
08:31:20,318 serial_get_paths: checking 'ttyS24'
08:31:20,319 serial_get_paths: failed to open serial "/dev/ttyS24" r/o - not real
08:31:20,419 serial_get_paths: checking 'ttyS23'
08:31:20,421 serial_get_paths: failed to open serial "/dev/ttyS23" r/o - not real
08:31:20,519 serial_get_paths: checking 'ttyS22'
08:31:20,521 serial_get_paths: failed to open serial "/dev/ttyS22" r/o - not real
08:31:20,619 serial_get_paths: checking 'ttyS21'
08:31:20,620 serial_get_paths: failed to open serial "/dev/ttyS21" r/o - not real
08:31:20,719 serial_get_paths: checking 'ttyS20'
08:31:20,720 serial_get_paths: failed to open serial "/dev/ttyS20" r/o - not real
08:31:20,820 serial_get_paths: checking 'ttyS19'
08:31:20,822 serial_get_paths: failed to open serial "/dev/ttyS19" r/o - not real
08:31:20,920 serial_get_paths: checking 'ttyS18'
08:31:20,920 serial_get_paths: failed to open serial "/dev/ttyS18" r/o - not real
08:31:21,020 serial_get_paths: checking 'ttyS17'
08:31:21,022 serial_get_paths: failed to open serial "/dev/ttyS17" r/o - not real
08:31:21,120 serial_get_paths: checking 'ttyS16'
08:31:21,122 serial_get_paths: failed to open serial "/dev/ttyS16" r/o - not real
08:31:21,220 serial_get_paths: checking 'ttyS15'
08:31:21,221 serial_get_paths: failed to open serial "/dev/ttyS15" r/o - not real
08:31:21,321 serial_get_paths: checking 'ttyS14'
08:31:21,323 serial_get_paths: failed to open serial "/dev/ttyS14" r/o - not real
08:31:21,421 serial_get_paths: checking 'ttyS13'
08:31:21,423 serial_get_paths: failed to open serial "/dev/ttyS13" r/o - not real
08:31:21,521 serial_get_paths: checking 'ttyS12'
08:31:21,522 serial_get_paths: failed to open serial "/dev/ttyS12" r/o - not real
08:31:21,621 serial_get_paths: checking 'ttyS11'
08:31:21,622 serial_get_paths: failed to open serial "/dev/ttyS11" r/o - not real
08:31:21,722 serial_get_paths: checking 'ttyS10'
08:31:21,723 serial_get_paths: failed to open serial "/dev/ttyS10" r/o - not real
08:31:21,822 serial_get_paths: checking 'ttyS9'
08:31:21,824 serial_get_paths: failed to open serial "/dev/ttyS9" r/o - not real
08:31:21,922 serial_get_paths: checking 'ttyS8'
08:31:21,924 serial_get_paths: failed to open serial "/dev/ttyS8" r/o - not real
08:31:22,022 serial_get_paths: checking 'ttyS7'
08:31:22,024 serial_get_paths: failed to open serial "/dev/ttyS7" r/o - not real
08:31:22,123 serial_get_paths: checking 'ttyS6'
08:31:22,124 serial_get_paths: failed to open serial "/dev/ttyS6" r/o - not real
08:31:22,223 serial_get_paths: checking 'ttyS5'
08:31:22,224 serial_get_paths: failed to open serial "/dev/ttyS5" r/o - not real
08:31:22,323 serial_get_paths: checking 'ttyS4'
08:31:22,325 serial_get_paths: failed to open serial "/dev/ttyS4" r/o - not real
08:31:22,423 serial_get_paths: checking 'ttyS3'
08:31:22,425 serial_get_paths: failed to open serial "/dev/ttyS3" r/o - not real
08:31:22,523 serial_get_paths: checking 'ttyS2'
08:31:22,524 serial_get_paths: failed to open serial "/dev/ttyS2" r/o - not real
08:31:22,624 serial_get_paths: checking 'ttyS1'
08:31:22,626 serial_get_paths: failed to open serial "/dev/ttyS1" r/o - not real
08:31:22,724 serial_get_paths: checking 'ttyS0'
08:31:22,725 serial_get_paths: failed to open serial "/dev/ttyS0" r/o - not real
08:31:22,824 serial_get_paths: checking 'ptmx'
08:31:22,826 serial_get_paths: checking 'fuse'
08:31:22,826 serial_get_paths: checking 'ecryptfs'
08:31:22,827 serial_get_paths: checking 'snapshot'
08:31:22,828 serial_get_paths: checking 'tty63'
08:31:22,829 serial_get_paths: checking 'tty62'
08:31:22,830 serial_get_paths: checking 'tty61'
08:31:22,831 serial_get_paths: checking 'tty60'
08:31:22,832 serial_get_paths: checking 'tty59'
08:31:22,833 serial_get_paths: checking 'tty58'
08:31:22,833 serial_get_paths: checking 'tty57'
08:31:22,834 serial_get_paths: checking 'tty56'
08:31:22,835 serial_get_paths: checking 'tty55'
08:31:22,836 serial_get_paths: checking 'tty54'
08:31:22,837 serial_get_paths: checking 'tty53'
08:31:22,837 serial_get_paths: checking 'tty52'
08:31:22,838 serial_get_paths: checking 'tty51'
08:31:22,839 serial_get_paths: checking 'tty50'
08:31:22,840 serial_get_paths: checking 'tty49'
08:31:22,841 serial_get_paths: checking 'tty48'
08:31:22,841 serial_get_paths: checking 'tty47'
08:31:22,842 serial_get_paths: checking 'tty46'
08:31:22,843 serial_get_paths: checking 'tty45'
08:31:22,843 serial_get_paths: checking 'tty44'
08:31:22,844 serial_get_paths: checking 'tty43'
08:31:22,845 serial_get_paths: checking 'tty42'
08:31:22,845 serial_get_paths: checking 'tty41'
08:31:22,846 serial_get_paths: checking 'tty40'
08:31:22,847 serial_get_paths: checking 'tty39'
08:31:22,847 serial_get_paths: checking 'tty38'
08:31:22,848 serial_get_paths: checking 'tty37'
08:31:22,848 serial_get_paths: checking 'tty36'
08:31:22,848 serial_get_paths: checking 'tty35'
08:31:22,849 serial_get_paths: checking 'tty34'
08:31:22,849 serial_get_paths: checking 'tty33'
08:31:22,850 serial_get_paths: checking 'tty32'
08:31:22,859 serial_get_paths: checking 'tty31'
08:31:22,859 serial_get_paths: checking 'tty30'
08:31:22,859 serial_get_paths: checking 'tty29'
08:31:22,859 serial_get_paths: checking 'tty28'
08:31:22,860 serial_get_paths: checking 'tty27'
08:31:22,860 serial_get_paths: checking 'tty26'
08:31:22,860 serial_get_paths: checking 'tty25'
08:31:22,860 serial_get_paths: checking 'tty24'
08:31:22,861 serial_get_paths: checking 'tty23'
08:31:22,861 serial_get_paths: checking 'tty22'
08:31:22,861 serial_get_paths: checking 'tty21'
08:31:22,861 serial_get_paths: checking 'tty20'
08:31:22,861 serial_get_paths: checking 'tty19'
08:31:22,862 serial_get_paths: checking 'tty18'
08:31:22,862 serial_get_paths: checking 'tty17'
08:31:22,862 serial_get_paths: checking 'tty16'
08:31:22,862 serial_get_paths: checking 'tty15'
08:31:22,863 serial_get_paths: checking 'tty14'
08:31:22,863 serial_get_paths: checking 'tty13'
08:31:22,863 serial_get_paths: checking 'tty12'
08:31:22,863 serial_get_paths: checking 'tty11'
08:31:22,864 serial_get_paths: checking 'tty10'
08:31:22,864 serial_get_paths: checking 'tty9'
08:31:22,864 serial_get_paths: checking 'tty8'
08:31:22,864 serial_get_paths: checking 'tty7'
08:31:22,865 serial_get_paths: checking 'tty6'
08:31:22,865 serial_get_paths: checking 'tty5'
08:31:22,865 serial_get_paths: checking 'tty4'
08:31:22,865 serial_get_paths: checking 'tty3'
08:31:22,866 serial_get_paths: checking 'tty2'
08:31:22,866 serial_get_paths: checking 'tty1'
08:31:22,866 serial_get_paths: checking 'vcsa1'
08:31:22,867 serial_get_paths: checking 'vcs1'
08:31:22,867 serial_get_paths: checking 'vcsa'
08:31:22,867 serial_get_paths: checking 'vcs'
08:31:22,867 serial_get_paths: checking 'tty0'
08:31:22,868 serial_get_paths: checking 'console'
08:31:22,868 serial_get_paths: checking 'tty'
08:31:22,868 serial_get_paths: checking 'kmsg'
08:31:22,868 serial_get_paths: checking 'urandom'
08:31:22,868 serial_get_paths: checking 'random'
08:31:22,869 serial_get_paths: checking 'full'
08:31:22,869 serial_get_paths: checking 'zero'
08:31:22,869 serial_get_paths: checking 'port'
08:31:22,869 serial_get_paths: checking 'null'
08:31:22,869 serial_get_paths: checking 'mem'
08:31:22,870 serial_get_paths: checking 'rfkill'
08:31:22,870 serial_get_paths: checking 'vga_arbiter'
08:31:22,870 icoms_refresh_paths: we now have 1 devices and are about to sort them
08:31:22,871 icompaths_make_dslists '/dev/bus/usb/001/010 (Hughski ColorHug2)' dctype 0x10002
08:31:22,871 icoms_refresh_paths: returning 1 paths and ICOM_OK
08:31:22,871 Number of patches = 175
08:31:22,871 Setting up the instrument
08:31:22,882 new_inst: called with path '/dev/bus/usb/001/010 (Hughski ColorHug2)' type
08:31:22,882 'ColorHug2'
08:31:22,883 new_icoms '/dev/bus/usb/001/010 (Hughski ColorHug2)' itype 'ColorHug2' dctype
08:31:22,883 0x10002
08:31:22,883 icom_copy_path_to_icom '/dev/bus/usb/001/010 (Hughski ColorHug2)' returning
08:31:22,883 dctype 0x10002
08:31:22,883 colorhug_init_coms: About to init coms
08:31:22,883 colorhug_init_coms: About to init USB
08:31:22,884 icoms_set_usb_port: About to set usb port characteristics
08:31:22,884 usb_open_port: Make sure USB port is open, tries 0
08:31:22,884 usb_open_port: About to open USB port '/dev/bus/usb/001/010'
08:31:22,884 usb_open_port: open port '/dev/bus/usb/001/010' succeeded
08:31:23,347 usb_open_port: 'serial' read quanta = packet size = 8
08:31:23,351 usb_open_port: USB port is now open
08:31:23,353 usb_install_signal_handlers: called
08:31:23,354 urb_reaper: reap starting
08:31:23,355 usb_install_signal_handlers: done
08:31:23,357 icoms_set_usb_port: usb port characteristics set ok
08:31:23,358 colorhug_init_coms: inited coms OK
08:31:23,360 colorhug_init_coms: About to init coms
08:31:23,363 colorhg_command: sending cmd 'GetFirmwareVersion' args ''
08:31:23,364 icoms_usb_transaction: req type 0x1 ep 0x1 size 64 to 2000
08:31:23,366 icoms_usb_transaction: set req 0x7ffeb5161680 nourbs to 1
08:31:23,367 urb_reaper: urb reap URB 0 with status 0, bytes 64, urbs left 0
08:31:23,369 coms_usb_transaction: reap - 0 left
08:31:23,370 coms_usb_transaction: returning err 0x0 and 64 bytes
08:31:23,372 icoms_usb_rw: returning 64 bytes, ICOM err 0x0
08:31:23,373 colorhug_command: Send 64 bytes and 64 sent
08:31:23,373 colorhug_command: got inst code
08:31:23,374 colorhug_command: Reading response
08:31:23,375 icoms_usb_transaction: req type 0x1 ep 0x81 size 64 to 2000
08:31:23,376 icoms_usb_transaction: set req 0x7ffeb5161680 nourbs to 1
08:31:25,349 coms_usb_transaction: time out - cancel remaining URB's
08:31:25,351 cancel_req 0
08:31:25,356 urb_reaper: urb reap URB 0 with status -2, bytes 0, urbs left 0
08:31:25,358 coms_usb_transaction: returning err 0x4000 and 0 bytes
08:31:25,360 icoms_usb_rw: returning 0 bytes, ICOM err 0x4000
08:31:25,361 colorhug_command: Read 64 bytes and 0 read
08:31:25,363 colorhug_command: Got Colorhug !OK
08:31:25,364 init_inst returned 'Communication protocol breakdown' (Invalid address)
08:31:25,365 new_disprd failed because init_inst failed
08:31:25,367 icoms_del: called
08:31:25,368 icoms_del: closing port
08:31:25,369 usb_close_port: called
08:31:25,370 usb_close_port: waking reaper thread to trigger exit
08:31:25,372 usb_close_port: waiting for reaper thread
08:31:25,374 urb_reaper: poll returned events 0 1 - shutting down
08:31:25,376 urb_reaper: shutdown or too many failure
08:31:25,377 urb_reaper: cleared requests
08:31:25,378 urb_reaper: thread done
08:31:25,380 usb_close_port: usb port has been released and closed
08:31:25,381 dispread: Error - new_disprd failed with 'Instrument Access Failed'
08:31:25,382 
08:31:25,399 DisplayCAL: Reached EOF (OK)
08:31:25,508 ...aborted.

So somehow, it works with the first set of tests, but then fails the second or something? "Setting up the instrument"   what does that mean?

I turned on argyll debugging, and this is the relevant part of the log I think.

Colorhug2 has got the 2.0.6. firmware on it.

Mark Maas

unread,
Nov 29, 2017, 4:45:21 AM11/29/17
to colorhug-users
I downloaded the 2.0.7 firmware, extracted it and used the "colorhug-flash -f ./firmware.bin" in that directory to update the firmware to 2.0.7.

The colorhug firmware update gui did not see that there was a new version available, even after a "fwupdmgr refresh". The output from that command did show me the 2.0.7 version, but the gui kept claiming that my 2.0.6 was the latest available.

(Ubuntu 17.10 with gnome shell)

Anyway, after the fiirst quick try with gnome's built in color calibration, things seem to work now. Tonight I'll try dispcalgui again with a higher quality calibration.

Thanks!
Mark

Mark Maas

unread,
Nov 29, 2017, 6:08:00 AM11/29/17
to colorhug-users
Unfortunately no, still the same error:

11:50:58,441 icoms_refresh_paths: returning 1 paths and ICOM_OK
11:50:58,441 Number of patches = 175
11:50:58,442 Setting up the instrument
11:50:58,442 new_inst: called with path '/dev/bus/usb/001/017 (Hughski ColorHug2)' type
11:50:58,442 'ColorHug2'
11:50:58,442 new_icoms '/dev/bus/usb/001/017 (Hughski ColorHug2)' itype 'ColorHug2' dctype
11:50:58,442 0x10002
11:50:58,442 icom_copy_path_to_icom '/dev/bus/usb/001/017 (Hughski ColorHug2)' returning
11:50:58,442 dctype 0x10002
11:50:58,443 colorhug_init_coms: About to init coms
11:50:58,443 colorhug_init_coms: About to init USB
11:50:58,443 icoms_set_usb_port: About to set usb port characteristics
11:50:58,443 usb_open_port: Make sure USB port is open, tries 0
11:50:58,443 usb_open_port: About to open USB port '/dev/bus/usb/001/017'
11:50:58,443 usb_open_port: open port '/dev/bus/usb/001/017' succeeded
11:50:58,906 usb_open_port: 'serial' read quanta = packet size = 8
11:50:58,911 usb_open_port: USB port is now open
11:50:58,912 usb_install_signal_handlers: called
11:50:58,914 urb_reaper: reap starting
11:50:58,915 usb_install_signal_handlers: done
11:50:58,917 icoms_set_usb_port: usb port characteristics set ok
11:50:58,918 colorhug_init_coms: inited coms OK
11:50:58,919 colorhug_init_coms: About to init coms
11:50:58,921 colorhg_command: sending cmd 'GetFirmwareVersion' args ''
11:50:58,923 icoms_usb_transaction: req type 0x1 ep 0x1 size 64 to 2000
11:50:58,924 icoms_usb_transaction: set req 0x7ffc61b29110 nourbs to 1
11:50:58,925 urb_reaper: urb reap URB 0 with status 0, bytes 64, urbs left 0
11:50:58,926 coms_usb_transaction: reap - 0 left
11:50:58,927 coms_usb_transaction: returning err 0x0 and 64 bytes
11:50:58,928 icoms_usb_rw: returning 64 bytes, ICOM err 0x0
11:50:58,930 colorhug_command: Send 64 bytes and 64 sent
11:50:58,931 colorhug_command: got inst code
11:50:58,932 colorhug_command: Reading response
11:50:58,933 icoms_usb_transaction: req type 0x1 ep 0x81 size 64 to 2000
11:50:58,934 icoms_usb_transaction: set req 0x7ffc61b29110 nourbs to 1
11:51:00,908 coms_usb_transaction: time out - cancel remaining URB's
11:51:00,910 cancel_req 0
11:51:00,916 urb_reaper: urb reap URB 0 with status -2, bytes 0, urbs left 0
11:51:00,917 coms_usb_transaction: returning err 0x4000 and 0 bytes
11:51:00,919 icoms_usb_rw: returning 0 bytes, ICOM err 0x4000
11:51:00,921 colorhug_command: Read 64 bytes and 0 read
11:51:00,922 colorhug_command: Got Colorhug !OK
11:51:00,923 init_inst returned 'Communication protocol breakdown' (Invalid address)
11:51:00,926 new_disprd failed because init_inst failed
11:51:00,927 icoms_del: called
11:51:00,929 icoms_del: closing port
11:51:00,930 usb_close_port: called
11:51:00,932 usb_close_port: waking reaper thread to trigger exit
11:51:00,932 usb_close_port: waiting for reaper thread
11:51:00,933 urb_reaper: poll returned events 0 1 - shutting down
11:51:00,934 urb_reaper: shutdown or too many failure
11:51:00,935 urb_reaper: cleared requests
11:51:00,935 urb_reaper: thread done
11:51:00,936 usb_close_port: usb port has been released and closed
11:51:00,937 dispread: Error - new_disprd failed with 'Instrument Access Failed'
11:51:00,937 
11:51:00,951 DisplayCAL: Reached EOF (OK)
11:51:01,059 ...aborted


So it's pretty inconsistent. Mostly I get the "access failed" but I managed to make it work only once now.

Graeme Gill

unread,
Nov 29, 2017, 6:11:16 AM11/29/17
to colorhu...@googlegroups.com
Mark Maas wrote:

> 08:31:23,363 colorhg_command: sending cmd 'GetFirmwareVersion' args ''

> 08:31:23,373 colorhug_command: Send 64 bytes and 64 sent

> 08:31:23,374 colorhug_command: Reading response

> 08:31:25,349 coms_usb_transaction: time out - cancel remaining URB's

> So somehow, it works with the first set of tests, but then fails the
> second or something?

The ColorHug didn't reply to the very first command, so the USB HID read timed out.

> "Setting up the instrument" what does that mean?

Establishing communications and configuring the instrument into a suitable
state for making measurements.

So something is up with your ColorHug or the system you are running on.

Graeme Gill.

Mark Maas

unread,
Nov 29, 2017, 6:23:43 AM11/29/17
to colorhu...@googlegroups.com
> So something is up with your ColorHug or the system you are running on.

Oh dear, the supplied live usb gives the same error (Dell XPS 13).. So
should I contact Hugski?
> --
> You received this message because you are subscribed to a topic in the Google Groups "colorhug-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/colorhug-users/Dssu1xKTYvM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to colorhug-user...@googlegroups.com.
> Visit this group at https://groups.google.com/group/colorhug-users.
> For more options, visit https://groups.google.com/d/optout.



--
Mark Maas
Linux / System / Cloud Engineer
+31 6 215 924 05

Bruno Pagani

unread,
Nov 29, 2017, 6:26:36 AM11/29/17
to colorhu...@googlegroups.com
Le 29/11/2017 à 12:13, Graeme Gill a écrit :

> Mark Maas wrote:
>
>> "Setting up the instrument" what does that mean?
> Establishing communications and configuring the instrument into a suitable
> state for making measurements.
>
> So something is up with your ColorHug or the system you are running on.
>
> Graeme Gill.

What distro are you on?

I had the same error with ArgyllCMS 1.9.2 on ArchLinux (we discussed
this earlier this year on this list), never had the time to look into
that more deeply. I reverted to 1.8.x which was working fine to get the
job done, I need to retry 1.9.x and 2.0 now that this last version is
out. But this is ArchLinux specific, and might not apply in your case.

Some other similar reports, in case some of the discussions in those can
help:
https://hub.displaycal.net/issue/9490/
https://hub.displaycal.net/issue/7566/
https://hub.displaycal.net/issue/7237/
https://hub.displaycal.net/issue/7152/
https://hub.displaycal.net/issue/6167/
https://hub.displaycal.net/issue/5224/

Regards,
Bruno

signature.asc

Martin Boonk

unread,
Nov 29, 2017, 7:04:40 AM11/29/17
to colorhu...@googlegroups.com
Hey,
i use a Dell XPS 13 with Arch and can only successfully perform a complete run when setting USB to version 2 in BIOS.

Maybe that helps with diagnosis of the real problem.

Regards,
Martin

Graeme Gill

unread,
Nov 29, 2017, 7:51:42 AM11/29/17
to colorhug-users@googlegroups.com >> 'Maxwell Pittman' via colorhug-users
Mark Maas wrote:

> Oh dear, the supplied live usb gives the same error (Dell XPS 13).. So
> should I contact Hugski?

Hard to say. USB is remarkably flaky in my experience - a lot
of components have to do just the right thing, and if one doesn't,
it fails.

Does it have the pattern that it works the first time it is used
after it is plugged in, but not thereafter ?

i.e. does unplugging and re-plugging it make it work once ?

Graeme Gill.

Bruno Pagani

unread,
Nov 29, 2017, 8:03:14 AM11/29/17
to colorhu...@googlegroups.com, Graeme Gill
Don’t know about Mark case, but if I remember correctly in my case it
used to work “once” in the sense that the first batch of 4 measurements
from DisplayCAL worked, but then failed when moving on the next one. At
this stage, I had to unplug & replug to get it working at all, and then
same thing as before, working only once.

I can make more/new tests tonight or tomorrow evening.

Bruno

signature.asc

Graeme Gill

unread,
Nov 29, 2017, 4:46:44 PM11/29/17
to colorhu...@googlegroups.com
Bruno Pagani wrote:

> Don’t know about Mark case, but if I remember correctly in my case it
> used to work “once” in the sense that the first batch of 4 measurements
> from DisplayCAL worked, but then failed when moving on the next one. At
> this stage, I had to unplug & replug to get it working at all, and then
> same thing as before, working only once.

Working through DisplayCAL obscures whats going on. Of more interest is
what spotread does.

Graeme Gill.

Graeme Gill

unread,
Dec 4, 2017, 5:08:05 PM12/4/17
to colorhu...@googlegroups.com
Graeme Gill wrote:

> Does it have the pattern that it works the first time it is used
> after it is plugged in, but not thereafter ?

Hmm. No answer, so I guess Argyll V2.0.1 won't have any ColorHug
driver changes ...

Graeme Gill.

tracy.w...@gmail.com

unread,
Jan 18, 2018, 4:41:58 AM1/18/18
to colorhug-users
I can't speak for Mark, but I am having apparently the same issue, and, yes, what I am seeing is that I have to unplug/replug the colorhug to get a new process to be able to work with it.

Mark Maas

unread,
Jan 18, 2018, 5:25:03 AM1/18/18
to colorhu...@googlegroups.com
Speaking for myself, I no longer have the issue since I just switched
to using Gnome's built in Color calibration.

Even then though you have to let it run the first time. If you cancel
the process, they you need to unplug and plug it back in.

But it's fast though. So much faster then my old Spydercolor.
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "colorhug-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/colorhug-users/Dssu1xKTYvM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> colorhug-user...@googlegroups.com.
> Visit this group at https://groups.google.com/group/colorhug-users.
> For more options, visit https://groups.google.com/d/optout.



--

Mark Maas
about.me/markmaas

Graeme Gill

unread,
Jan 18, 2018, 6:20:53 PM1/18/18
to colorhu...@googlegroups.com
tracy.w...@gmail.com wrote:
> I can't speak for Mark, but I am having apparently the same issue, and,
> yes, what I am seeing is that I have to unplug/replug the colorhug to get a
> new process to be able to work with it.

OK - thanks for the follow up. This sounds like the Linux USB driver
issue of it locking up after one use. Only seems to affect some Linux
systems and devices, and no idea what the underlying cause is, but I
have a workaround which I can use at the application level.

Try these tools out and see if it fixes the problem:
<http://www.argyllcms.com/disptools_linux64.tgz>

(Full source is here <http://www.argyllcms.com/Argyll_dev_src.zip>)

Cheers,
Graeme Gill.

Tracy Wadleigh

unread,
Jan 19, 2018, 1:56:22 AM1/19/18
to colorhu...@googlegroups.com
Awesome, Graeme! Thanks for the reply, and thanks for all your work on Argyll. I'll get back to you in a day or two with my results.

        Graeme Gill.

--
You received this message because you are subscribed to a topic in the Google Groups "colorhug-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/colorhug-users/Dssu1xKTYvM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to colorhug-users+unsubscribe@googlegroups.com.

tracy.w...@gmail.com

unread,
Jan 21, 2018, 2:56:30 PM1/21/18
to colorhug-users
A little more data: I generated a 2000 patch target file with targen. I ran dispread a number of times. On my external monitor I was able to get 1693 readings before getting all zero readings after that. On the builtin monitor on my laptop I ran it three times, and got nonzero reading counts of 589, 420, and 1556 before starting to get zero readings.

I then re-ran dispread, this time with ultra-chatty debug output (-D1000). Surprisingly (to me), I was able to get through all 2000 patches with nonzero readings for my builtin display. However, when I ran it on my external display, I was able to only get 539 nonzero readings.

A snippet of the debug output around where the readings went to zero follows:

About to read patch 539
dispwin_set_color called on disp ':0.0'
dispwin_set_color about to paint color 0.194134 0.078390 0.000000
dispwin_set_color paint done
dispwin: update delay 396 msec = patch_delay 200 + disp_settle 196  - inst_reaction 0
dispwin_set_color delaying 396 msec
colorhg_command: sending cmd 'TakeReadingXYZ' args '43 00'
icoms_usb_transaction: req type 0x1 ep 0x1 size 64 to 30000
icoms_usb_transaction: set req 0x7fff0a03f940 nourbs to 1
urb_reaper: urb reap URB 0 with status 0, bytes 64, urbs left 0
coms_usb_transaction: reap - 0 left
coms_usb_transaction: returning err 0x0 and 64 bytes
icoms_usb_rw: returning 64 bytes, ICOM err 0x0
colorhug_command: Send 64 bytes and 64 sent
colorhug_command: got inst code 
colorhug_command: Reading response
icoms_usb_transaction: req type 0x1 ep 0x81 size 64 to 30000
icoms_usb_transaction: set req 0x7fff0a03f940 nourbs to 1
urb_reaper: urb reap URB 0 with status 0, bytes 64, urbs left 0
coms_usb_transaction: reap - 0 left
coms_usb_transaction: returning err 0x0 and 64 bytes
icoms_usb_rw: returning 64 bytes, ICOM err 0x0
colorhug_command: Read 64 bytes and 64 read
colorhug_command: recieved cmd 'TakeReadingXYZ' error 'OK' args '00 23 0f f7 02 00 4d 6c 02 00 a5 f5 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff'
colorhg_command: returning '0f f7 02 00 4d 6c 02 00 a5 f5 00 00' ICOM err 0x0
colorhug_take_measurement: XYZ = 2.965073 2.423050 0.959549
got reading 2.965073 2.423050 0.959549, transfering to col
on to next reading
About to read patch 540
dispwin_set_color called on disp ':0.0'
dispwin_set_color about to paint color 0.196342 0.212839 0.000000
dispwin_set_color paint done
dispwin: update delay 433 msec = patch_delay 200 + disp_settle 233  - inst_reaction 0
dispwin_set_color delaying 433 msec
colorhg_command: sending cmd 'TakeReadingXYZ' args '43 00'
icoms_usb_transaction: req type 0x1 ep 0x1 size 64 to 30000
icoms_usb_transaction: set req 0x7fff0a03f940 nourbs to 1
urb_reaper: urb reap URB 0 with status 0, bytes 64, urbs left 0
coms_usb_transaction: reap - 0 left
coms_usb_transaction: returning err 0x0 and 64 bytes
icoms_usb_rw: returning 64 bytes, ICOM err 0x0
colorhug_command: Send 64 bytes and 64 sent
colorhug_command: got inst code 
colorhug_command: Reading response
icoms_usb_transaction: req type 0x1 ep 0x81 size 64 to 30000
icoms_usb_transaction: set req 0x7fff0a03f940 nourbs to 1
urb_reaper: urb reap URB 0 with status 0, bytes 64, urbs left 0
coms_usb_transaction: reap - 0 left
coms_usb_transaction: returning err 0x0 and 64 bytes
icoms_usb_rw: returning 64 bytes, ICOM err 0x0
colorhug_command: Read 64 bytes and 64 read
colorhug_command: recieved cmd 'TakeReadingXYZ' error 'Unknown error code' args '21 23 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff'
colorhg_command: returning 'ff ff ff ff ff ff ff ff ff ff ff ff' ICOM err 0x0
colorhug_take_measurement: XYZ = -0.000015 -0.000015 -0.000015
got reading 0.000000 0.000000 0.000000, transfering to col
on to next reading
About to read patch 541
dispwin_set_color called on disp ':0.0'
dispwin_set_color about to paint color 0.644450 0.394029 0.252179
dispwin_set_color paint done
dispwin: update delay 439 msec = patch_delay 200 + disp_settle 239  - inst_reaction 0
dispwin_set_color delaying 439 msec
colorhg_command: sending cmd 'TakeReadingXYZ' args '43 00'
icoms_usb_transaction: req type 0x1 ep 0x1 size 64 to 30000
icoms_usb_transaction: set req 0x7fff0a03f940 nourbs to 1
urb_reaper: urb reap URB 0 with status 0, bytes 64, urbs left 0
coms_usb_transaction: reap - 0 left
coms_usb_transaction: returning err 0x0 and 64 bytes
icoms_usb_rw: returning 64 bytes, ICOM err 0x0
colorhug_command: Send 64 bytes and 64 sent
colorhug_command: got inst code 
colorhug_command: Reading response
icoms_usb_transaction: req type 0x1 ep 0x81 size 64 to 30000
icoms_usb_transaction: set req 0x7fff0a03f940 nourbs to 1
urb_reaper: urb reap URB 0 with status 0, bytes 64, urbs left 0
coms_usb_transaction: reap - 0 left
coms_usb_transaction: returning err 0x0 and 64 bytes
icoms_usb_rw: returning 64 bytes, ICOM err 0x0
colorhug_command: Read 64 bytes and 64 read
colorhug_command: recieved cmd 'TakeReadingXYZ' error 'Unknown error code' args '21 23 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff'
colorhg_command: returning 'ff ff ff ff ff ff ff ff ff ff ff ff' ICOM err 0x0
colorhug_take_measurement: XYZ = -0.000015 -0.000015 -0.000015
got reading 0.000000 0.000000 0.000000, transfering to col
on to next reading

Does this provide any further clues?

tracy.w...@gmail.com

unread,
Jan 21, 2018, 3:02:42 PM1/21/18
to colorhug-users
I'm sorry to report that I am still experiencing similar issues with Argyll v. 2.0.1-beta. I guess it might be slightly improved, as I was able to complete a high-quaility calibration/profile on one of my displays, which I had previously been unable to do. However, I was not able to do the same for my other display, and I still had to make sure the colorhug was only plugged in just before I began the process.

I was using argyll through the displaycal wrapper. Maybe I'll just have to invest the time to learn the command line interface to argyll directly, so that I can unplug/replug my colorhug between the invocations of the various tools.

Of course, if anyone has any insights into how I can resolve this USB issue at the OS level, that would be great. (I'm on Ubuntu 16.04 LTS.)

tracy.w...@gmail.com

unread,
Jan 21, 2018, 3:10:46 PM1/21/18
to colorhug-users
0x21 corresponds to CH_ERROR_I2C_SLAVE_ADDRESS in the colorhug2 firmware code, if I'm counting off the enums correctly.

Graeme Gill

unread,
Jan 22, 2018, 10:22:15 PM1/22/18
to colorhu...@googlegroups.com
tracy.w...@gmail.com wrote:
> 0x21 corresponds to CH_ERROR_I2C_SLAVE_ADDRESS in the colorhug2 firmware
> code, if I'm counting off the enums correctly.

It's always hard to know how the application code and the device will interact,
but at first glance this would indicate that the Colorhug HW or firmware has a problem
occasionally.

Graeme Gill.

stur...@lieberbiber.de

unread,
Feb 24, 2018, 3:42:22 AM2/24/18
to colorhug-users

Since I have a Pantone huey which doesn't have any problems with the same Linux kernel and USB ports my ColorHug2 has problems with, and the ArgyllCMS driver for the huey doesn't seem to need the workaround, I am inclined to agree. The fix made my ColorHug2 live through a normal calibration, which always failed before.

I've also looked at the libusb source code, and having to use USBDEVFS_RESET in addition to USBDEVFS_RELEASEINTERFACE at least doesn't seem to be common practice. According to the kernel documentation, closing the file descriptor should even implicitely trigger a RELEASEINTERFACE ioctl.

Bruno Pagani

unread,
Mar 11, 2018, 5:27:28 PM3/11/18
to colorhu...@googlegroups.com, Graeme Gill
Sorry for the huge delay in answering…

spotread works the first time, and then reports:
Instrument initialisation failed with 'Communication protocol breakdown'
(Invalid address)!

dispread was failing with the same issue as email subject of course.

I’ve tried with the build provided at
http://www.argyllcms.com/disptools_linux64.tgz, and it worked fine, so I
guess you fixed it. :)

Just as a side note, I’ve also tried to build from
http://www.argyllcms.com/Argyll_dev_src.zip just to check, but I get this:

In file included from rspl/t2d.c:24:0:
plot/plot.h:16:24: error: ‘MXGPHS’ undeclared here (not in a function)
 extern int plot_colors[MXGPHS][3];
                        ^~~~~~

    cc -c -o rspl/t2d.o -DUNIX -D_THREAD_SAFE -pipe -m64 -O2 -DARGYLLCMS
-Irspl -Ih -Inumlib -Iplot -I/usr/local/include rspl/t2d.c

...failed Cc_ rspl/t2d.o ...
...skipped <rspl>t2d for lack of <rspl>t2d.o...
Chmod1 rspl/cw3
In file included from rspl/t2ddf.c:24:0:
plot/plot.h:16:24: error: ‘MXGPHS’ undeclared here (not in a function)
 extern int plot_colors[MXGPHS][3];
                        ^~~~~~

    cc -c -o rspl/t2ddf.o -DUNIX -D_THREAD_SAFE -pipe -m64 -O2
-DARGYLLCMS -Irspl -Ih -Inumlib -Iplot -I/usr/local/include rspl/t2ddf.c

...failed Cc_ rspl/t2ddf.o ...
...skipped <rspl>t2ddf for lack of <rspl>t2ddf.o...

Regards,
Bruno

signature.asc
Reply all
Reply to author
Forward
0 new messages