Re: [PATCH 2.6.34-rc7] HID: hid-samsung: add support for CreativeDesktop Wireless 6000

From: Robert Schedel
Date: Sun May 16 2010 - 06:40:51 EST


Hello,

On 16.05.2010 02:32, Don Prince wrote:
> Add support for the Creative Desktop Wireless 6000 keyboard/mouse
> bundle's multimedia buttons which are not currently handled by
> the default/samsung HID driver.
>
> Signed-off-by: Don Prince <dhprince-devel@xxxxxxxxxxx>
>
> ---
> [...]

As originator of the "old" 0419:0001 IrDA driver parts had a short look at it:
- Merging with old code looks OK. Tested with old 0419:0001 (184) device, still functional.
- 0419:0600 not yet known in usb.ids, might be worth a contribution
- As you merged in a new device, and for explaining why this handling was added, my suggestion is to adapt the existing comments, e.g.:

/*
* This driver supports several HID devices:
*
* [0419:0001] Samsung IrDA remote controller (reports as Cypress USB Mouse).
*
* There are several variants:
*
* 1. 184 byte report descriptor
[...]
* [0419:0600] Creative Desktop Wireless 6000 keyboard/mouse combo
*
* Several key mappings used from the consumer usage page
* deviate from the USB HUT 1.12 standard.
*/

Of course some HID maintainer should also review it, for general policy.

Regards,
Robert Schedel
--
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/