[PATCH] hid-core.c, 2.6.13-rc4. (Was: [PATCH] Wireless Security Lock driver).

From: Brian Schau (brian_at_schau.com)
Date: 07/31/05

  • Next message: Tobias: "Re: 2.6.11.3 2.6.11.6 2.6.12 2.6.13rc3 Badness in blk_remove_plug at drivers/block/ll_rw_blk.c:1424"
    Date:	Sun, 31 Jul 2005 17:10:45 +0200
    To: LKML <linux-kernel@vger.kernel.org>
    
    

    Hello,

    I stand corrected. The WSL driver is _not_ needed as it actually is possible
    to use libusb. However, you need this little patch to hid-core.c:

    diff -urN linux-2.6.13-rc4.orig/drivers/usb/input/hid-core.c linux-2.6.13-rc4/drivers/usb/input/hid-core.c
    --- linux-2.6.13-rc4.orig/drivers/usb/input/hid-core.c 2005-07-29 00:44:44.000000000 +0200
    +++ linux-2.6.13-rc4/drivers/usb/input/hid-core.c 2005-07-29 23:21:19.000000000 +0200
    @@ -1375,6 +1375,7 @@
      #define USB_VENDOR_ID_CYPRESS 0x04b4
      #define USB_DEVICE_ID_CYPRESS_MOUSE 0x0001
      #define USB_DEVICE_ID_CYPRESS_HIDCOM 0x5500
    +#define USB_DEVICE_ID_CYPRES_ULTRAMOUSE 0x7417

      #define USB_VENDOR_ID_BERKSHIRE 0x0c98
      #define USB_DEVICE_ID_BERKSHIRE_PCWD 0x1140
    @@ -1465,6 +1466,7 @@
              { USB_VENDOR_ID_CODEMERCS, USB_DEVICE_ID_CODEMERCS_IOW48, HID_QUIRK_IGNORE },
              { USB_VENDOR_ID_CODEMERCS, USB_DEVICE_ID_CODEMERCS_IOW28, HID_QUIRK_IGNORE },
              { USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_HIDCOM, HID_QUIRK_IGNORE },
    + { USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRES_ULTRAMOUSE, HID_QUIRK_IGNORE },
              { USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EARTHMATE, HID_QUIRK_IGNORE },
              { USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EM_LT20, HID_QUIRK_IGNORE },
              { USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5, HID_QUIRK_IGNORE },

    Thanks to Pavel et al for pointing out the obvious! And, I am sorry for
    creating noise on the list (the driver, however, was fun to write, so :-/)

    /brian
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Tobias: "Re: 2.6.11.3 2.6.11.6 2.6.12 2.6.13rc3 Badness in blk_remove_plug at drivers/block/ll_rw_blk.c:1424"

    Relevant Pages