[argyllcms] Re: argyll v0.60.2 usb assignments

  • From: warp_foo <warp_foo@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Fri, 3 Nov 2006 19:19:34 -0800 (PST)

--- Graeme Gill <graeme@xxxxxxxxxxxxx> wrote:

> warp_foo wrote:
> 
> > mdufresne@wallace:/usr/local/argyll/bin$ ./dispcal
> -a
> > -r -i94
> > dispcal: Error - Configuring USB port
> 'usb:/bus0/dev0
> > (Xrite DTP94)' to 1 failed

Thanks for the reply Graeme.
 
> I'm not sure about the error message, but what does
> dispcal -? list ?

I'll assume you mean the relevant bits regarding the
comm port? If so:

    1 = 'usb:/bus0/dev0 (Xrite DTP94)'
    2 = '/dev/ttyS0'
    3 = '/dev/ttyS1'
    4 = '/dev/ttyS2'
    5 = '/dev/ttyS3'


> The Argyll code basically enumerates all USB ports,
> and locates
> any devices it recognizes (The DTP94 being the only
> one in V0.6),
> and these get listed before any serial ports as a -c
> selection.
> 
> The main trap on Linux, is getting the permissions
> right to
> use the USB port. This usually means setting up the
> hotplug
> or udev system properly. See the installation notes
> <http://www.argyllcms.com/doc/Installing.html> for
> this,
> if you haven't already done so.

Yes, I have followed the setup instructions for devsub
at the bottom.
 
> What are the permissions for USB bus 2, device 5,
> and it's parent directory ?
> Is is writable ?

If I understand the rules mods I followed referenced
above, then I don't think what I am seeing is correct:

mdufresne@wallace:/usr/local/argyll/bin$ ls -l
/dev/bus/usb/002
total 0
crw-rw-r-- 1 root root 189, 128 2006-10-31 19:25 001
crw-rw-r-- 1 root root 189, 129 2006-10-31 19:25 002
crw-rw-r-- 1 root root 189, 130 2006-10-31 19:25 003
crw-rw-r-- 1 root root 189, 132 2006-11-02 18:25 005

Manually chmodding the files has the desired result:

mdufresne@wallace:/usr/local/argyll/bin$ sudo chmod
666 /dev/bus/usb/002/*
Password:
mdufresne@wallace:/usr/local/argyll/bin$ ls -l
/dev/bus/usb/002
total 0
crw-rw-rw- 1 root root 189, 128 2006-10-31 19:25 001
crw-rw-rw- 1 root root 189, 129 2006-10-31 19:25 002
crw-rw-rw- 1 root root 189, 130 2006-10-31 19:25 003
crw-rw-rw- 1 root root 189, 132 2006-11-02 18:25 005
 
mdufresne@wallace:/usr/local/argyll/bin$ ./dispcal -c
1 -a -r -i94
Offset calibration:
Place instrument on a dark surface.
Hit Esc to skip, any other key to start calibration:
Offset calibration successful
The instrument can be removed from the dark surface.
Place instrument on test window.
Hit Esc to give up, any other key to continue:
Black level = 0.46 cd/m^2
White level = 77.29 cd/m^2
Aprox. gamma = 2.54
Contrast ratio = 168:1
White chromaticity coordinates 0.3239, 0.3452
White    Correlated Color Temperature = 5874K, DE to
locus =  7.9
White Correlated Daylight Temperature = 5874K, DE to
locus =  4.1
White        Visual Color Temperature = 5647K, DE to
locus =  7.7
White     Visual Daylight Temperature = 5769K, DE to
locus =  3.9
The instrument can be removed from the screen.

Thanks for the assist Graeme.

-- 
What does this have to do with us?
                                  - Anonymous


 
____________________________________________________________________________________
Want to start your own business? Learn how on Yahoo! Small Business 
(http://smallbusiness.yahoo.com) 


Other related posts: