Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3842340pxb; Mon, 8 Feb 2021 01:15:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvf+0JzDN7oIkyWYkPbID7fz7sCNOEV0L48hpe5xA+iDsu7B7TJQwEC7AD8YrtvBaOz2oB X-Received: by 2002:a17:906:c1d9:: with SMTP id bw25mr15574829ejb.452.1612775739312; Mon, 08 Feb 2021 01:15:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612775739; cv=none; d=google.com; s=arc-20160816; b=V+pitDCHD83OvT3uR4JfZQ/h/GWkL7qeo1sOyMsl6iwCNS6tYbKQPCn02dmNFX2hPt Bas2Ij2G9qwDHqfJ2jdr8feIoeBdJ9nu0ZWKGOpxpYQIDP/yn3GSMVQ+UTHZ3NwYPyj4 1PnPus4o9OhkCzPAY+E0NgLIRQSrlK2rG+9LD2ERpmBpnE81yUAu8tEq7z7a+MzJfZao cpSOxzv9VaqKWQ0tqrsFw0yvNe1U0m+X5ClYhySKAm6s4xbXaZAWhHwb61zVASuq5bJc Ey64yamy1dZi0pdu3lV0gfpQYvShMn+r6DNdUrJOWDOf6QwUWoZDNFT+IUJS8g+aUVu4 HQQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:reply-to; bh=MCjGQ9MG1waBzDd1kCawq0Bm72p0c6D9azfWt/rpbAU=; b=RJl1Z5e5NO7tc7wwMiKBlEvxMwVwFvwkPrFTDYjnWENzBLWiuQYnwsOzKEAo4Xb12p P/mVGqjq25w44CCmK68g80mExhqJ+2+D2GW6cfPGAqI3kiPhE+BzP2VKRSJ9jhh6DXjb 5zYAtO3OGUBOGv1eRzeXcQotF4et4hltf9S/BsvcUSvoykFoBhve5q/110MusChzSvck T+xWYsEOz6GoXLAUTuYzFa/ckWA1lyh93HXuCBcVzZr1QX7wmLY2b8deb6QGqMpjYc39 T8P4IWIMowe5dNKZv6kX54Qo69caB7Oul4Bt6ExlI6Wlg2hcYqCIQYXClnmpZ+4IWynF B4dQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i10si12680934ejd.325.2021.02.08.01.15.15; Mon, 08 Feb 2021 01:15:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231364AbhBHJNX (ORCPT + 99 others); Mon, 8 Feb 2021 04:13:23 -0500 Received: from air.basealt.ru ([194.107.17.39]:43800 "EHLO air.basealt.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230407AbhBHIxs (ORCPT ); Mon, 8 Feb 2021 03:53:48 -0500 X-Greylist: delayed 440 seconds by postgrey-1.27 at vger.kernel.org; Mon, 08 Feb 2021 03:53:41 EST Received: by air.basealt.ru (Postfix, from userid 490) id 5DA05589440; Mon, 8 Feb 2021 08:45:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 Received: from nickel-ws.localdomain (obninsk.basealt.ru [217.15.195.17]) by air.basealt.ru (Postfix) with ESMTPSA id 7900E58943A; Mon, 8 Feb 2021 08:45:26 +0000 (UTC) Reply-To: nickel@basealt.ru Subject: Re: [PATCH] Input: elantech - add LEN2146 to SMBus blacklist for ThinkPad L13 Gen2 To: Benjamin Tissoires , Nikolai Kostrigin Cc: Dmitry Torokhov , Colin Ian King , "Gustavo A. R. Silva" , "open list:HID CORE LAYER" , lkml References: <20210208075205.3784059-1-nickel@altlinux.org> From: Nikolai Kostrigin Organization: BaseALT Message-ID: <126f63de-f738-a76a-9681-2029a223b070@basealt.ru> Date: Mon, 8 Feb 2021 11:45:26 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Benjamin! 08.02.2021 11:06, Benjamin Tissoires пишет: > Hi Nikolai, > > On Mon, Feb 8, 2021 at 9:01 AM Nikolai Kostrigin wrote: >> ThinkPad L13 Gen2 has both touchpad and trackpoint. >> PNP: LEN2146 PNP0f13 >> With the default protocol (elantech-smbus) trackpoint is not operating, >> while touchpad does. Changing to elantech renders both operational. >> >> Signed-off-by: Nikolai Kostrigin > Instead of downgrading the capabilities of the touchpad, couldn't we > fix the trackpoint issues? Yes, I consider fixing the issue would be better than downgrading touchpad capabilities. Blacklisting was the first and most obvious idea to test. I'm eager to perform additional diagnostics to choose a better solution. Your advice would be appreciated. > > I am surprised elantech doesn't work with the trackpoint, because I am > pretty sure I wrote patches in that regard. Which kernel version have > you been testing? The patch was tested with 5.10.13 only, but the trackpoint behaviour is the same on 5.4.92. > Cheers, > Benjamin > > >> --- >> drivers/input/mouse/elantech.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c >> index 90f8765f9efc..c4c3fa5828d8 100644 >> --- a/drivers/input/mouse/elantech.c >> +++ b/drivers/input/mouse/elantech.c >> @@ -1776,6 +1776,7 @@ static const char * const i2c_blacklist_pnp_ids[] = { >> * These are known to not be working properly as bits are missing >> * in elan_i2c. >> */ >> + "LEN2146", /* ThinkPad L13 Gen2 */ >> NULL >> }; >> >> -- >> 2.29.2 >> -- Best regards, Nikolai Kostrigin