From nobody Thu Nov 28 02:39:37 2024 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11FC715B984 for ; Fri, 4 Oct 2024 17:24:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728062680; cv=none; b=rgTHvP/+spXgdT1My7Oz3cVWzr5770iZVvo1bQOOXnAFHY148lbmq89Wdsa9A8isxTz4FuqqN71ENtDChfBwMamIhOrFqLMYNIvF4wWkdnsHq4yRUQXXcCFIev+MKaRqynMRsACWEVV62dDhkw5328YuAlqup0Cmv/8mOvLB7i8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728062680; c=relaxed/simple; bh=WBUEm231XggB4DjsI1kKzX6lb6Qv2wdaTxUXmNFPvqM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FEzMaIFpxglyLopk347gl63t+KM/+U3J23gEmwQ+x40GUMLtmaYLNT20P3CRTKxA5SMDs6Jcz6o/IZ4ShfD0ieEcLfH2BKOXgXxtUExjMYCPsIrbybhZEPtb+kxOGDa3J9Ug7Pt6BerfT28HZV4aqQ4x4qxQvOXGGtT4O1R15Jw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=kqi93/3c; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="kqi93/3c" Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-20b95359440so21708485ad.0 for ; Fri, 04 Oct 2024 10:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1728062678; x=1728667478; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JfPDqk3U8PSTNFTg3vYc/v2JFHCSEwqe3iTNavlxTFQ=; b=kqi93/3c4IIXzIMP0rp3o6hQ4KBr0OlZJKuOsduKyvZkRuZvKqRVh5P3i+BQNlM65s Vn0vfjyf9h4mBtwRep/5ioRJ+ZupZaOfk0z5a4Phj2f6wkEnIsdYrr8uLi6Js/HxdTGY tizCRqapjXYIcgl/sJvgQKkiYYuv1ospNZ8HI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728062678; x=1728667478; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JfPDqk3U8PSTNFTg3vYc/v2JFHCSEwqe3iTNavlxTFQ=; b=rwgvTQFzf+k3ts0S3O4kyZfmD7kJNbCy0uAF3QP8pNpJZkWzxAd5DBjzwrc3JH8S7L eUIFu/2/jL0wEXPeGK1Kj2oegq2iduxYJvUbZeblVSgtVRRoJbWnTrRRsvODqza+42Qz ke4sYspUWKG5J0ORsEBvQWJTWkdYv6dE+Ai0z6AFjZee6YJYC+zqAiejy0FUkIi9EFno nBd68BO81btp1MFGD9tF1zIbcRytnGPgPw9spRzXRt3Ukb6fZ1O5SazpT9iPG5DZy9wi Zn4GgdaO+zc0+6nCdw29qpACYuWnvxhH5iTn0tIyy6IEXMXUC9Wd1GalXgZi2NMdueu4 imVg== X-Forwarded-Encrypted: i=1; AJvYcCUz+J29ezbDmlWPGZMGd2YoNdvWcUSh/3KILnocQnGTp4x1/UKoNPEX2FL0oNQcijzO7j3GHV0buqUTnn8=@vger.kernel.org X-Gm-Message-State: AOJu0Yywdttx7tgOEOrxp/K82Ssv4tmFoC+kGh+fRNIhCjLSQ/Utg3MP 7p42Pb4R161gMX8G7kHRsW2ZGHNa4ebvIPdTI5NYjj/QJZl34FGiFMm3K5dEjQ== X-Google-Smtp-Source: AGHT+IFObaZACplJiv5YkoEQsCoFpl7ig2wihQyzVdhraEPOdDKHeKEPUCKLTtF4FtiqLiFmW4JozA== X-Received: by 2002:a17:903:18a:b0:20b:7d09:8c86 with SMTP id d9443c01a7336-20bfe49666fmr56055665ad.38.1728062678433; Fri, 04 Oct 2024 10:24:38 -0700 (PDT) Received: from localhost ([2620:15c:9d:2:df8:441c:aa40:f4b0]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-20c139a408csm899515ad.307.2024.10.04.10.24.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Oct 2024 10:24:37 -0700 (PDT) From: Kenneth Albanowski To: Jiri Kosina , Benjamin Tissoires Cc: Dmitry Torokhov , "Sean O'Brien" , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Kenneth Albanowski Subject: [PATCH] HID: Add quirk for Logitech Bolt receiver w/ Casa touchpad Date: Fri, 4 Oct 2024 10:24:29 -0700 Message-ID: <20241004172434.854601-1-kenalba@chromium.org> X-Mailer: git-send-email 2.47.0.rc0.187.ge670bccf7e-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 86820a3d9766..ff3c17f76aa2 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -868,6 +868,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 638e36c6d0f1..481d2b798633 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -2137,6 +2137,10 @@ static const struct hid_device_id mt_devices[] =3D { HID_DEVICE(BUS_BLUETOOTH, HID_GROUP_MULTITOUCH_WIN_8, USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_CASA_TOUCHPAD) }, + { .driver_data =3D 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) }, =20 /* MosArt panels */ { .driver_data =3D MT_CLS_CONFIDENCE_MINUS_ONE, --=20 2.46.1.824.gd892dcdcdd-goog