[argyllcms] DPT94 doesn't seem to work in 1.3.0

  • From: Simon Kirby <sim@xxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 20 Sep 2010 09:13:43 -0700

Hello!

dispwin is unhappy with My DPT94 when I try 1.3.0 binaries, source, or a
build of 1.3.1 beta.  Debian sid 1.1.1 package seems to work, as does my
ancient 0.70 beta 8 build.

1.1.1:
[sroot@oof:~]# dispcal -K -H -m -g2.2 -yl -q h -v -o acd
XRandR 1.2 is faulty - falling back to older extensions
Setting up the instrument
 Instrument Type:  DTP94
 Serial Number:    109477
 Boot version:     D929
 Software version: DB06
Place cap on the instrument, or place in on a dark surface,
or place on the white calibration reference,
 and then hit any key to continue,
 or hit Esc or Q to abort:

1.3.0:
[sroot@oof:/usr/src/argyll/Argyll_V1.3.0/bin]# ./dispcal -K -H -m -g2.2 -yl -q 
h -v -o acd
XRandR 1.2 is faulty - falling back to older extensions
Setting up the instrument
dispcal: Error - docalibration failed with return value -1

Strace of 1.3.0:

open("/dev/bus/usb/005/002", O_RDWR)    = 5
write(4, "\1", 1)                       = 1
read(3, "\1", 1)                        = 1
ioctl(5, USBDEVFS_SETCONFIGURATION, 0x7fffdde69484) = 0
open("/sys/bus/usb/devices/5-3/bConfigurationValue", O_RDONLY) = 6
read(6, "1\n", 4)                       = 2
close(6)                                = 0
open("/sys/bus/usb/devices/5-3/descriptors", O_RDONLY) = 6
lseek(6, 0, SEEK_END)                   = 65553
lseek(6, 18, SEEK_SET)                  = 18
read(6, "\t\2 \0\1\1", 6)               = 6
read(6, "\0\200", 2)                    = 2
close(6)                                = 0
open("/sys/bus/usb/devices/5-3/bConfigurationValue", O_RDONLY) = 6
read(6, "1\n", 4)                       = 2
close(6)                                = 0
open("/sys/bus/usb/devices/5-3/descriptors", O_RDONLY) = 6
lseek(6, 0, SEEK_END)                   = 65553
lseek(6, 18, SEEK_SET)                  = 18
read(6, "\t\2 \0\1\1", 6)               = 6
read(6, "\0\200\n\t\4\0\0\2\377\377\377\0\7\5\201\3\10\0\n\7\5\2\3\10\0\n", 26) 
= 26
close(6)                                = 0
ioctl(5, USBDEVFS_CLAIMINTERFACE, 0x7fffdde69474) = 0
ioctl(5, USBDEVFS_CLEAR_HALT, 0x7fffdde69494) = 0
ioctl(5, USBDEVFS_CLEAR_HALT, 0x7fffdde69494) = 0
rt_sigaction(SIGHUP, {0x4567b0, [HUP], SA_RESTORER|SA_RESTART, 0x7f9b2d5291e0}, 
{SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x4567b0, [INT], SA_RESTORER|SA_RESTART, 0x7f9b2d5291e0}, 
{SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x4567b0, [TERM], SA_RESTORER|SA_RESTART, 
0x7f9b2d5291e0}, {SIG_DFL, [], 0}, 8) = 0
ioctl(5, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x79d420) = -1 EINVAL 
(Invalid argument)
ioctl(5, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x79d420) = -1 EINVAL 
(Invalid argument)
ioctl(5, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x79d420) = -1 EINVAL 
(Invalid argument)
ioctl(5, USBDEVFS_RELEASEINTERFACE, 0x7fffdde69484) = 0
write(4, "\1", 1)                       = 1
read(3, "\1", 1)                        = 1
close(5)                                = 0
rt_sigaction(SIGHUP, {SIG_DFL, [HUP], SA_RESTORER|SA_RESTART, 0x7f9b2d5291e0}, 
{0x4567b0, [HUP], SA_RESTORER|SA_RESTART, 0x7f9b2d5291e0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [INT], SA_RESTORER|SA_RESTART, 0x7f9b2d5291e0}, 
{0x4567b0, [INT], SA_RESTORER|SA_RESTART, 0x7f9b2d5291e0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, [TERM], SA_RESTORER|SA_RESTART, 
0x7f9b2d5291e0}, {0x4567b0, [TERM], SA_RESTORER|SA_RESTART, 0x7f9b2d5291e0}, 8) 
= 0
write(2, "dispcal: Error - ", 17dispcal: Error - )       = 17
write(2, "docalibration failed with return"..., 42docalibration failed with 
return value -1
) = 42
write(2, "\n", 1
)                       = 1
exit_group(1)                           = ?

Strace of 1.1.1 in the same area:

open("/dev/bus/usb/005/002", O_RDWR)    = 3
ioctl(3, USBDEVFS_SETCONFIGURATION, 0x7fff27b1a35c) = 0
ioctl(3, USBDEVFS_CLAIMINTERFACE, 0x7fff27b1a35c) = 0
ioctl(3, USBDEVFS_CLEAR_HALT, 0x7fff27b1a35c) = 0
ioctl(3, USBDEVFS_CLEAR_HALT, 0x7fff27b1a35c) = 0
rt_sigaction(SIGHUP, {0x7fe9e49b6930, [HUP], SA_RESTORER|SA_RESTART, 
0x7fe9e39031e0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x7fe9e49b6930, [INT], SA_RESTORER|SA_RESTART, 
0x7fe9e39031e0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x7fe9e49b6930, [TERM], SA_RESTORER|SA_RESTART, 
0x7fe9e39031e0}, {SIG_DFL, [], 0}, 8) = 0
ioctl(3, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x7fff27b19ff0) = 0
ioctl(3, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff27b1a098) = 
-1 EAGAIN (Resource temporarily unavailable)
select(4, NULL, [3], NULL, {0, 2000})   = 0 (Timeout)
ioctl(3, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff27b1a098) = 
-1 EAGAIN (Resource temporarily unavailable)
select(4, NULL, [], NULL, {0, 2000})    = 0 (Timeout)
ioctl(3, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff27b1a098) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...}) 
= 0
select(1, [0], [], [0], {0, 0})         = 0 (Timeout)
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...}) 
= 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x7fff27b19fe0) = 0
ioctl(3, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff27b1a088) = 
-1 EAGAIN (Resource temporarily unavailable)
select(4, NULL, [3], NULL, {0, 2000})   = 0 (Timeout)
ioctl(3, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff27b1a088) = 
-1 EAGAIN (Resource temporarily unavailable)
select(4, NULL, [], NULL, {0, 2000})    = 0 (Timeout)

Anything obvious? :)

Simon-

Other related posts: