From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D06141FC7C7; Mon, 28 Oct 2024 10:53:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730112780; cv=none; b=LHFdf7k01lZkEpyh8JvBx38iE+5KlUiLX2bFcbDIhttFBznCF6xtrW26Nsod/CAzB6ROMNienz105SnyQlsY6kWjyxJ3MNNGuvd1pKaJn9ponG0Z/piYqDRKcaw8R5j3N5HQyPV1KQPCzTfrpj622bBnkurian7BxNCw5BeS6bw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730112780; c=relaxed/simple; bh=f0WiIDz9o9IIBjCw/P/9Q2bibhLXoMOiZhNT77Arnu8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=P/CEF47v+RwcwhCE0bi98hn8SdcCosZVAZfH7vF8BUuB6srCYci67o7HgISBJh7DQ8x8fWZFRpBEddgoyKiYeK3GSjUnLow/AAADgHN4XLOD/fPXsrPxA6qRmifjMr1gX7h4IehTh+gBcDyX7O5RECwGMvfb5hWQboGzkhMgL0U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pEwNWQZP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pEwNWQZP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCD4DC4CEE4; Mon, 28 Oct 2024 10:52:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730112780; bh=f0WiIDz9o9IIBjCw/P/9Q2bibhLXoMOiZhNT77Arnu8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pEwNWQZPlsjifM51rC8kRRdrnB50s/U/WoPHnNV7YkGs8iRhah1I5bZUr+LOJpGgi oIr86DTNwRIe2xlMynUDFMX1fSBPLcn0cqxNUo59JzgsK6omNibX04edlucsV3az9G 4OpjPw5ztZ9OOM+vL6obLOXQ8syTf6hi2rwQa3asPvn15iY8zUhP8iKu9GkK9bi+pU owInmWEYbjplwtSUPsWltxQtNyYQksy/ngV9TLEMVThcCeG6FxMHJ1Y5FCalamOpFn SR2SkFK51pQy+NCpHmHTtM+etAC67rHRIGCwwe3EVqOzAgEdSRCY3/svhnRcE7AVex cJTlyjFxGfyeQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Kenneth Albanowski , Jiri Kosina , Sasha Levin , jikos@kernel.org, bentiss@kernel.org, linux-input@vger.kernel.org Subject: [PATCH AUTOSEL 6.1 4/8] HID: multitouch: Add quirk for Logitech Bolt receiver w/ Casa touchpad Date: Mon, 28 Oct 2024 06:52:45 -0400 Message-ID: <20241028105252.3560220-4-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241028105252.3560220-1-sashal@kernel.org> References: <20241028105252.3560220-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.1.114 Content-Transfer-Encoding: 8bit From: Kenneth Albanowski [ Upstream commit 526748b925185e95f1415900ee13c2469d4b64cc ] The Logitech Casa Touchpad does not reliably send touch release signals when communicating through the Logitech Bolt wireless-to-USB receiver. Adjusting the device class to add MT_QUIRK_NOT_SEEN_MEANS_UP to make sure that no touches become stuck, MT_QUIRK_FORCE_MULTI_INPUT is not needed, but harmless. Linux does not have information on which devices are connected to the Bolt receiver, so we have to enable this for the entire device. Signed-off-by: Kenneth Albanowski Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-multitouch.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index f3b183a7b7fa4..f1c106f5e90b9 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -859,6 +859,7 @@ #define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1 0xc539 #define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_1 0xc53f #define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_POWERPLAY 0xc53a +#define USB_DEVICE_ID_LOGITECH_BOLT_RECEIVER 0xc548 #define USB_DEVICE_ID_SPACETRAVELLER 0xc623 #define USB_DEVICE_ID_SPACENAVIGATOR 0xc626 #define USB_DEVICE_ID_DINOVO_DESKTOP 0xc704 diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index e7199ae2e3d91..8800893b098bf 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -2131,6 +2131,10 @@ static const struct hid_device_id mt_devices[] = { HID_DEVICE(BUS_BLUETOOTH, HID_GROUP_MULTITOUCH_WIN_8, USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_CASA_TOUCHPAD) }, + { .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT_NSMU, + HID_DEVICE(BUS_USB, HID_GROUP_MULTITOUCH_WIN_8, + USB_VENDOR_ID_LOGITECH, + USB_DEVICE_ID_LOGITECH_BOLT_RECEIVER) }, /* MosArt panels */ { .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE, -- 2.43.0