From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.6 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796389910; b=xlkecpyWqra7TBsBhzb+M2iBeovpmnIK8Sfy+pr8lGVJcx3i/V6/pzqtBvzC+7+/W0vJ ZBHWSRDGzwN9CSY6vzB128ufW9QxwRu3bkxYKb3lV8z8eMmqtlmQJLO9xSIMKE+Tf8EtL 1Ye3Atb7NJEm05vZe7ErOoKOQVJdAUdhbm8LTyzvCPE9I10Mr2IVU23TNi/4sdbZEWMui bDPAm8YTK62hBFo/lGzLs4LKGT7+PGhPUykh/YstXHpvp3TWULJbdzKbFKmNzd9dwbLPR e0Zi+7yfXXhzGOj8u1Oey2PeQa6Onc0bau1ef9oZb1lVJk/1dyfVwBDoRvBJacwDSdw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796389910; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:From:Date:To:cc: Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type; bh=EeOHVXEqj2QirHNTo0IBKyjj8Tpb29DB6M/96JzsVeY=; b=Aw4RYgSYwZk7ufe+D1BNXeUTxiLFHE+2SdoYstbyqrRgSV6yYROE1UDj4PElekR/aOmo Pqy+rYxcKuWyDghJaLj0/zHQv+ronZLMdMKZgW/T/+/wBlyQHfCTMoQ5MhpKXY+CNag6z N6FoHdmwRUTBt6BC1IBITshu6n/oU2+iB6OcTCcBKnoiIHsn5ju9sCCygLi6NgnjE+A85 8fz2rvdragKcOprkU7buXmAxbKjD3D70xqzt1/BsUCq2LCkMrkmmtPGyMRbKMVGt8Qcf/ nDMqAA7XAHUMsIpeZhpErZ+r8IzOI91jA9JDYq+D0WaF7iiEJM+q3RSTRNsoatowlTA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=dltPEkDY; arc=none smtp.remote-ip=192.198.163.6 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.6]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0258D606A322 for ; Fri, 4 Dec 2026 13:11:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0258D606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=dltPEkDY DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796389910; x=1827925910; h=from:date:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=X8GZ8nlb/vcGe42G6sBuwJicG8P46lAAJ7TiF4reygo=; b=dltPEkDY5JPcrkgjhJB9+t1ySe1CQvmwrytMjs3eq9/aqGVpXowh74zb 64Vi+QpsMnCgpRDQluzu9NPByxKj75axTT0Fa3fovoHGLUDtwE6J9pU97 d7il86PwqU16t9Z2swluDQrNxYHQGr/zqvbsNWj/Wbz/m5aD0fpjzakoV afLJvmi6W6bYq5BEFhuNRKkOJoftWzKs0G0NTTHPHLLz7Jnt6Z9eU2QfR iHPkDekucyfCCMAhAXjT/R4N9MvryMVK+8XlWt2ncgKAMelXXqtDO4k9r w8HUT5tvNpkqy85T3uYQTvxolrsZT+vLHyh0/XOQINA6ZhDaiNW5d+OXs Q==; X-CSE-ConnectionGUID: lxJzGltJQkuymvJqAQWLZA== X-CSE-MsgGUID: 4N1pF5IXRM2O92fs72Xz/A== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="14173" X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="14173" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa116.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 05:11:49 -0800 X-CSE-ConnectionGUID: i1ejdpFpQB2Un47BxhRvKQ== X-CSE-MsgGUID: PD8jxPENR0qR/dyf2x25Fg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="13981606" Received: from ijarvine-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.245.47]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 05:11:45 -0800 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Date: Fri, 4 Dec 2026 15:11:43 +0200 (EET) To: Moritz cc: Hans de Goede , Mark Pearson , derekjohn.clark@gmail.com, i@rong.moe, hmh@hmh.eng.br, vishnuocv@gmail.com, platform-driver-x86@vger.kernel.org, ibm-acpi-devel@lists.sourceforge.net, inbox@maxbrandtner.com Subject: Re: [PATCH] platform/x86: thinkpad_acpi: Fix missing input event for TrackPoint double-tap In-Reply-To: <4b34d15f-d871-4b16-98b2-ef74228293e8@posteo.de> Message-ID: <4393bd3d-a910-d75a-ab23-dc6e5029453d@linux.intel.com> References: <20261203204725.14769-1-moritz-froehlich@posteo.de> <4b34d15f-d871-4b16-98b2-ef74228293e8@posteo.de> X-Mailing-List: platform-driver-x86@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323328-1671082640-1796389903=:1171" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1671082640-1796389903=:1171 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 4 Dec 2026, Moritz wrote: > Hi, >=20 > I think the Sashiko.dev review is correct, that the wording "which is > suppressed" in the first paragraph was inaccurate, as the ACPI netlink ev= ent > is actually emitted when double-tap is enabled. >=20 > I can send a v2 patch with corrected commit message wording if desired. I stared it for a few seconds and though I don't know what's the best way= =20 to fix the changelog so please do v2. Somehow I feel like it doesn't very= =20 successfull describe causality relationships with its extremely short=20 sentences so I'd prefer you improve the whole changelog. >=20 > Best regards, >=20 > Moritz >=20 > On 12/3/26 9:47 PM, Moritz Fr=C3=B6hlich wrote: > > A previous commit dropped the tpacpi_input_send_key() call. Now, > > with double-tap enabled (the default), no KEY_PROG4 is reported. The > > event is only emitted as an ACPI netlink event, Would you want to actually bind those together with "because" for better=20 explain what symptom-cause relationship? > > which is suppressed. > >=20 > > Call tpacpi_input_send_key() again when double-tap is enabled. This > > also stops the netlink event. When double-tap is disabled, the event "This also" what is "this" in this context? > > is still dropped. -- i. > >=20 > > Tested on a ThinkPad E14 Gen 8 > >=20 > > Fixes: 6227cc32fa01 ("platform/x86: thinkpad_acpi: Add sysfs control fo= r > > TrackPoint double-tap") > > Signed-off-by: Moritz Fr=C3=B6hlich > > --- > > drivers/platform/x86/lenovo/thinkpad_acpi.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > >=20 > > diff --git a/drivers/platform/x86/lenovo/thinkpad_acpi.c > > b/drivers/platform/x86/lenovo/thinkpad_acpi.c > > index 4f81855ad721..923031ff1cfc 100644 > > --- a/drivers/platform/x86/lenovo/thinkpad_acpi.c > > +++ b/drivers/platform/x86/lenovo/thinkpad_acpi.c > > @@ -3913,7 +3913,9 @@ static bool hotkey_notify_8xxx(const u32 hkey, bo= ol > > *send_acpi_ev) > > =09switch (hkey) { > > =09case TP_HKEY_EV_TRACK_DOUBLETAP: > > =09=09/* Only send event if doubletap is enabled */ > > -=09=09if (!tp_features.trackpoint_doubletap_enable) > > +=09=09if (tp_features.trackpoint_doubletap_enable) > > +=09=09=09tpacpi_input_send_key(hkey, send_acpi_ev); > > +=09=09else > > =09=09=09*send_acpi_ev =3D false; > > =09=09return true; > > =09default: >=20 --8323328-1671082640-1796389903=:1171--