Message ID | DM6PR04MB412176BD43A29E1E873FB7E5CEA9A@DM6PR04MB4121.namprd04.prod.outlook.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-input-owner@vger.kernel.org> 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 BF6F6C4332F for <linux-input@archiver.kernel.org>; Tue, 7 Nov 2023 03:16:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230208AbjKGDQa (ORCPT <rfc822;linux-input@archiver.kernel.org>); Mon, 6 Nov 2023 22:16:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233009AbjKGDQ2 (ORCPT <rfc822;linux-input@vger.kernel.org>); Mon, 6 Nov 2023 22:16:28 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11olkn2075.outbound.protection.outlook.com [40.92.18.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F4F7EA for <linux-input@vger.kernel.org>; Mon, 6 Nov 2023 19:16:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T1wMPl/l+3gOMix17Y5aXUDgAyrhuUP8aImFFreTf3aWOF3u3SDuVJigCqv8EboTFGzIrb6IK+MweHY0r0lIx8hXLYxOmwDzGkIXKU1OtH2oFb4VufSX0P7i8TdCy2qwRBafX8WhnAJBgEgJyvKO750/zi49Iuivc0HUdjC6e+aYsoB/tXaJ0JJhXPRtyypK7KElnr13IJf3+nqLl7qwaODYWotVNq9I3rzQV8fftiahYE0Cya3GVx+An5ayEvnIbp2iRyrM037Nm13xp8oKxo34CAEh3DkBTupYDKRDSWRC0nGPmW1M/gxmDEgCf0PABhXF7UsNqSQ0qf84jZZ2SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bfC5uY+1MIek7nf5Ht67Fp+pd1fEn9oKz9TsiNzSEe8=; b=khI81pLW1o4d+LkAi3JTosSxZe07pSKDaUkpHna/EVRIdhXU6uBpBinWDT1ti5/B0y3u2JoLWNlHslgDFleIiDsM0jgswACSMJKdpIB7PT3LUqaVeyS3iAYENmekRr7TivhxoS/tiWVkdP7URjaM3JSn5NxzARE1pc0Jzm71QcrVylrZ6Miift2q9VNv5Z4JvDk1mfzMNkgpjqZI1XdMKKZ9oySxjtf3cnMqR70i4bOau0tQ6l33a2eZm2/EjJpIVecynTRaDdJ8hmD4IwCYZeWBtASBGSYLPJMOhx0XabcRt0DGV6rlZg1M84kLJsmMzeDVGxCmRwgeNea+t79pkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bfC5uY+1MIek7nf5Ht67Fp+pd1fEn9oKz9TsiNzSEe8=; b=fFgA4vmyOtbtlJBwkKe6x2f1IMTCJVHLsQhXSBhbJuX0SGoK3pbew4UvyOHiGRiPHkMK14buOkpsRgbdja0+m0hTRAYVEUfZHfw3Hc/UHTUyeqjtqxW3LqGHuywupUi+UYaI2cdRbtDAY5a1FuyHI7h99eQdQcXpy4ekXNUE8nobDpHhvYDJEc2T2YT6j18QW/SNG0aIHxpgLLWrfOt97UdruVmvsIlKtnaOaqk2rFHLXZ7X//j6tt6JAbw07zaJwQ/DgeYtAjcRIu1QmE8m6A34O+s4oqd1P86VTJMNZVUoIXkjmDHYByF+amL2QKQI9VHxmMxkT/UijAzhhhYFMA== Received: from DM6PR04MB4121.namprd04.prod.outlook.com (2603:10b6:5:a0::10) by CO6PR04MB7745.namprd04.prod.outlook.com (2603:10b6:5:35a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.28; Tue, 7 Nov 2023 03:16:23 +0000 Received: from DM6PR04MB4121.namprd04.prod.outlook.com ([fe80::fae:4a33:bcee:9952]) by DM6PR04MB4121.namprd04.prod.outlook.com ([fe80::fae:4a33:bcee:9952%5]) with mapi id 15.20.6954.024; Tue, 7 Nov 2023 03:16:23 +0000 Message-ID: <DM6PR04MB412176BD43A29E1E873FB7E5CEA9A@DM6PR04MB4121.namprd04.prod.outlook.com> Subject: [PATCH] HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad From: Aoba K <nexp_0x17@outlook.com> To: Dmitry Torokhov <dmitry.torokhov@gmail.com>, Jiri Kosina <jikos@jikos.cz>, Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Date: Tue, 07 Nov 2023 11:16:10 +0800 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) X-TMN: [GpdhlpyaR7F4pMahyUaTSYiGyVozM+66] X-ClientProxiedBy: MA0PR01CA0112.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:11d::15) To DM6PR04MB4121.namprd04.prod.outlook.com (2603:10b6:5:a0::10) X-Microsoft-Original-Message-ID: <dd5e49ae5ec88f0f68bfc99e9bea54f991b02724.camel@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR04MB4121:EE_|CO6PR04MB7745:EE_ X-MS-Office365-Filtering-Correlation-Id: 791fa70b-c362-4684-7703-08dbdf3feb47 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 84Uko/BsodijoYemxW6UvtfTqS62mXFAGwKG0QOJ/BpIW+BrcA8VM7BGunxYFjCVgJQXwxfO0l3Aq35DXR1LasF+1gfA02AEW6G5JokUSGOLHmVJlRWTV8Ojy4h6ShpinzmxNdv5mUe/aM69YmPZa+HCFov7lf1kb9lBUnTepu5C1CSBSkPfx0Al4MbxJXh+9BhIZHAOTU2Bo+CnqILfRmuTvHCh9vGjdzYX+ihd2Hh4MJuxlyn47HqCr/1KKamdkxfXSWWa5SJHsmjPdn135Aqdp8LPIua8e/ykwEoRXkTtdOnXMitIad5joeMjStRQOR+B3L1Vz4I8SMVL0rKzMm6Ucscsmtfk4H4PciYwYlrX8ETy97sZAws5F58AIRIjQ4A1Gjd+GkmC0QOTRWzc29VZVYEzXj/NFR1PdurwPjiB2ctyJJPJz68b98MdaNz7bsze3jcNoQBhf1iva1rcmNU4Gg5xDBcaYcDqTQKe0IMdGcAdYkTKvqAgH6ECrFCyqwYB9RclUqA57KLlYQSgUmbYPawB6Tisp0hgwonHqmxQwziueozNWgjZ4A6dASzV X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?FFUtGGPstD8lfHLq3QpkyBQKb/Do?= =?utf-8?q?6bX2QXjp/dgUJFnCNp7n8ZcdcddSDREUj/HiVYOpo8V7Ye6vX+sP3uFNWkT/rtB7O?= =?utf-8?q?FRgw+Sxd/wZ2rKMYws5q7G4aLGPz6aLGAwbA1R4i2uENaQdKc5EpwcYh0NDmcOS9i?= =?utf-8?q?M1uN/8u9B15QR27yYT/ePRY7KzSXXb6fDRbtsNj4JN0LTdCiP+oT03Lb0dmoCQzo6?= =?utf-8?q?Qnv5LJlWAXo98ylZdggbQsgp5ptkzCc2Ir4ALF6O1lVsYk415DIPx4cSdk4wWbHMk?= =?utf-8?q?huRwsMgnxCgBzH8UtZD1N0wGCZ2DGNl4jvQgJBBK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atorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 791fa70b-c362-4684-7703-08dbdf3feb47 X-MS-Exchange-CrossTenant-AuthSource: DM6PR04MB4121.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2023 03:16:23.0881 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR04MB7745 Precedence: bulk List-ID: <linux-input.vger.kernel.org> X-Mailing-List: linux-input@vger.kernel.org |
Series |
HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
|
expand
|
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index e31be0cb8b..f655a76ff2 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -2055,6 +2055,11 @@ static const struct hid_device_id mt_devices[] = { MT_USB_DEVICE(USB_VENDOR_ID_HANVON_ALT, USB_DEVICE_ID_HANVON_ALT_MULTITOUCH) }, + /* HONOR GLO-GXXX panel */ + { .driver_data = MT_CLS_VTL, + HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8, + 0x347d, 0x7853) }, + /* Ilitek dual touch panel */ { .driver_data = MT_CLS_NSMU, MT_USB_DEVICE(USB_VENDOR_ID_ILITEK,
Honor MagicBook 13 2023 has a touchpad which do not switch to the multitouch mode until the input mode feature is written by the host. The touchpad do report the input mode at touchpad(3), while itself working under mouse mode. As a workaround, it is possible to call MT_QUIRE_FORCE_GET_FEATURE to force set feature in mt_set_input_mode for such device. The touchpad reports as BLTP7853, which cannot retrive any useful manufacture information on the internel by this string at present. As the serial number of the laptop is GLO-G52, while DMI info reports the laptop serial number as GLO-GXXX, this workaround should applied to all models which has the GLO-GXXX. Signed-off-by: Aoba K <nexp_0x17@outlook.com> --- drivers/hid/hid-multitouch.c | 5 +++++ 1 file changed, 5 insertions(+) base-commit: 28d3fe32354701decc3e76d89712569c269b5e4f --- 2.41.0