HID Patch for Essential Reality P5 Glove
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/
drivers/usb/hid-core.c +3 -0
@@ -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 0x0100struct 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 } };
Signature · 4 lines
Jason McMullan, Senior Linux Consultant, Linuxcare, Inc. 412.422.8077 tel, 412.656.3519 cell, 208.694.9206 fax [email protected], http://www.linuxcare.com/ Linuxcare. Support for the revolution.
Quoted 4 lines · Jason McMullan
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