Received: by 10.223.176.46 with SMTP id f43csp2150212wra; Sun, 21 Jan 2018 12:30:15 -0800 (PST) X-Google-Smtp-Source: AH8x226a1RVi8tatXdI/6JYssXLvyw+UBqAcpXpGBmpgLNc4spQaYaGMXBEvpr1a/eyC6NKaogq/ X-Received: by 10.99.120.203 with SMTP id t194mr5262388pgc.39.1516566615853; Sun, 21 Jan 2018 12:30:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516566615; cv=none; d=google.com; s=arc-20160816; b=N6bETqoew8BVoeaxYqk/l3+8dGG0ely5PvkZ94WrsfgIbfPl5XYkLAZjKnLuBhOATE tPL1PhsNoVl4Lf0v0s7yx0yMZp7zlMK+fmBWxB4awK5eoVjRTWj+NruWYYSC7nxIaIcr LAGJkfn05CnOESn7ijpp2EcoIgEB8jtbmjGxSVQ95pjxtqRcBqg7YtgJj9ADypqWfIsI kjvVGyRFWYrvE96cqk1PIljoInpRpQ1Y0/KCmlWPOBsJzw/0jH6KNVthGQOZ8iP8sfNp AviPHHe33G+vH6ESuAmB1yiDVaFWgwkfjd+Z9kCrqpoyR0V/V3uMMqXyHXpKbvZrZeXX 01lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=4HdzHDYfyQmBYSHS3LasoH6zBl6NPnYcImegO61qggU=; b=0Z+8acmau0HmyrkjFF2tjX1KQ+qAYdGGxgjy299luHfrxYOD3Pykgb8Jgu/W4T64N8 nTjjohCF+P2Dr0E8f+hkl4CiYj+wvZxJayqNwMz6qsnSyhiQpR3gKGR0j97MtB3E5r+P dpbdB2gewRpORiF/tHg2ZYldF/5HNqHy2iv6VMkNj3hoqTMkjVXqUYf74ETeH1l+73/V 74ER1oQFBjR59VlZuYfzrPafKygNDs4vll1HKfeBFZDdVdhrkN/br7hvMs3UrTBI8Kzv ruHXHjvPZJdsCKSspoQom08dG17OseQCdw0qZE9dVL5/aNK+dYG9980a18FeNIUiUIBn taKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@e2big.org header.s=2017022100 header.b=UMyHVuSu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=e2big.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s77si14109402pfj.128.2018.01.21.12.30.01; Sun, 21 Jan 2018 12:30:15 -0800 (PST) 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=@e2big.org header.s=2017022100 header.b=UMyHVuSu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=e2big.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751239AbeAUU3P (ORCPT + 99 others); Sun, 21 Jan 2018 15:29:15 -0500 Received: from e2big.org ([198.61.226.133]:53231 "EHLO e2big.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751021AbeAUU3O (ORCPT ); Sun, 21 Jan 2018 15:29:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=e2big.org; s=2017022100; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=4HdzHDYfyQmBYSHS3LasoH6zBl6NPnYcImegO61qggU=; b=UMyHVuSujMEQtK/CI2sAoCn7NFOB9acULPXrt3fEAp9Uo7GefNMQsIW5eZVZf60J1ouE5Tq7oF6y4GRNPsS6HoR+s8jH0Q9cpnqlIP4nn7ki4/pP9rVFLaZN/1geZ84mbXewjvPl9zvU4iVsU2b+NvrzUqRK/dxx8Yjm8g9O/PI=; Received: from ptr-gor5sq28m6755f2duiz.18120a2.ip6.access.telenet.be ([2a02:1812:2c29:300:228:f8ff:fe5e:49cb] helo=beacon.debie) by e2big.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1edLx9-00089S-Rl; Sun, 21 Jan 2018 21:10:57 +0100 Date: Sun, 21 Jan 2018 21:10:50 +0100 From: ulrik.debie-os@e2big.org To: Dmitry Torokhov Cc: Aaron Ma , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Input: trackpoint - force 3 buttons if 0 button is reported Message-ID: <20180121201049.GA23310@beacon.debie> References: <20180112064658.25019-1-aaron.ma@canonical.com> <20180112083940.p36qj6ltzzwtuhng@dtor-ws> <06bbeca0-8a90-8935-9be3-f154db0b9fe9@canonical.com> <20180112181830.ccpkltghgkj3oh3e@dtor-ws> <6a96ce54-9f8a-2424-1e48-34ec6445cb8f@canonical.com> <20180116230713.rppztybwe5ufhoxo@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180116230713.rppztybwe5ufhoxo@dtor-ws> User-Agent: Mutt/1.9.2 (2017-12-15) X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "e2big.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: On Tue, Jan 16, 2018 at 03:07:13PM -0800, Dmitry Torokhov wrote: Hi Dmitry, > > On Sat, Jan 13, 2018 at 10:34:19AM +0800, Aaron Ma wrote: > > Will your patch go to stable kernel? > > If yes, that's fine. > > Hmm, it looks like we need this patch after all as we do have screwy > Lenovos with apparently 0x01 devices reporting 0 buttons. From > https://bugzilla.kernel.org/show_bug.cgi?id=196253 > > thinkpad_acpi: ThinkPad BIOS R0DET87W (1.87 ), EC unknown > thinkpad_acpi: Lenovo ThinkPad E470, model 20H1004SGE > > psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 0/0 > > I'll ask them to try my patch and if it is indeed 0x01 device I'll apply > your patch. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 16, 2018 at 03:07:13PM -0800, Dmitry Torokhov wrote: Hi Dmitry, > > On Sat, Jan 13, 2018 at 10:34:19AM +0800, Aaron Ma wrote: > > Will your patch go to stable kernel? > > If yes, that's fine. > > Hmm, it looks like we need this patch after all as we do have screwy > Lenovos with apparently 0x01 devices reporting 0 buttons. From > https://bugzilla.kernel.org/show_bug.cgi?id=196253 > > thinkpad_acpi: ThinkPad BIOS R0DET87W (1.87 ), EC unknown > thinkpad_acpi: Lenovo ThinkPad E470, model 20H1004SGE > > psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 0/0 > > I'll ask them to try my patch and if it is indeed 0x01 device I'll apply > your patch. It is quite strange. In the past,for commit 293b915fd9be "Input: trackpoint - assume 3 buttons when buttons detection fails" there was success reported for lenovo e470 and I see the same success report in that bugzilla ticket. I can also report success on lenovo e570. But some seem to have problems, could it be that they are not including that commit in the kernel they are running ? Or did a bios upgrade change the behaviour ? It would be best when we have a confirmation from a e470 owner that without the proposed patch from Aaron the middle button does not work on his e470, and it works with it. Kind regards, Ulrik