mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] additional HID_QUIRKS
@ 2004-01-15 18:56 martin f krafft
  2004-01-15 19:28 ` please ignore: " martin f krafft
  0 siblings, 1 reply; 2+ messages in thread
From: martin f krafft @ 2004-01-15 18:56 UTC (permalink / raw)
  To: linux kernel mailing list


[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* please ignore: [PATCH] additional HID_QUIRKS
  2004-01-15 18:56 [PATCH] additional HID_QUIRKS martin f krafft
@ 2004-01-15 19:28 ` martin f krafft
  0 siblings, 0 replies; 2+ messages in thread
From: martin f krafft @ 2004-01-15 19:28 UTC (permalink / raw)
  To: linux kernel mailing list

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

also sprach martin f krafft <madduck@madduck.net> [2004.01.15.1956 +0100]:
> 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.

I was a little too fast in submitting this. Please ignore this patch
for now. I will get back to you when it's final.

Sorry for the inconvenience and noise.

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
 
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-15 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-15 18:56 [PATCH] additional HID_QUIRKS martin f krafft
2004-01-15 19:28 ` please ignore: " martin f krafft

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®