[argyllcms] Re: argyllcms+colord

  • From: pdi <pdi@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 14 Dec 2015 17:03:33 +0200

On Mon, 14 Dec 2015 09:26:22 +1100
Graeme Gill <graeme@xxxxxxxxxxxxx> wrote:

compare the output of ls -l -R /dev/bus/usb
without and then with the instrument plugged in.
If you are a member of colord, you should then be able to open it.

Graeme, thank you for your prompt reply.

I have read, carefully I hope,
http://www.argyllcms.com/doc/Installing_Linux.html.

Here is what happens:

$ ls -la /etc/udev/rules.d/55-Argyll.rules
-rw-r--r-- 1 root root 5675 2015-12-13 12:17 /etc/udev/rules.d/55-Argyll.rules

# groupadd -r colord
# usermod -a -G colord <user>
# ls -lR /dev/bus/usb
...
/dev/bus/usb/008:
total 0
crw-rw-r-- 1 root root 189, 896 2015-12-14 05:55 001
crw-rw-r-- 1 root root 189, 897 2015-12-14 05:55 002

Then plugin the instrument, and
# ls -lR /dev/bus/usb
...
/dev/bus/usb/008:
total 0
crw-rw-r-- 1 root root 189, 896 2015-12-14 05:55 001
crw-rw-r-- 1 root root 189, 897 2015-12-14 05:55 002
crw-rw-r-- 1 root root 189, 904 2015-12-14 16:34 009

The instrument is not owned by group colord. And yet,
$ spotread -?
...
-c listno Set communication port from the following list (default 1)
1 = '/dev/bus/usb/008/009 (X-Rite i1 DisplayPro, ColorMunki
Display)'

But if I install the package of colord, and
# ls -lR /dev/bus/usb
...
/dev/bus/usb/008:
total 0
crw-rw-r-- 1 root root 189, 896 2015-12-14 05:55 001
crw-rw-r-- 1 root root 189, 897 2015-12-14 05:55 002
crw-rw-r-- 1 root colord 189, 905 2015-12-14 16:44 010

I have tried editing 55-Argyll.rules to change colord to another group,
but it had no effect.

For now I'll keep installing and removing colord :-)


Other related posts: