Re: Blacklisting a usbhid device

From: Jiri Slaby
Date: Tue Jul 21 2009 - 17:39:18 EST


On 07/21/2009 10:40 PM, Rick L. Vinyard, Jr. wrote:
> --- a/drivers/hid/usbhid/hid-quirks.c
> +++ b/drivers/hid/usbhid/hid-quirks.c
> @@ -63,6 +63,7 @@ static const struct hid_blacklist {
>
> { USB_VENDOR_ID_WISEGROUP_LTD, USB_DEVICE_ID_SMARTJOY_DUAL_PLUS,
> HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
> { USB_VENDOR_ID_WISEGROUP_LTD2, USB_DEVICE_ID_SMARTJOY_DUAL_PLUS,
> HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
> + { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G13, 0x00000004 },
>
> { 0, 0 }
> };

It's too late for driver base to not bind the device with usbhid. Use
hid_ignore_list in drivers/hid/hid-core.c instead. This list contains
rather quirks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/