Discussion:
x-rite i1 display pro on FreeBSD 10.0
Olaf Trygve Berglihn
2014-02-11 21:56:45 UTC
Permalink
I've read through the list archive about FreeBSD-support. What
is the status on this?

Both the stable and development release compile. dispwin works. But
accessing a x-rite i1 display pro over USB does not.

Any hints on how to get this working with the current code, or is
there more work required on the usb-driver for FreeBSD?


-Olaf

$ uname -m -r -s
FreeBSD 10.0-RELEASE amd64

$ bin/dispcal -D9 -r
Checking XRandR 1.2 VideoLUT access
Display 0 name = ':0.0'
Unable to intern atom 'EDID_DATA'
Got EDID for display
icoms_get_paths: called
hid_get_paths: called
icoms_get_paths: returning 0 paths and ICOM_OK
usb_get_paths: about to look through usb devices:
usb_get_paths: checking vid 0x0000, pid 0x0000
usb_get_paths: instrument not reconized
usb_get_paths: checking vid 0x0000, pid 0x0000
usb_get_paths: instrument not reconized
usb_get_paths: checking vid 0x0424, pid 0x2504
usb_get_paths: instrument not reconized
usb_get_paths: checking vid 0x046d, pid 0xc016
usb_get_paths: instrument not reconized
usb_get_paths: checking vid 0x0765, pid 0x5020
usb_get_paths: found instrument vid 0x0765, pid 0x5020
usb_get_paths: returning 1 paths and ICOM_OK
icoms_get_paths: failed to open serial "/dev/cuau0" - not real
icoms_get_paths: failed to open serial "/dev/cuau1" - not real
Setting up the instrument
new_inst: called with path '/dev/usb/4.4 (Xrite i1 DisplayPro, ColorMunki Display)'
i1d3_init_coms: called
i1d3_init_coms: About to init USB
icoms_set_usb_port: About to set usb port characteristics
usb_open_port: Make sure USB port is open, tries 0
usb_install_signal_handlers: called
usb_install_signal_handlers: done
icoms_set_usb_port: usb port characteristics set ok
i1d3_command: Sending cmd 'GetStatus' args '00 01 00 00 00 00 00 00'
icoms_usb_rw: device not initialised
icoms_usb_rw: device not initialised
i1d3_command: Command send failed with ICOM err 0x20000
icoms_usb_rw: device not initialised
icoms_usb_rw: device not initialised
i1d3_init_coms: failed with rv = 0x70062
init_coms returned 'Communications failure' (Communications failure)
new_disprd failed because init_coms failed
icoms_del: called
dispcal: Error - new_disprd() failed with 'Instrument Access Failed'
--
Olaf Trygve Berglihn
Graeme Gill
2014-02-11 22:51:03 UTC
Permalink
Post by Olaf Trygve Berglihn
I've read through the list archive about FreeBSD-support. What
is the status on this?
Hi,
it's not listed in the supported operating environments,
because instrument access doesn't work. All other aspects should
work.
Post by Olaf Trygve Berglihn
Any hints on how to get this working with the current code, or is
there more work required on the usb-driver for FreeBSD?
The usb driver is incomplete (I ran out of momentum
in attempting to write it). See spectro/usbio_bsd.c

It's unclear if it's possible to make it work - BSD seems
to be lacking any ability to abort USB transactions to
be able to time them out. A lot of experimenting seemed
to be the only way of figuring out if anything else could
be substituted for the missing abort IOCTL.

Graeme Gill.

Loading...