diff mbox

Problem with Acer Bluetooth Optical Rechargeable Mouse

Message ID 200908132052.01012.lamarque@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lamarque Vieira Souza Aug. 13, 2009, 11:52 p.m. UTC
I think  I have found a good solution for my problem, see the attached patch. 
I just need to find a better name for the define USB_DEVICE_ID_KYE_58.
diff mbox

Patch

diff -Nru --show-c-function a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
--- a/drivers/hid/hid-core.c	2009-08-13 20:45:11.000000000 -0300
+++ b/drivers/hid/hid-core.c	2009-08-13 20:46:12.000000000 -0300
@@ -1636,6 +1636,7 @@  static const struct hid_device_id hid_ig
 	{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_1_PHIDGETSERVO_20) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_8_8_4_IF_KIT) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_YEALINK, USB_DEVICE_ID_YEALINK_P1K_P4K_B2K) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_58) },
 	{ }
 };
 
diff -Nru --show-c-function a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
--- a/drivers/hid/hid-ids.h	2009-08-13 20:45:04.000000000 -0300
+++ b/drivers/hid/hid-ids.h	2009-08-13 20:51:24.172588296 -0300
@@ -434,6 +434,7 @@ 
 #define USB_VENDOR_ID_KYE		0x0458
 #define USB_DEVICE_ID_KYE_ERGO_525V	0x0087
 #define USB_DEVICE_ID_KYE_GPEN_560	0x5003
+#define USB_DEVICE_ID_KYE_58		0x0058
 
 
 #endif