Linux Input/HID development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: contacto@bazaes.cl
Cc: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org
Subject: Re: [PATCH] Input: synaptics - add LEN2058 to SMBus passlist for ThinkPad E490
Date: Thu, 14 May 2026 01:22:21 +0000	[thread overview]
Message-ID: <20260514012222.48887C19425@smtp.kernel.org> (raw)
In-Reply-To: <20260513045749.185969-1-contacto@bazaes.cl>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The commit message incorrectly states that without the passlist entry, psmouse ignores the `synaptics_intertouch` parameter and falls back to PS/2 mode even when explicitly requested.
--

commit 18925dd22ddb975fc9e545765ec54eb77a26f6f6
Author: Nicolás Bazaes <contacto@bazaes.cl>

Input: synaptics - add LEN2058 to SMBus passlist for ThinkPad E490

The Lenovo ThinkPad E490 has a Synaptics TM3471-020 touchpad that supports
SMBus/RMI4 mode but is not listed in smbus_pnp_ids[]. Adding LEN2058 to
the passlist enables RMI4 over SMBus, which provides better multitouch
support and matches the behavior of similar ThinkPad models.

> Without this entry, psmouse ignores the
> synaptics_intertouch parameter and falls back to PS/2 mode even when
> explicitly requested.

This isn't a bug, but is this description accurate?

Looking at synaptics_setup_intertouch(), the passlist is only checked if
synaptics_intertouch == SYNAPTICS_INTERTOUCH_NOT_SET:

drivers/input/mouse/synaptics.c:synaptics_setup_intertouch() {
    ...
	if (synaptics_intertouch == SYNAPTICS_INTERTOUCH_NOT_SET) {
		if (!psmouse_matches_pnp_id(psmouse, topbuttonpad_pnp_ids) &&
		    !psmouse_matches_pnp_id(psmouse, smbus_pnp_ids)) {
    ...
}

If a user explicitly requests SMBus mode by passing
psmouse.synaptics_intertouch=1, the condition is false, bypassing the
passlist check entirely and honoring the user's request.

Could the commit message be updated to clarify that the parameter is not
ignored when explicitly requested?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260513045749.185969-1-contacto@bazaes.cl?part=1

      parent reply	other threads:[~2026-05-14  1:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-13  4:57 [PATCH] Input: synaptics - add LEN2058 to SMBus passlist for ThinkPad E490 contacto
2026-05-13 21:27 ` Dmitry Torokhov
2026-05-14  1:35   ` [PATCH v2] " contacto
2026-05-14  1:22 ` sashiko-bot [this message]

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=20260514012222.48887C19425@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=contacto@bazaes.cl \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox