mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: martin f krafft <madduck@madduck.net>
To: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: [PATCH] additional HID_QUIRKS
Date: Thu, 15 Jan 2004 19:56:26 +0100	[thread overview]
Message-ID: <20040115185626.GA1352@piper.madduck.net> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 640 bytes --]

I don't know about the procedure, but could you please add the
attached patch to the 2.6 (and possibly to the 2.4) tree? It
defines a set of HID_QUIRKS to blacklist a number of devices from
hiddev.

If this is not the right way, then please advise me!

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
 
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
 
"those who are faithful know only the trivial side of love:
 it is the faithless who know love's tragedies."
                                                        -- oscar wilde

[-- Attachment #1.2: hid-ignore.diff --]
[-- Type: text/plain, Size: 2512 bytes --]

--- linux-2.6.1/drivers/usb/input/hid-core.c.orig	2004-01-15 19:44:00.000000000 +0100
+++ linux-2.6.1/drivers/usb/input/hid-core.c	2004-01-15 19:52:23.000000000 +0100
@@ -1357,6 +1357,22 @@
 #define USB_VENDOR_ID_BERKSHIRE		0x0c98
 #define USB_DEVICE_ID_BERKSHIRE_PCWD	0x1140
 
+#define USB_VENDOR_ID_PHIDGETS		0x06c2
+#define USB_DEVICE_ID_PHIDGETS_RFID	0x0030
+#define USB_DEVICE_ID_PHIDGETS_4SERVO	0x0038
+#define USB_DEVICE_ID_PHIDGETS_1SERVO	0x0039
+#define USB_DEVICE_ID_PHIDGETS_8SERVO	0x003b
+#define USB_DEVICE_ID_PHIDGETS_IFACE884	0x0040
+#define USB_DEVICE_ID_PHIDGETS_IFACE088	0x0041
+#define USB_DEVICE_ID_PHIDGETS_IFACE_32_32_0	0x0042
+#define USB_DEVICE_ID_PHIDGETS_IFACE_0_256_0	0x0043
+#define USB_DEVICE_ID_PHIDGETS_RECEIVER	0x0048
+#define USB_DEVICE_ID_PHIDGETS_LED	0x0049
+#define USB_DEVICE_ID_PHIDGETS_ENCODER	0x004b
+#define USB_DEVICE_ID_PHIDGETS_POWER	0x004e
+#define USB_DEVICE_ID_PHIDGETS_TEXTLCD	0x0050
+#define USB_DEVICE_ID_PHIDGETS_GRAPHLCD	0x0058
+
 struct hid_blacklist {
 	__u16 idVendor;
 	__u16 idProduct;
@@ -1407,6 +1423,20 @@
 	{ USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU, HID_QUIRK_2WHEEL_MOUSE_HACK },
 	{ USB_VENDOR_ID_BERKSHIRE, USB_DEVICE_ID_BERKSHIRE_PCWD, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_RFID, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_4SERVO, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_1SERVO, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_8SERVO, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_IFACE884, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_IFACE088, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_IFACE_32_32_0, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_IFACE_0_256_0, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_RECEIVER, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_LED, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_ENCODER, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_POWER, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_TEXTLCD, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_PHIDGETS, USB_DEVICE_ID_PHIDGETS_GRAPHLCD, HID_QUIRK_IGNORE },
 	{ 0, 0 }
 };
 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2004-01-15 18:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-15 18:56 martin f krafft [this message]
2004-01-15 19:28 ` please ignore: " martin f krafft

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=20040115185626.GA1352@piper.madduck.net \
    --to=madduck@madduck.net \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®