From 794227415f8f5f395a9ed4269a4ee7a3c34f66a5 Mon Sep 17 00:00:00 2001 From: Jiri Kosina Date: Wed, 11 Mar 2009 11:43:27 +0100 Subject: HID: add support for Kye/Genius Ergo 525V This device sends several buttons in a separate field, which is wrongly described in the report descriptor. Fix it in the following way: - change led usage page to button - report size 8 count 1 becomes report size 1 count 8 - the button usage range changed to 4-7 (the mouse has three buttons in a different field already). Reported-by: Tomas Hanak Signed-off-by: Jiri Kosina --- drivers/hid/hid-dummy.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/hid/hid-dummy.c') diff --git a/drivers/hid/hid-dummy.c b/drivers/hid/hid-dummy.c index 28815fd6c285..74d765f38624 100644 --- a/drivers/hid/hid-dummy.c +++ b/drivers/hid/hid-dummy.c @@ -34,6 +34,9 @@ static int __init hid_dummy_init(void) #ifdef CONFIG_HID_EZKEY_MODULE HID_COMPAT_CALL_DRIVER(ezkey); #endif +#ifdef CONFIG_HID_KYE_MODULE + HID_COMPAT_CALL_DRIVER(kye); +#endif #ifdef CONFIG_HID_GYRATION_MODULE HID_COMPAT_CALL_DRIVER(gyration); #endif -- cgit v1.2.2