Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3400754rwo; Mon, 24 Jul 2023 10:24:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlEK6iLB8xvCz0ZwX/YWBd10Wi88WO6OaKQc9ksu0hJiVza1SUKwcyDYUMMJqSa/TraEJyDS X-Received: by 2002:a05:6402:744:b0:522:37da:7920 with SMTP id p4-20020a056402074400b0052237da7920mr1925281edy.12.1690219462699; Mon, 24 Jul 2023 10:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690219462; cv=none; d=google.com; s=arc-20160816; b=Ltv9x38NWwl427zu+Jp7fFLPFe8oBce4YzLJ55rQ/B/7/mK65f4/0d0qdvDhkp4EAY BvdzSrO+JCwp6ecEYl6uxBpu3nsJAvpm7iquhPJEUmwLqQtRom29UyzC00f/zs/Ftx6i EeJP/GDHJOZPTiqPM65L91nvmVLJHq0s1FcawPyIbs1DJW27nCL0DbOaMasaSg8Tdlsc FP839SROhjERxr0fSOYhu9ZlHPHsdbIQAfLVZkxR0Mutkc3vo8fKmGbJgWnDzhUj/y/s wVt87Z9OxTFfDM6SYEad483DYESwexk1NHIdJrbNE33ZWStiuonwRSSXyArCQQkrkdSB fpVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=lETwx4XOcgBXYSAq8+InvXHv6a3bN4B1hG8UT7IPlj0=; fh=eGH/RXpvYa3PqBHwge9a81e/1yjjQBrCIozZj5KBM9o=; b=AwSHWb3rDbXe8SXyWRvR1yHNkLzcl92MhQAes7Hg/l4ldfrt7nPBP5Xq9Hvf8Lmrs3 pI9SanH429V/r1itLCj3CrmOF81GUhCzs3T1YtxitnwgjKtv+wcRg+iuKQ68scVs5S/x 2InOp6VuwepUtL6uOiiEncifBo9IiX+6W1nsMVhB7a36VgMx5sDDoLOctqGXvs8bu9+A eARpYLhOVdwlIAdx6za3QDhI5Hpmcy3c/WF9JQ6egSLL7Mv/MluPS9tZMVZXfXA6JOkp F1grtdTd3sXuFl2Q7h/jpxL1IAGKk6/5g52caLHL8hrJ/47KzsnZpErzTltILhr7pqgr nMtQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e15-20020aa7d7cf000000b0051bfc8561e1si6842653eds.281.2023.07.24.10.23.57; Mon, 24 Jul 2023 10:24:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbjGXQsV (ORCPT + 99 others); Mon, 24 Jul 2023 12:48:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229550AbjGXQsU (ORCPT ); Mon, 24 Jul 2023 12:48:20 -0400 X-Greylist: delayed 600 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 24 Jul 2023 09:48:16 PDT Received: from h8.fbrelay.privateemail.com (h8.fbrelay.privateemail.com [162.0.218.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1701C10FF; Mon, 24 Jul 2023 09:48:15 -0700 (PDT) Received: from MTA-08-4.privateemail.com (unknown [198.54.122.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by h7.fbrelay.privateemail.com (Postfix) with ESMTPSA id D02F8604DA; Mon, 24 Jul 2023 12:31:06 -0400 (EDT) Received: from mta-08.privateemail.com (localhost [127.0.0.1]) by mta-08.privateemail.com (Postfix) with ESMTP id 8695618000A1; Mon, 24 Jul 2023 12:31:03 -0400 (EDT) Received: from hal-station.. (unknown [76.66.148.229]) by mta-08.privateemail.com (Postfix) with ESMTPA id 9F751180007F; Mon, 24 Jul 2023 12:30:56 -0400 (EDT) From: Hamza Mahfooz To: linux-kernel@vger.kernel.org Cc: Hamza Mahfooz , =?UTF-8?q?Filipe=20La=C3=ADns?= , Bastien Nocera , Jiri Kosina , Benjamin Tissoires , linux-input@vger.kernel.org Subject: [PATCH] HID: logitech-hidpp: add support for the Logitech G Pro X mouse Date: Mon, 24 Jul 2023 12:30:32 -0400 Message-ID: <20230724163032.15226-1-someguy@effective-light.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Logitech G Pro X mouse uses the HID++ protocol and supports battery reporting. So, add it to the list of supported devices. Signed-off-by: Hamza Mahfooz --- drivers/hid/hid-logitech-hidpp.c | 2 ++ 1 file changed, 2 insertions(+) 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), -- 2.41.0