#5224 (Bug) Linux Mint 17.2: Spyder5 – dispcal: Error – new_disprd() failed with ‘Instrument Access Failed’ (Permissions?)

+1 0

Closed as Works For Me
Component: ArgyllCMS 1.9.2
Created by ronaldtimmermann

Last modified


Hi..

I’m trying to run the calibration with a spyder5express on linux mint 17.2. DisplayCal ed. 3.2.2 and ArgyllCMS 1.9.2 .. The program shuts down with the above mentioned error message.

11:19:59,724 Checking XRandR 1.2 VideoLUT access

11:19:59,730 Argyll ‘V1.9.2’ Build ‘Linux 32 bit’ System ‘Linux #52~14.04.1-Ubuntu SMP Fri
11:19:59,730 May 8 09:44:48 UTC 2015 3.16.0-38-generic i686’

11:20:03,074 icoms_refresh_paths: we now have 1 devices and are about to sort them
11:20:03,075 icompaths_make_dslists ‘/dev/bus/usb/002/002 (Datacolor Spyder5)’ dctype 0x10002
11:20:03,077 icoms_refresh_paths: returning 1 paths and ICOM_OK
11:20:03,078 Setting up the instrument
11:20:03,079 new_inst: called with path ‘/dev/bus/usb/002/002 (Datacolor Spyder5)’ type
11:20:03,079 ‘Spyder5’
11:20:03,080 new_icoms ‘/dev/bus/usb/002/002 (Datacolor Spyder5)’ itype ‘Spyder5’ dctype
11:20:03,080 0x10002
11:20:03,081 icom_copy_path_to_icom ‘/dev/bus/usb/002/002 (Datacolor Spyder5)’ returning
11:20:03,081 dctype 0x10002
11:20:03,083 spyd2_init_coms: about to init coms
11:20:03,084 spyd2_init_coms: about to init USB
11:20:03,085 icoms_set_usb_port: About to set usb port characteristics
11:20:03,086 usb_open_port: Make sure USB port is open, tries 0
11:20:03,087 usb_open_port: About to open USB port ‘/dev/bus/usb/002/002’
11:20:03,088 usb_open_port: open ‘/dev/bus/usb/002/002’ config 1 failed (-1) (Permissions ?)
11:20:03,089 usb_open_port: open ‘/dev/bus/usb/002/002’ config 1 failed (-1) (Permissions ?)
11:20:03,125 usb_open_port: open ‘/dev/bus/usb/002/002’ config 1 failed (-1) (Permissions ?)
11:20:03,126 spyd2_init_coms: failed ICOM err 0x20000
11:20:03,127 init_coms returned ‘Communications failure’ (Communications failure)
11:20:03,129 new_disprd failed because init_coms failed
11:20:03,130 icoms_del: called
11:20:03,131 dispcal: Error – new_disprd() failed with ‘Instrument Access Failed’
11:20:03,132
11:20:03,139 DisplayCAL: Reached EOF (OK)
11:20:03,247 …aborted.

Please point me in the right direction to solve this. None of the tickets I read seem to cover exactly this.


13 comments on “Linux Mint 17.2: Spyder5 – dispcal: Error – new_disprd() failed with ‘Instrument Access Failed’ (Permissions?)”

  1. Hi,

    does /etc/udev/rules.d/55-Argyll.rules or /etc/udev/rules.d/69-cd-sensors.rules exist?

    If not, choose “Tools” -> “Instrument” -> “Install instrument configuration files…”

    1. As does …/70-persistent-net.rules by the way. Thank you for addressing this issue so quickly on a holiday. I hope you’ve had a lovely Weihnachtsabend.

      1. /etc/udev/rules.d/55-Argyll.rules exists

        Is your user part of the “colord” group?

        As does …/70-persistent-net.rules by the way

        That file should be unrelated to USB.

        I hope you’ve had a lovely Weihnachtsabend.

        Thanks, likewise 🙂

        1. My user seems not to be part of colord group. Owner is colord colour management daemon. Access for colord group is read-only. Access for others is read only.

          How do I determine for sure whether or not my user is part of colord group?

          */55-Argyll.rules is owned by root with universal read-write permissions.

           

          1. How do I determine for sure whether or not my user is part of colord group?

            Run groups "$USERNAME" | grep "colord" in a terminal.

            To add yourself to the “colord” group, run sudo usermod -a -G colord "$USERNAME". You may also need to add yourself to the “plugdev” group.

  2. Hi Florian.

    succesfully added ‘user’ to colord and devplug groups. Rebooted. Tried new calibration, but results as before. Program shutdown with same error message.

    1. It seems Mint 17.2 does not have support for the Spyder5 due to the udev rules it ships being outdated (Spyder5 support was added to ArgyllCMS in may 2015). You’ll need to uninstall the current udev rules (menu “Tools” -> “Instrument” -> “Uninstall Argyll instrument configuration files”) and then install recent versions (menu “Tools” -> “Instrument” -> “Install Argyll instrument configuration files”).

  3. OK.. that makes sense. I’m running Mint 17.2 because of AMD driver issues. I am installing a new GPU next week and give serious thought to switching to Debian Jessie while we wait for Stretch to become Stable. Do you know whether or not Spyder5 is supported on Debian Jessie?

    ..

    I Uninstalled Argyll instrument configuration files succesfully, but now am unable to install recent versions via the menu. The ‘button’ is gray and unresponsive. Is there a CLI way to do it? ..I did reboot to see if that would resolve the issue.

  4. I Uninstalled Argyll instrument configuration files succesfully, but now am unable to install recent versions via the menu. The ‘button’ is gray and unresponsive.

    How did you install Argyll CMS and DisplayCAL?

    1. Hi Florian,

      I installed DisplayCAL with gdebi package manager. DisplayCAL installed Argyll CMS.

      I have gone another way. I installed Mint 18.1 ‘Mate’ and made do with the open source AMD drivers.. now I have no issues. First time I ran calibration and installed the profile I got the: “colord: querying for profile returned no results for 20 secs” ‘error’ .. I installed gnome-color-manager and presto.. Things seem to work.

      Thank you for making this software available and taking the time to help me out with the issues I had. As for as I’m concerned, this issue is solved.

Comments are closed.