public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian Schau <brian@schau.com>
To: vojtech@suse.cz
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.13-rc4] Patch to hid-core.c
Date: Mon, 01 Aug 2005 20:33:53 +0200	[thread overview]
Message-ID: <42EE6B11.7000609@schau.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1647 bytes --]

(Retrying ..)

Hi Vojtech,


Please apply the following patch to hid-core.c.   It adds a device to the
exception-/blacklist.
The device is a Wireless Security Lock (WSL).   The device identifies itself
as a Cypress Ultra Mouse.   It is, however, not a mouse at all and as such,
shouldn't be handled as one, which is why I want to put it on the blacklist.
The patch is also attached as a gzipped archive - it seems that my mailer
screws up from time to time.

--- linux-1.6.13-rc4/drivers/usb/input/hid-core.c.orig	2005-08-01 20:15:05.000000000 +0200
+++ linux-2.6.13-rc4/drivers/usb/input/hid-core.c	2005-07-31 17:06:36.000000000 +0200
@@ -1375,6 +1375,7 @@ void hid_init_reports(struct hid_device
  #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 @@ static struct hid_blacklist {
  	{ 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 },

Signed-off-by:	Brian Schau <brian@schau.com>


/brian

[-- Attachment #2: hid-core-2.6.13-rc4.patch.gz --]
[-- Type: application/x-gzip, Size: 444 bytes --]

                 reply	other threads:[~2005-08-01 18:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42EE6B11.7000609@schau.com \
    --to=brian@schau.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vojtech@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox