summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-quirks.c
diff options
context:
space:
mode:
authorNiels Skou Olsen <nolsen@jabra.com>2017-10-04 12:31:22 +0200
committerJiri Kosina <jkosina@suse.cz>2017-11-21 12:54:58 +0100
commit19ca28271c9a361629eb06382a43f355249de7ea (patch)
tree2ac21dc87d72be0d3e9c852f5521b29a3dae9b6b /drivers/hid/hid-quirks.c
parentHID: Ignore Jabra HID interface based on firmware version (diff)
downloadlinux-19ca28271c9a361629eb06382a43f355249de7ea.tar.xz
linux-19ca28271c9a361629eb06382a43f355249de7ea.zip
HID: Add special driver for Jabra devices
Add a hid-jabra driver to the list of special drivers in hid-core. The driver prevents vendor defined HID usages (FF00-FFFF) in Jabra devices from being mapped to input events, that become unintended mouse events in the X11 server. Signed-off-by: Niels Skou Olsen <nolsen@jabra.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-quirks.c')
-rw-r--r--drivers/hid/hid-quirks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c
index d57a22432957..015e0c10248b 100644
--- a/drivers/hid/hid-quirks.c
+++ b/drivers/hid/hid-quirks.c
@@ -384,6 +384,9 @@ static const struct hid_device_id hid_have_special_driver[] = {
#if IS_ENABLED(CONFIG_HID_ICADE)
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ION, USB_DEVICE_ID_ICADE) },
#endif
+#if IS_ENABLED(CONFIG_HID_JABRA)
+ { HID_USB_DEVICE(USB_VENDOR_ID_JABRA, HID_ANY_ID) },
+#endif
#if IS_ENABLED(CONFIG_HID_KENSINGTON)
{ HID_USB_DEVICE(USB_VENDOR_ID_KENSINGTON, USB_DEVICE_ID_KS_SLIMBLADE) },
#endif