From patchwork Sun Nov 18 14:42:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Daniel M. Lambea" X-Patchwork-Id: 10687969 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 63A5513B5 for ; Sun, 18 Nov 2018 14:43:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39FD029C20 for ; Sun, 18 Nov 2018 14:43:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1348A29C9B; Sun, 18 Nov 2018 14:43:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A3A229C20 for ; Sun, 18 Nov 2018 14:43:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726844AbeKSBDb (ORCPT ); Sun, 18 Nov 2018 20:03:31 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:45808 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726746AbeKSBDb (ORCPT ); Sun, 18 Nov 2018 20:03:31 -0500 Received: by mail-wr1-f65.google.com with SMTP id v6so7468277wrr.12 for ; Sun, 18 Nov 2018 06:43:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=YQ8/Gc58p1PbwNBXuh2LExUhPEL7MtxG4w7KgNdUoiw=; b=LneXiHhbN1xsVqX2S3GBRLz2l6CuTA1RKBEejRAIdB+ApzMcJXy5M0SCDKb/Q0oAHI lhpNPQIuYWFkeA1cyyiYW25gcvQziUAVcgKxwgNGs1fpMml/Ac8czTvsaZYfd3OuY3C3 cZgb08UjRrRv6Gq17gJnsf98KYL5gCUYkuE89zWc2ggtOezb6+a2yZuc1kvOCWSZEn9i bELsq13ZULDZeoh7ai0jq5fcQTvTzUUdgJzrC1GC9xWAIQtfl0ih5Wm6ngjfQlgLtXZN /qKTmQ0SvixFAfNdtht5hYuP+3BCEd22CePU1n9cFWHicTMOn9h55ogQRN4AqeMZiXbb oiBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=YQ8/Gc58p1PbwNBXuh2LExUhPEL7MtxG4w7KgNdUoiw=; b=WgMa/oiiXzVzNBaznGS8XPRihVJYYPxy+ir1Fs57tKKNY8PQaGBzUDldvV28XyIzrc 3Dynk0lNFR3pfm5feGidOy1XMcngPF5EK1+NlFPe/A+z+xWT3waYds5Q+3H7zwWJ0bnP XZsMqhHPmR4rfLPG/akYAuSU3RUdhTsU4yRfqr3wtbKSXpo1WidzxFbOYiKUTXI25TEE AdaddAI1pB2C8A+i9WPbRXbEnCX8b0lt8dZ4ZmVf66lqjTbpAgU63IyVm86dvRqpFS/J qg3NHMu04MyIpEn5/aamr3h6xPryIsTKa/yQqSGPthZ44M+ZeoeJuZ4/7dvzyymwDCbz e6Vg== X-Gm-Message-State: AGRZ1gIOz8rjSgub2UQLgkwM5tb+ZObGcfCNX2o/a59qM5yh4Ad/prKA ULtI6JkeXYP6PKqBKUwbu43twhZl X-Google-Smtp-Source: AJdET5dHjcI3u7Yxz96gx1VYL+cGQc4mlYxV6aiy/pgiYT8+yG/9z+irTHK6JykQUUNPbyTcqKgqhA== X-Received: by 2002:adf:afdc:: with SMTP id y28-v6mr14711945wrd.176.1542552181213; Sun, 18 Nov 2018 06:43:01 -0800 (PST) Received: from localhost.localdomain (106.red-83-39-83.dynamicip.rima-tde.net. [83.39.83.106]) by smtp.gmail.com with ESMTPSA id d5sm1704763wrx.22.2018.11.18.06.43.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Nov 2018 06:43:00 -0800 (PST) From: "Daniel M. Lambea" To: Jiri Kosina Cc: Benjamin Tissoires , linux-input@vger.kernel.org Subject: [PATCH] HID: cougar: Add support for Cougar 700K Gaming Keyboard Date: Sun, 18 Nov 2018 14:42:55 +0000 Message-Id: <20181118144255.8507-1-dmlambea@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add USB ID 060b:700a to the list of valid USB IDS for the cougar hid driver. Signed-off-by: Daniel M. Lambea --- drivers/hid/hid-cougar.c | 2 ++ drivers/hid/hid-ids.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-cougar.c b/drivers/hid/hid-cougar.c index 3f0916b64c60..e0bb7b34f3a4 100644 --- a/drivers/hid/hid-cougar.c +++ b/drivers/hid/hid-cougar.c @@ -326,6 +326,8 @@ module_param_cb(g6_is_space, &cougar_g6_is_space_ops, &g6_is_space, 0644); static struct hid_device_id cougar_id_table[] = { { HID_USB_DEVICE(USB_VENDOR_ID_SOLID_YEAR, USB_DEVICE_ID_COUGAR_500K_GAMING_KEYBOARD) }, + { HID_USB_DEVICE(USB_VENDOR_ID_SOLID_YEAR, + USB_DEVICE_ID_COUGAR_700K_GAMING_KEYBOARD) }, {} }; MODULE_DEVICE_TABLE(hid, cougar_id_table); diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index f63489c882bb..69ccda9280d9 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -1010,6 +1010,7 @@ #define USB_VENDOR_ID_SOLID_YEAR 0x060b #define USB_DEVICE_ID_COUGAR_500K_GAMING_KEYBOARD 0x500a +#define USB_DEVICE_ID_COUGAR_700K_GAMING_KEYBOARD 0x700a #define USB_VENDOR_ID_SOUNDGRAPH 0x15c2 #define USB_DEVICE_ID_SOUNDGRAPH_IMON_FIRST 0x0034