[argyllcms] Re: Aware of hardware devices

  • From: Richard Hughes <hughsient@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Tue, 3 Nov 2009 08:04:43 +0000

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.

Richard.

Other related posts: