From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Moritz <moritz-froehlich@posteo.de>
Cc: Hans de Goede <hansg@kernel.org>,
Mark Pearson <mpearson-lenovo@squebb.ca>,
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
Date: Fri, 4 Dec 2026 15:11:43 +0200 (EET) [thread overview]
Message-ID: <4393bd3d-a910-d75a-ab23-dc6e5029453d@linux.intel.com> (raw)
In-Reply-To: <4b34d15f-d871-4b16-98b2-ef74228293e8@posteo.de>
[-- Attachment #1: Type: text/plain, Size: 2370 bytes --]
On Fri, 4 Dec 2026, Moritz wrote:
> Hi,
>
> I think the Sashiko.dev review is correct, that the wording "which is
> suppressed" in the first paragraph was inaccurate, as the ACPI netlink event
> is actually emitted when double-tap is enabled.
>
> 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
to fix the changelog so please do v2. Somehow I feel like it doesn't very
successfull describe causality relationships with its extremely short
sentences so I'd prefer you improve the whole changelog.
>
> Best regards,
>
> Moritz
>
> On 12/3/26 9:47 PM, Moritz Fröhlich 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
explain what symptom-cause relationship?
> > which is suppressed.
> >
> > 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.
> >
> > Tested on a ThinkPad E14 Gen 8
> >
> > Fixes: 6227cc32fa01 ("platform/x86: thinkpad_acpi: Add sysfs control for
> > TrackPoint double-tap")
> > Signed-off-by: Moritz Fröhlich <moritz-froehlich@posteo.de>
> > ---
> > drivers/platform/x86/lenovo/thinkpad_acpi.c | 4 +++-
> > 1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > 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, bool
> > *send_acpi_ev)
> > switch (hkey) {
> > case TP_HKEY_EV_TRACK_DOUBLETAP:
> > /* Only send event if doubletap is enabled */
> > - if (!tp_features.trackpoint_doubletap_enable)
> > + if (tp_features.trackpoint_doubletap_enable)
> > + tpacpi_input_send_key(hkey, send_acpi_ev);
> > + else
> > *send_acpi_ev = false;
> > return true;
> > default:
>
next prev parent reply other threads:[~2026-12-04 13:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 20:47 [PATCH] platform/x86: thinkpad_acpi: Fix missing input event for TrackPoint double-tap Moritz Fröhlich
2026-12-03 20:50 ` Hans de Goede
2026-12-04 2:24 ` Mark Pearson
2026-12-04 5:47 ` Vishnu Sankar
2026-12-04 9:04 ` Moritz
2026-12-04 13:11 ` Ilpo Järvinen [this message]
2026-12-04 13:18 ` Rong Zhang
2026-12-04 14:14 ` [PATCH v2] " Moritz Fröhlich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4393bd3d-a910-d75a-ab23-dc6e5029453d@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=derekjohn.clark@gmail.com \
--cc=hansg@kernel.org \
--cc=hmh@hmh.eng.br \
--cc=i@rong.moe \
--cc=ibm-acpi-devel@lists.sourceforge.net \
--cc=inbox@maxbrandtner.com \
--cc=moritz-froehlich@posteo.de \
--cc=mpearson-lenovo@squebb.ca \
--cc=platform-driver-x86@vger.kernel.org \
--cc=vishnuocv@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.