lkml.org 
[lkml]   [2013]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] HID: Add driver for Holtek gaming mouse 04d9:a067
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@gmx.net>
> ---
> 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


\
 
 \ /
  Last update: 2013-05-28 13:01    [W:0.058 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site