Re: [PATCH 1/2] HID: Add driver for Holtek gaming mouse 04d9:a067

From: Jiri Kosina
Date: Tue May 28 2013 - 06:20:29 EST


On Tue, 21 May 2013, Christian Ohm wrote:

> This mouse is sold as Sharkoon Drakonia and Perixx MX-2000 and reports a
> too high usage maximum and logical maximum. This driver fixes the report
> descriptor so those values don't exceed HID_MAX_USAGES.
>
> Signed-off-by: Christian Ohm <chr.ohm@xxxxxxx>
> ---
> drivers/hid/Kconfig | 1 +
> drivers/hid/Makefile | 1 +
> drivers/hid/hid-holtek-mouse.c | 72 ++++++++++++++++++++++++++++++++++++++++
> drivers/hid/hid-ids.h | 1 +
> 4 files changed, 75 insertions(+)
> create mode 100644 drivers/hid/hid-holtek-mouse.c

You also need an entry in hid_have_special_driver[] for the devices in
order for the device <-> driver binding work properly.

I have applied your patches and fixed that omission.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/