* HID Patch for Essential Reality P5 Glove
@ 2003-03-19 18:20 Jason McMullan
2003-03-19 22:17 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Jason McMullan @ 2003-03-19 18:20 UTC (permalink / raw)
To: linux-kernel
This patch adds the Essential Reality P5 data glove to the HID
blacklist. It's yet another device that advertises itself as a HID,
and doesn't comply with the HID specs.
The P5 is an inexpensive ($99 USD) data glove, with 5 finger flexion
sensors and 8 IR location sensors.
A user-space library to access the P5 is available at
http://www.evillabs.net/~jmcc/p5/
--- linux-2.4/drivers/usb/hid-core.c 2003-02-27 13:40:26.000000000 -0500
+++ linux-2.4.new/drivers/usb/hid-core.c 2003-03-16 14:50:36.000000000 -0500
@@ -1093,8 +1113,10 @@
#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;
@@ -1133,7 +1153,8 @@
{ USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 300, HID_QUIRK_IGNORE },
{ 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 }
};
--
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: HID Patch for Essential Reality P5 Glove
2003-03-19 18:20 HID Patch for Essential Reality P5 Glove Jason McMullan
@ 2003-03-19 22:17 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-03-19 22:17 UTC (permalink / raw)
To: Jason McMullan; +Cc: linux-kernel
On Wed, Mar 19, 2003 at 01:20:46PM -0500, Jason McMullan wrote:
>
> This patch adds the Essential Reality P5 data glove to the HID
> blacklist. It's yet another device that advertises itself as a HID,
> and doesn't comply with the HID specs.
I don't seem to be able to apply this patch:
drivers/usb/hid-core.c 1.32: 1360 lines
patching file drivers/usb/hid-core.c
patch: **** malformed patch at line 23: @@ -1133,7 +1153,8 @@
Any thoughts?
Oh, and can you also send a 2.5 version of this?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-19 22:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-19 18:20 HID Patch for Essential Reality P5 Glove Jason McMullan
2003-03-19 22:17 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.