gnupic: Re: possibility to blacklist HID PICKit 1 and PICkit 2
Subject:
Fwd: possibility to blacklist HID PICKit 1 and PICkit 2
From:
"Xiaofan Chen" ####@####.####
Date:
19 Jul 2007 02:42:25 +0100
Message-Id: <a276da400707181842l505aa198j3d9d15352903da4a@mail.gmail.com>
This might be a good news. I will try to do this once I am with my Linux
computer three weeks later.
---------- Forwarded message ----------
From: Greg KH ####@####.####
Date: Jul 18, 2007 8:10 PM
Subject: Re: [linux-usb-devel] [PATCH 70/78] USB: add picdem device to ldu sb
To: Xiaofan Chen
Cc: "Hund, Michael" , Joey Goncalves,
####@####.#### ####@####.####
On Wed, Jul 18, 2007 at 07:43:24PM -0400, Xiaofan Chen wrote:
> On 7/18/07, Greg KH wrote:
> > On Wed, Jul 18, 2007 at 04:28:29PM -0400, Xiaofan Chen wrote:
> > > One more thing, ldusb supports some HID device. How does it prevent
> > > the kernel USBHID driver from claiming it?
> >
> > The usb hid driver has a very large blacklist of devices that are not
> > really HID devices. The ones claimed by this driver are in that list.
> >
>
> I see. Thanks.
>
> Just wondering what is the policy of accepting a
> device into the HID blacklist? Right now we need to detach the
> kernel usbhid driver in various libusb based application for the
> PICkit 1 and PICKit 2 USB Programmers.
>
> #define USB_VENDOR_ID_MICROCHIP 0x04d8
> #define USB_DEVICE_ID_PICKIT1 0x0032
> #define USB_DEVICE_ID_PICKIT2 0x0033
>
> So to blacklist PICKit 1 and 2 is not necessary but might help
> to reduce support and patches to the old application. ;-)
If they are not really hid devices and you don't want the hid driver to
bind to them, we will gladly add them to the blacklist. Just send a
patch to the hid maintainer.
thanks,
greg k-h