On Tue, Nov 3, 2009 at 9:04 AM, Richard Hughes <hughsient@xxxxxxxxx> wrote: > 2009/11/3 Graeme Gill <graeme@xxxxxxxxxxxxx>: >> Richard Hughes wrote: >>> >>> The attached patch (for comments) adds a ARGYLL_CALIBRATION_DEVICE >>> udev string for supported devices, and would allow gnome-color-manager >>> to make the calibrate button insensitive when there is not supported >> >> How about a more general name, such as "COLOR_MEASUREMENT_DEVICE", >> in case there are any other applications that may be interested in >> them ? > > New (tested) patch attached, also with Frederics' idea. Thanks for the review. > > I've also noticed the existing rules match > /devices/pci0000:00/0000:00:1d.0/usb5/5-2 and > /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0 for me, so we > probably need to make that tighter at some point. I just tried this patch on my Ubuntu machine, using a very recent gcm git checkout (3 Nov 18:00u +0100). And the calibrate button does not get greyed out for me. Is the gcm companion code not ready yet, even though I did notice a dependancy on libgudev? Or it something just failing for me... If so, how can I debug this? Regards, Pascal de Bruijn