From patchwork Sun Jul 16 18:23:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mavroudis Chatzilazaridis X-Patchwork-Id: 703598 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 539EFC0015E for ; Sun, 16 Jul 2023 18:24:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229936AbjGPSYC (ORCPT ); Sun, 16 Jul 2023 14:24:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjGPSYB (ORCPT ); Sun, 16 Jul 2023 14:24:01 -0400 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BDF01B1 for ; Sun, 16 Jul 2023 11:24:00 -0700 (PDT) Date: Sun, 16 Jul 2023 18:23:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1689531836; x=1689791036; bh=YbnC/ao1sJ0SEeVgWN8yzejyjpAjHfef0xMigHZll8E=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=SdkNl7U3qSH0PC2n4vrQ4WLKxqJMCvMNJmrukNXhcgXr4bXPYBqxc++vbNCs0pOhJ ax0mtrM4+bQqDKFttmzx27Jnf6CHWxyLBmI/2ExSuLnJfwTEFE8O3ZjIh/wekQhux8 MPTqdQL4QvToHcB7l9/XPbhW8cpTqYdsAGYP2PbF853a06lGHI1RKBcK2gF89FFW0L bsrlBfDQKrLyax6C/wncBrQx+8e6MihanPL4UxHrS9k+2C4ONWD+wuTrnY8UjMocBr UMvhFrhjLT7gb5GjBIh6DYtwg1w0NWSvzlCxO70/kxIhg09hAF5FgWu+OcAnxvuVKX U6iqsLzpmYgxA== To: jikos@kernel.org From: Mavroudis Chatzilazaridis Cc: linux-input@vger.kernel.org, benjamin.tissoires@redhat.com, lains@riseup.net, hadess@hadess.net, Mavroudis Chatzilazaridis Subject: [PATCH v2 2/2] HID: logitech-hidpp: Add support for the Pro X Superlight Message-ID: <20230716182320.85483-2-mavchatz@protonmail.com> In-Reply-To: <20230716182320.85483-1-mavchatz@protonmail.com> References: <20230716182320.85483-1-mavchatz@protonmail.com> Feedback-ID: 20039310:user:proton MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org This patch adds support for the Pro X Superlight over wired USB. The device now reports the status of its battery. Co-developed-by: Filipe Laíns Signed-off-by: Filipe Laíns Signed-off-by: Mavroudis Chatzilazaridis Reviewed-by: Bastien Nocera --- V1 -> V2: Addressed review comment for commit message drivers/hid/hid-logitech-hidpp.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.34.1 diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c index 129b01be488d..34fc4f7b254a 100644 --- a/drivers/hid/hid-logitech-hidpp.c +++ b/drivers/hid/hid-logitech-hidpp.c @@ -4620,6 +4620,8 @@ static const struct hid_device_id hidpp_devices[] = { .driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS }, { /* Logitech G Pro Gaming Mouse over USB */ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC088) }, + { /* Logitech G Pro X Superlight Gaming Mouse over USB */ + HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC094) }, { /* G935 Gaming Headset */ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0x0a87),