Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp367447ybm; Mon, 20 May 2019 18:08:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwr0AdSlbRC6F0vwaQYsWK9RU6AEjNVdLl9FXQiDzXXP2Hy8HG3bG4yqJEns40QddFkCgBa X-Received: by 2002:a17:902:7d83:: with SMTP id a3mr80670020plm.305.1558400912392; Mon, 20 May 2019 18:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558400912; cv=none; d=google.com; s=arc-20160816; b=QZE+PiK0XH2L4fHCfwSV1fqvXiRBGxpJFx9I5+rrNRvE9XuixspxiRVNPRf+YHKrH5 UIHqFlAvN+Vk6txRY32UL7VMLfFcfBGaPr/7xvtU3rDmxbVT1DELuqPr7SurFfLVRSax yoZBzcqAe+EigkM9hWPtZi+VTcC/A0CbUVlwAet9ldEn1SgTDECL4VFExBzoi8diCKhP wUjP9kDsg07vHrYJmeYZLHVgKf2CwjAK29B5bJw64S+O7ewnOtaqdz81J9bfmSyHn+QJ KOCGVKQVtWtAkfv2U75k5rZbqRVnS/oj81dpfIIjePIO9N8KNepzw3tr9bpYZ1UH3X4J Bq0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=2gWWefPYn1Ud17ydVwR/98MdHpRUne1bWBmwBg4MrV4=; b=i5DiDdisR8cydP+M00XjAS/UnZSFK8180du6GkOF+pgTHytBQDzLiqwYGyGiKowdln B3EWNsEJYJX9d/afi438+p32/qfMcZR+/vmlpb+GGlhH09Lrlb3wImCLeiU0bAyU384l /JXQx3DSSqHQ9LpZ4m2mGd8//Bshql4ka2W7yWVGv4iqwP5IYj0g2Kj2BfXNpIpq3WCC 4E38/i+0Z7GJjQvareP+8/zuuTBrJ1V+Ks5c4m8jYhRjkaw37iwpbEd+uYKsgGW01emf dRtD+Uyhiv6GVv0rSAXoauG9Xn2jKYYbGS9F+UlNxDuP5u8E5/O+zEYibp5nidca3PFQ gotQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alpsgroup.onmicrosoft.com header.s=selector2-alpsgroup-onmicrosoft-com header.b="KXYbB/C8"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4si19137255pgn.428.2019.05.20.18.08.16; Mon, 20 May 2019 18:08:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alpsgroup.onmicrosoft.com header.s=selector2-alpsgroup-onmicrosoft-com header.b="KXYbB/C8"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727370AbfEUBHH (ORCPT + 99 others); Mon, 20 May 2019 21:07:07 -0400 Received: from mail-eopbgr1410052.outbound.protection.outlook.com ([40.107.141.52]:46962 "EHLO JPN01-OS2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726928AbfEUBHG (ORCPT ); Mon, 20 May 2019 21:07:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpsgroup.onmicrosoft.com; s=selector2-alpsgroup-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2gWWefPYn1Ud17ydVwR/98MdHpRUne1bWBmwBg4MrV4=; b=KXYbB/C8Db1dA/aLGF9JEYk5QbfUOhXdKeoseJlwblBTkybunpHstRrd/SLGDu25WoqAzb8qQ3GFwYL+NI++VnL1kMwVqWRLuG/wYJ2NfgGn1uFfVy4HJjwcL1Sq+460ZdHDksddy6kxr09qP8q8WV1vux0RfhU/inZfcUIF+9g= Received: from OSBPR01MB4855.jpnprd01.prod.outlook.com (20.179.180.211) by OSBPR01MB3768.jpnprd01.prod.outlook.com (20.178.96.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.16; Tue, 21 May 2019 01:07:01 +0000 Received: from OSBPR01MB4855.jpnprd01.prod.outlook.com ([fe80::b583:e4e6:93db:38cb]) by OSBPR01MB4855.jpnprd01.prod.outlook.com ([fe80::b583:e4e6:93db:38cb%4]) with mapi id 15.20.1900.020; Tue, 21 May 2019 01:07:01 +0000 From: Xiaoxiao Liu To: XiaoXiao Liu , "dmitry.torokhov@gmail.com" CC: "pali.rohar@gmail.com" , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "hui.wang@canonical.com" , Xiaojian Cao , "zhangfp1@lenovo.com" Subject: =?gb2312?B?tPC4tDogW1BBVENIXSBpbnB1dDogYWxwcy1maXggdGhlIGlzc3VlIHRoZSBz?= =?gb2312?Q?pecial_alps_trackpoint_do_not_work.?= Thread-Topic: [PATCH] input: alps-fix the issue the special alps trackpoint do not work. Thread-Index: AQHVDvtxe2iJHKzC10imt2bM9M4jiKZ0xAKQ Date: Tue, 21 May 2019 01:07:01 +0000 Message-ID: References: <20190520110149.27107-1-sliuuxiaonxiao@gmail.com> In-Reply-To: <20190520110149.27107-1-sliuuxiaonxiao@gmail.com> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=xiaoxiao.liu-1@cn.alps.com; x-originating-ip: [58.247.0.86] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0573503c-c1c8-423c-d935-08d6dd88a1a0 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:OSBPR01MB3768; x-ms-traffictypediagnostic: OSBPR01MB3768: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 0044C17179 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(39860400002)(346002)(396003)(136003)(376002)(366004)(189003)(199004)(76176011)(7696005)(99286004)(52536014)(54906003)(73956011)(66946007)(64756008)(66556008)(66476007)(305945005)(66446008)(76116006)(224303003)(110136005)(7736002)(14454004)(5660300002)(102836004)(6506007)(6116002)(3846002)(25786009)(74316002)(33656002)(2501003)(14444005)(256004)(66574012)(66066001)(71200400001)(68736007)(71190400001)(85182001)(9686003)(4326008)(478600001)(26005)(55016002)(316002)(81166006)(2906002)(53936002)(6436002)(186003)(8936002)(11346002)(81156014)(86362001)(476003)(446003)(486006)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:OSBPR01MB3768;H:OSBPR01MB4855.jpnprd01.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:0; received-spf: None (protection.outlook.com: cn.alps.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: OjrXA8IBgNnLHy7X2ED1lIbGxmeHQtqBuRRgfYauk00GqUCwBv8IXkZ+N4zC7P3yM4VMlSzMCcEyMA+k8Lv7w+/0MiKC1OKJYoxvhoUlvhPG4bMFAkCyzPd++BNuc0b9PJwudf1nK1BngZZBzKbkyBK+SLD9+SeDlHgFXK/PXdPA3a1KMKnS/sxAVchepdiQ/d4GuqqJxjmaQbn363rC1RHwOl6zMQ0PL4zAPp7Uky2bSeZQ7d/VYQRhoO1KEgs95OEQh6IirwFBdmVItlbPn2VwXV7c2yG5daCV/ctkyDGdcPW0E0UtCIKAG4dcEovAKG0YvFlIDxLPSiI3FqimZ43i3b/uqSRyZ5WKTVGH0+2hmtryhZEVUm80N0roNr7dcgQKEw/2nn6m0O+z38zdbWf/heqIdeLy3pXnnNYvnRg= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: cn.alps.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0573503c-c1c8-423c-d935-08d6dd88a1a0 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 May 2019 01:07:01.4828 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 57e76998-77bd-4b82-a424-198f46eb2254 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSBPR01MB3768 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkIFBhbGkgUm9oqKJyLg0KDQotLS0tLdPKvP7Urbz+LS0tLS0NCreivP7IyzogWGlhb1hpYW8g TGl1IDxzbGl1dXhpYW9ueGlhb0BnbWFpbC5jb20+IA0Kt6LLzcqxvOQ6IE1vbmRheSwgTWF5IDIw LCAyMDE5IDc6MDIgUE0NCsrVvP7IyzogZG1pdHJ5LnRvcm9raG92QGdtYWlsLmNvbQ0Ks63LzTog bGludXgtaW5wdXRAdmdlci5rZXJuZWwub3JnOyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3Jn OyBodWkud2FuZ0BjYW5vbmljYWwuY29tOyCy3CCV1L2oIFhpYW9qaWFuIENhbyA8eGlhb2ppYW4u Y2FvQGNuLmFscHMuY29tPjsgemhhbmdmcDFAbGVub3ZvLmNvbTsghKIgldSV1CBYaWFveGlhbyBM aXUgPHhpYW94aWFvLmxpdS0xQGNuLmFscHMuY29tPjsgWGlhb1hpYW8gTGl1IDxzbGl1dXhpYW9u eGlhb0Bn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