Re: Bug #605259: Colorimeter name in profile description



On Mon, Feb 15, 2010 at 12:36 PM, Pascal de Bruijn <pmjdebruijn pcode nl> wrote:
> On Mon, Feb 15, 2010 at 12:34 PM, Richard Hughes <hughsient gmail com> wrote:
>> On 15 February 2010 01:23, Pascal de Bruijn <pmjdebruijn pcode nl> wrote:
>>> It's not fixing it for me now... But I don't think I have the usb-db
>>> utility installed... Where should I have gotten it from?
>>
>> Any modern udev should have it. Use "udevadm monitor" to monitor the
>> device events as the device is plugged in.
>
> Indeed
>
> $ dpkg -L udev | grep usb-db
> /lib/udev/usb-db
>
> But it's not in my path, I'm not sure whether that matters?

I changed the udev-rule to include the full path of usb-db:

# color calibration device
ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}="1",
IMPORT{program}="/lib/udev/usb-db %p"

Does this need to be in a particular place in 55-Argyll.rules? I
attached the full file.

After making the above change, I rebooted my system, and ran the
udevadm monitor while plugging in the Huey. The results are attached.

Regards,
Pascal de Bruijn
pmjdebruijn biovore:~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[1266323110.972649] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb)
KERNEL[1266323110.975186] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb)
UDEV  [1266323111.064958] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb)
KERNEL[1266323111.106596] add      /module/usbhid (module)
KERNEL[1266323111.108080] add      /bus/hid/drivers/generic-usb (drivers)
UDEV  [1266323111.108125] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb)
KERNEL[1266323111.108145] add      /bus/usb/drivers/hiddev (drivers)
KERNEL[1266323111.108161] add      /bus/usb/drivers/usbhid (drivers)
UDEV  [1266323111.108519] add      /bus/usb/drivers/hiddev (drivers)
UDEV  [1266323111.108804] add      /module/usbhid (module)
UDEV  [1266323111.109292] add      /bus/usb/drivers/usbhid (drivers)
UDEV  [1266323111.110702] add      /bus/hid/drivers/generic-usb (drivers)
KERNEL[1266323117.762463] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb)
KERNEL[1266323117.762504] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb)
UDEV  [1266323117.763909] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb)
UDEV  [1266323117.766370] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb)
KERNEL[1266323121.321652] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb)
KERNEL[1266323121.328367] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb)
UDEV  [1266323121.338002] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb)
UDEV  [1266323121.341140] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb)
pmjdebruijn biovore:~$ /lib/udev/usb-db /devices/pci0000:00/0000:00:1d.0/usb6/6-2
ID_VENDOR_FROM_DATABASE=Gretag-Macbeth AG

Attachment: 55-Argyll.rules
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]