public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] HID: Ignore P5 Data Glove (2.4 and 2.5 patches)
@ 2003-03-20 19:53 Jason McMullan
  2003-03-20 22:40 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Jason McMullan @ 2003-03-20 19:53 UTC (permalink / raw)
  To: linux-kernel


  As requested, here are the 2.4 (latest BK tree) and 2.5 (latest bk
  tree) patches to ignore the non-HID Essential Reality Data Glove

  (again, user-space lib to access this device via /proc/bus/usb
   is available at http://www.evillabs.net/~jmcc/p5)

-------------- 2.4 patch --------------------
--- linux-2.4/drivers/usb/hid-core.c	2003-03-20 14:42:49.000000000 -0500
+++ linux-2.4/drivers/usb/hid-core.c.new	2003-03-20 14:46:40.000000000 -0500
@@ -1102,6 +1102,9 @@
 #define USB_VENDOR_ID_OKI		0x070a
 #define USB_VENDOR_ID_OKI_MULITI	0x0007
 
+#define USB_VENDOR_ID_ESSENTIAL_REALITY	0x0d7f
+#define USB_DEVICE_ID_ESSENTIAL_REALITY_P5	0x0100
+
 struct hid_blacklist {
 	__u16 idVendor;
 	__u16 idProduct;
@@ -1142,6 +1145,7 @@
  	{ USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 500, HID_QUIRK_IGNORE },
  	{ USB_VENDOR_ID_TANGTOP, USB_DEVICE_ID_TANGTOP_USBPS2, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_OKI, USB_VENDOR_ID_OKI_MULITI, HID_QUIRK_NOGET },
+	{ USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5, HID_QUIRK_IGNORE },
 	{ 0, 0 }
 };
 

---- end
----------- 2.5 patch -------------------
--- linux-2.5/drivers/usb/input/hid-core.c	2003-03-19 09:30:25.000000000 -0500
+++ linux-2.5/drivers/usb/input/hid-core.c.new	2003-03-20 14:48:42.000000000 -0500
@@ -1334,6 +1334,9 @@
 #define USB_VENDOR_ID_TANGTOP          0x0d3d
 #define USB_DEVICE_ID_TANGTOP_USBPS2   0x0001
 
+#define USB_VENDOR_ID_ESSENTIAL_REALITY	0x0d7f
+#define USB_DEVICE_ID_ESSENTIAL_REALITY_P5	0x0100
+
 struct hid_blacklist {
 	__u16 idVendor;
 	__u16 idProduct;
@@ -1377,6 +1380,7 @@
 	{ USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 400, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 500, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_TANGTOP, USB_DEVICE_ID_TANGTOP_USBPS2, HID_QUIRK_NOGET },
+	{ USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5, HID_QUIRK_IGNORE },
 	{ 0, 0 }
 };
 
---- end
-- 
Jason McMullan, Senior Linux Consultant, Linuxcare, Inc.
412.422.8077 tel, 412.656.3519 cell, 208.694.9206 fax
jmcmullan@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.

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

* Re: [PATCH] HID: Ignore P5 Data Glove (2.4 and 2.5 patches)
  2003-03-20 19:53 [PATCH] HID: Ignore P5 Data Glove (2.4 and 2.5 patches) Jason McMullan
@ 2003-03-20 22:40 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-03-20 22:40 UTC (permalink / raw)
  To: Jason McMullan; +Cc: linux-kernel

On Thu, Mar 20, 2003 at 02:53:05PM -0500, Jason McMullan wrote:
> 
>   As requested, here are the 2.4 (latest BK tree) and 2.5 (latest bk
>   tree) patches to ignore the non-HID Essential Reality Data Glove

Thanks, I've applied these to my 2.4 and 2.5 trees, and will send them
onward soon.

greg k-h

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

end of thread, other threads:[~2003-03-20 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-20 19:53 [PATCH] HID: Ignore P5 Data Glove (2.4 and 2.5 patches) Jason McMullan
2003-03-20 22:40 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox