* [PATCH] usb/hid: Blacklist the Gretag-Macbeth Huey display colorimeter [not found] ` <20071214053853.GD7765-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> @ 2007-12-14 10:04 ` Nicolas Mailhot [not found] ` <47626D00.202@argyllcms.com> [not found] ` <1197626696.5281.5.camel-mHT02fcw9gwi5CQI31g/s0B+6BGkLq7r@public.gmane.org> 0 siblings, 2 replies; 5+ messages in thread From: Nicolas Mailhot @ 2007-12-14 10:04 UTC (permalink / raw) To: jkosina-AlSwsSmVLrQ Cc: linux-input-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, argyllcms-uGLqWuYN4qMgsBAKwltoeQ, Frederic Crozat, Greg KH Le jeudi 13 décembre 2007 à 21:38 -0800, Greg KH a écrit : > On Thu, Dec 13, 2007 at 11:37:40PM +0100, Nicolas Mailhot wrote: > > The Gretag-Macbeth Huey display colorimeter claims to be an HID device > > but isn't. As a result the linux HID device will claim it, preventing > > FLOSS software like Argyll CMS (http://www.argyllcms.com/) from talking > > to it, > > Frédéric Crozat from Mandriva has such a device and may provide more > > info. > Care to make up a patch as per the Documentation/SubmittingPatches file > and send it to this list and the HID driver maintainer? That way you > get the proper credit for this change. The things I do as a public service, I don't even have the damn Huey myself:( There seems to be some complains about libusb BTW (http://www.freelists.org/archives/argyllcms/12-2007/msg00068.html) Signed-off-by: Nicolas Mailhot <nicolas.mailhot-QFKgK+z4sOrR7s880joybQ@public.gmane.org> diff -uNr linux-2.6.24-rc5.orig/drivers/hid/usbhid/hid-quirks.c linux-2.6.24-rc5/drivers/hid/usbhid/hid-quirks.c --- linux-2.6.24-rc5.orig/drivers/hid/usbhid/hid-quirks.c 2007-12-11 04:48:43.000000000 +0100 +++ linux-2.6.24-rc5/drivers/hid/usbhid/hid-quirks.c 2007-12-14 10:41:01.000000000 +0100 @@ -85,6 +85,9 @@ #define USB_VENDOR_ID_CHIC 0x05fe #define USB_DEVICE_ID_CHIC_GAMEPAD 0x0014 +#define USB_VENDOR_ID_GRETAGMACBETH 0x0971 +#define USB_DEVICE_ID_GRETAGMACBETH_HUEY 0x2005 + #define USB_VENDOR_ID_CIDC 0x1677 #define USB_VENDOR_ID_CMEDIA 0x0d8c @@ -423,6 +426,7 @@ { USB_VENDOR_ID_GOTOP, USB_DEVICE_ID_SUPER_Q2, HID_QUIRK_IGNORE }, { USB_VENDOR_ID_GOTOP, USB_DEVICE_ID_GOGOPEN, HID_QUIRK_IGNORE }, { USB_VENDOR_ID_GOTOP, USB_DEVICE_ID_PENPOWER, HID_QUIRK_IGNORE }, + { USB_VENDOR_ID_GRETAGMACBETH, USB_DEVICE_ID_GRETAGMACBETH_HUEY, HID_QUIRK_IGNORE }, { USB_VENDOR_ID_GRIFFIN, USB_DEVICE_ID_POWERMATE, HID_QUIRK_IGNORE }, { USB_VENDOR_ID_GRIFFIN, USB_DEVICE_ID_SOUNDKNOB, HID_QUIRK_IGNORE }, -- Nicolas Mailhot - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <47626D00.202@argyllcms.com>]
[parent not found: <47626D00.202-EIh15nvPrVWakBO8gow8eQ@public.gmane.org>]
* Re: [argyllcms] Re: [PATCH] usb/hid: Blacklist the Gretag-Macbeth Huey display colorimeter [not found] ` <47626D00.202-EIh15nvPrVWakBO8gow8eQ@public.gmane.org> @ 2007-12-14 12:16 ` Nicolas Mailhot [not found] ` <1197634579.2766.8.camel-mHT02fcw9gwi5CQI31g/s0B+6BGkLq7r@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Nicolas Mailhot @ 2007-12-14 12:16 UTC (permalink / raw) To: argyllcms-uGLqWuYN4qMgsBAKwltoeQ Cc: linux-input-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Frederic Crozat, Greg KH, jkosina-AlSwsSmVLrQ [-- Attachment #1: Type: text/plain, Size: 1506 bytes --] Le vendredi 14 décembre 2007 à 22:46 +1100, Graeme Gill a écrit : > Nicolas Mailhot wrote: > > >>Care to make up a patch as per the Documentation/SubmittingPatches file > >>and send it to this list and the HID driver maintainer? That way you > >>get the proper credit for this change. > > > > The things I do as a public service, I don't even have the damn Huey > > myself:( > > Actually (to put it frankly), I'm amazed that this exceptions list is > compiled into the driver. I would have thought that such a list should > at least be in a configuration file that an installed application can > add or delete, if not something more sophisticated. Something more sophisticated will happen someday, this is what we have now. > What will happen if the > HID driver is fixed to allow arbitrary messages, and I want to switch > back to using it rather than libusb ? Then the person doing the HID code fix should remove the blacklist entry at the same time. > And the question still remains as to why usb_detach_kernel_driver_np() > works fine on some systems (ie. the one I'm testing on), and not (apparently) > others. I'm not saying it does not work, I'm saying I don't want my users to fool with kernel modules when we know the default should not be HID for huey right now. If you prefer enhancing the kernel HID driver, and switching argyll to it, just do it. I don't care as long as I don't have to maintain workarounds distro-side. -- Nicolas Mailhot [-- Attachment #2: Ceci est une partie de message numériquement signée --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <1197634579.2766.8.camel-mHT02fcw9gwi5CQI31g/s0B+6BGkLq7r@public.gmane.org>]
* Re: [argyllcms] Re: [PATCH] usb/hid: Blacklist the Gretag-Macbeth Huey display colorimeter [not found] ` <1197634579.2766.8.camel-mHT02fcw9gwi5CQI31g/s0B+6BGkLq7r@public.gmane.org> @ 2007-12-16 16:59 ` Jiri Kosina 2007-12-17 11:07 ` Nicolas Mailhot 0 siblings, 1 reply; 5+ messages in thread From: Jiri Kosina @ 2007-12-16 16:59 UTC (permalink / raw) To: Nicolas Mailhot Cc: argyllcms-uGLqWuYN4qMgsBAKwltoeQ, linux-input-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Frederic Crozat, Greg KH On Fri, 14 Dec 2007, Nicolas Mailhot wrote: > > Actually (to put it frankly), I'm amazed that this exceptions list is > > compiled into the driver. I would have thought that such a list should > > at least be in a configuration file that an installed application can > > add or delete, if not something more sophisticated. > Something more sophisticated will happen someday, this is what we have > now. There is also possibility (for quite a few releases already) to change the quirk list in runtime. See the 'quirk' parameter to the usbhid module. > > What will happen if the HID driver is fixed to allow arbitrary > > messages, and I want to switch back to using it rather than libusb ? What exactly is the problem here? I didn't seem to catch the beginning of the thread (or it happened off the list I am subscribed to). I will apply the patch to my tree, thanks. -- Jiri Kosina SUSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [argyllcms] Re: [PATCH] usb/hid: Blacklist the Gretag-Macbeth Huey display colorimeter 2007-12-16 16:59 ` Jiri Kosina @ 2007-12-17 11:07 ` Nicolas Mailhot 0 siblings, 0 replies; 5+ messages in thread From: Nicolas Mailhot @ 2007-12-17 11:07 UTC (permalink / raw) To: Jiri Kosina Cc: argyllcms, linux-input, linux-usb, linux-kernel, Frederic Crozat, Greg KH [-- Attachment #1: Type: text/plain, Size: 858 bytes --] [Replying twice because I replied to the wrong message at first] Le dimanche 16 décembre 2007 à 17:59 +0100, Jiri Kosina a écrit : > What exactly is the problem here? I didn't seem to catch the beginning of > the thread (or it happened off the list I am subscribed to). For more info on usb colorimeter problems you can check http://www.freelists.org/archives/argyllcms/12-2007/ It seems Graeme Gill, the Argyll CMS author has hit several linux usb problems over the years but has not coordinated well with the Linux usb maintainers. We're finding all the ugly bits now that we're trying to meger Argyll CMS in various distributions (Fedora, Mandriva, Ubuntu, etc) It's a bit difficult to follow this thread because the argyllcms list is killing CCs and not everyone is putting them back in. Regards, -- Nicolas Mailhot [-- Attachment #2: Ceci est une partie de message numériquement signée --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <1197626696.5281.5.camel-mHT02fcw9gwi5CQI31g/s0B+6BGkLq7r@public.gmane.org>]
* Re: [PATCH] usb/hid: Blacklist the Gretag-Macbeth Huey display colorimeter [not found] ` <1197626696.5281.5.camel-mHT02fcw9gwi5CQI31g/s0B+6BGkLq7r@public.gmane.org> @ 2007-12-14 15:28 ` Frederic Crozat 0 siblings, 0 replies; 5+ messages in thread From: Frederic Crozat @ 2007-12-14 15:28 UTC (permalink / raw) To: Nicolas Mailhot Cc: jkosina-AlSwsSmVLrQ, linux-input-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, argyllcms-uGLqWuYN4qMgsBAKwltoeQ, Greg KH Le vendredi 14 décembre 2007 à 11:04 +0100, Nicolas Mailhot a écrit : > Le jeudi 13 décembre 2007 à 21:38 -0800, Greg KH a écrit : > > On Thu, Dec 13, 2007 at 11:37:40PM +0100, Nicolas Mailhot wrote: > > > > The Gretag-Macbeth Huey display colorimeter claims to be an HID device > > > but isn't. As a result the linux HID device will claim it, preventing > > > FLOSS software like Argyll CMS (http://www.argyllcms.com/) from talking > > > to it, > > > > Frédéric Crozat from Mandriva has such a device and may provide more > > > info. > > > Care to make up a patch as per the Documentation/SubmittingPatches file > > and send it to this list and the HID driver maintainer? That way you > > get the proper credit for this change. > > The things I do as a public service, I don't even have the damn Huey > myself:( > > There seems to be some complains about libusb BTW > (http://www.freelists.org/archives/argyllcms/12-2007/msg00068.html) > > > Signed-off-by: Nicolas Mailhot <nicolas.mailhot-QFKgK+z4sOrR7s880joybQ@public.gmane.org> > > diff -uNr linux-2.6.24-rc5.orig/drivers/hid/usbhid/hid-quirks.c linux-2.6.24-rc5/drivers/hid/usbhid/hid-quirks.c > --- linux-2.6.24-rc5.orig/drivers/hid/usbhid/hid-quirks.c 2007-12-11 04:48:43.000000000 +0100 > +++ linux-2.6.24-rc5/drivers/hid/usbhid/hid-quirks.c 2007-12-14 10:41:01.000000000 +0100 > @@ -85,6 +85,9 @@ > #define USB_VENDOR_ID_CHIC 0x05fe > #define USB_DEVICE_ID_CHIC_GAMEPAD 0x0014 > > +#define USB_VENDOR_ID_GRETAGMACBETH 0x0971 > +#define USB_DEVICE_ID_GRETAGMACBETH_HUEY 0x2005 > + > #define USB_VENDOR_ID_CIDC 0x1677 > > #define USB_VENDOR_ID_CMEDIA 0x0d8c > @@ -423,6 +426,7 @@ > { USB_VENDOR_ID_GOTOP, USB_DEVICE_ID_SUPER_Q2, HID_QUIRK_IGNORE }, > { USB_VENDOR_ID_GOTOP, USB_DEVICE_ID_GOGOPEN, HID_QUIRK_IGNORE }, > { USB_VENDOR_ID_GOTOP, USB_DEVICE_ID_PENPOWER, HID_QUIRK_IGNORE }, > + { USB_VENDOR_ID_GRETAGMACBETH, USB_DEVICE_ID_GRETAGMACBETH_HUEY, HID_QUIRK_IGNORE }, > { USB_VENDOR_ID_GRIFFIN, USB_DEVICE_ID_POWERMATE, HID_QUIRK_IGNORE }, > { USB_VENDOR_ID_GRIFFIN, USB_DEVICE_ID_SOUNDKNOB, HID_QUIRK_IGNORE }, Fixes the issue for me : Tested-by: Frederic Crozat <fcrozat-4qZELD6FgxhWk0Htik3J/w@public.gmane.org> -- Frederic Crozat <fcrozat-4qZELD6FgxhWk0Htik3J/w@public.gmane.org> Mandriva - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-12-17 11:07 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1197585460.28927.2.camel@rousalka.dyndns.org> [not found] ` <20071214053853.GD7765@kroah.com> [not found] ` <20071214053853.GD7765-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> 2007-12-14 10:04 ` [PATCH] usb/hid: Blacklist the Gretag-Macbeth Huey display colorimeter Nicolas Mailhot [not found] ` <47626D00.202@argyllcms.com> [not found] ` <47626D00.202-EIh15nvPrVWakBO8gow8eQ@public.gmane.org> 2007-12-14 12:16 ` [argyllcms] " Nicolas Mailhot [not found] ` <1197634579.2766.8.camel-mHT02fcw9gwi5CQI31g/s0B+6BGkLq7r@public.gmane.org> 2007-12-16 16:59 ` Jiri Kosina 2007-12-17 11:07 ` Nicolas Mailhot [not found] ` <1197626696.5281.5.camel-mHT02fcw9gwi5CQI31g/s0B+6BGkLq7r@public.gmane.org> 2007-12-14 15:28 ` Frederic Crozat
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).