Re: [PATCH v2] HID: Add quirk driver for NTI USB-SUN adapter

From: Jiri Kosina
Date: Mon Mar 06 2017 - 07:18:00 EST


On Wed, 1 Feb 2017, Jonathan Tomer wrote:

> These adapters allow pre-USB Sun keyboards to be connected to USB-only
> machines, but include the wrong maximum keycode in their report
> descriptor, making most of the keys present on Sun keyboards but not
> 101-key PC keyboards nonfunctional.
>
> This patch implements a quirk that overrides the maximum keycode in the
> report descriptor.
>
> Signed-off-by: Jonathan Tomer <jktomer@xxxxxxxxxx>
> ---
> Changes in v2:
> - Remove unneeded guard in Kconfig
> - Simplify registration code by using module_hid_driver() instead of
> module_{init,exit}
> - add MODULE_{AUTHOR,DESCRIPTION}

Applied to for-4.11/nti. Thanks,

--
Jiri Kosina
SUSE Labs