From mboxrd@z Thu Jan 1 00:00:00 1970 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 C9B4DC04FDF for ; Thu, 3 Aug 2023 13:04:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235957AbjHCNEE (ORCPT ); Thu, 3 Aug 2023 09:04:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235612AbjHCNDx (ORCPT ); Thu, 3 Aug 2023 09:03:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78E213AA4; Thu, 3 Aug 2023 06:03:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (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 dfw.source.kernel.org (Postfix) with ESMTPS id 16C8661D74; Thu, 3 Aug 2023 13:03:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9AC66C433C7; Thu, 3 Aug 2023 13:03:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691067821; bh=9MBD/x9PX7qxFckHCdixUUTaTO7cyLpPi83u6fMtPM8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XddDepCjVUopsU/5Gzq8fI+VwhE0jHJtlULMjblqXlosk4L6c1wX/+6ymE6iPR1nB 65v9J4aguAfxLaePhgKN2H78oFXbZDJyIyP7eVjaoO8g4hRyLjWRefbzi2YnQ2cFDU 2z2lxsQjRS1m095NOAAQgO2bMItuFemhK8goMnnvO52ZZxiN+Wzlae6XZNZYCQVVDy 2d/xZVTGqPUCL0Pa6zi0hRFgkOB1QGj2syuFjAEK84cUA939/jrSaz3r8tCk5zAhN3 5+pa/kzG/Kmmn3x83Sa7dDGns+SuHytY1tn73fiePIpVLUDPxyEXRgrSJTWTZVqSB4 rBqBhICXFNEhQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Stuart Hayhurst , Bastien Nocera , Benjamin Tissoires , Sasha Levin , jikos@kernel.org, benjamin.tissoires@redhat.com, linux-input@vger.kernel.org Subject: [PATCH AUTOSEL 6.1 4/5] HID: logitech-hidpp: Add wired USB id for Logitech G502 Lightspeed Date: Thu, 3 Aug 2023 09:03:32 -0400 Message-Id: <20230803130333.641625-4-sashal@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803130333.641625-1-sashal@kernel.org> References: <20230803130333.641625-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.1.42 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From: Stuart Hayhurst [ Upstream commit a343a7682acc56182d4b54777c358f5ec6d274e7 ] Previously, support for the G502 had been attempted in commit '27fc32fd9417 ("HID: logitech-hidpp: add USB PID for a few more supported mice")' This caused some issues and was reverted by 'addf3382c47c ("Revert "HID: logitech-hidpp: add USB PID for a few more supported mice"")'. Since then, a new version of this mouse has been released (Lightpseed Wireless), and works correctly. This device has support for battery reporting with the driver Signed-off-by: Stuart Hayhurst Reviewed-by: Bastien Nocera Link: https://lore.kernel.org/r/20230630113818.13005-1-stuart.a.hayhurst@gmail.com Signed-off-by: Benjamin Tissoires Signed-off-by: Sasha Levin --- 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 0b4204b9a253c..a3c88e35ac44e 100644 --- a/drivers/hid/hid-logitech-hidpp.c +++ b/drivers/hid/hid-logitech-hidpp.c @@ -4393,6 +4393,8 @@ static const struct hid_device_id hidpp_devices[] = { { /* Logitech G403 Wireless Gaming Mouse over USB */ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC082) }, + { /* Logitech G502 Lightspeed Wireless Gaming Mouse over USB */ + HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC08D) }, { /* Logitech G703 Gaming Mouse over USB */ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC087) }, { /* Logitech G703 Hero Gaming Mouse over USB */ -- 2.40.1