[argyllcms] Re: [PATCH] usb/hid: Blacklist the Gretag-Macbeth Huey display colorimeter

  • From: Frederic Crozat <fcrozat@xxxxxxxxxxxx>
  • To: Nicolas Mailhot <nicolas.mailhot@xxxxxxxxxxx>
  • Date: Fri, 14 Dec 2007 14:46:10 +0100

Le vendredi 14 décembre 2007 à 14:13 +0100, Nicolas Mailhot a écrit :
> Le samedi 15 décembre 2007 à 00:01 +1100, Graeme Gill a écrit :
> 
> > I guess I'm still not following you. The user doesn't directly fool with
> > the kernel module, the application (which knows about the device better
> > than the kernel, and knows how it wants to drive the device) makes
> > that decision.
> 
> You'll have to ask Frédéric, since he actually uses a Huey, and deemed
> the fugly workaround necessary in the first place.

I've just tested the patch (I was writing the same this morning, just
before you sent it :) and I can confirm it works as expected.

> I does seem the Huez does not just work without further intervention

Indeed. Without this patch, usbhid kernel module manages Huey device and
any other access is causing libusb to abort with the following error.

Error - Configuring USB port 'usb:/bus/dev12 (GretaMacbeth Huey) to 1
failed with -16 (could not set config 1: Device or resource busy)

So, we either need an udev rule to "unbind" the device from usbhid (I'm
currently doing that in Mandriva package) or fix the kernel to not
manage Huey with usbhid (I think it is better this way).

-- 
Frederic Crozat <fcrozat@xxxxxxxxxxxx>
Mandriva


Other related posts: