Linux userland API discussions
 help / color / mirror / Atom feed
From: Evan Lawrence <development@laserology.net>
To: dmitry.torokhov@gmail.com
Cc: development@laserology.net, linux-api@vger.kernel.org,
	linux-input@vger.kernel.org, miroslav.bendik@gmail.com
Subject: Re: [PATCH v5] Input: synaptics - add pass-through mode for TrackPoint
Date: Sat, 15 Aug 2026 00:42:40 +0000 (UTC)	[thread overview]
Message-ID: <20260815004214.68767-1-development@laserology.net> (raw)
In-Reply-To: <an9ocXI6b7WEI8D2@google.com>

Hi Dmitry,

On Thu, Aug 14, 2026 at 07:13:00PM +0000, Dmitry Torokhov wrote:
> I have not looked at the implementation yet, just a high-level question:
>
> What devices need this? Can they work in SMbus/RMI4 mode instead (which
> should alleviate bandwidth concerns)?

The target devices are ThinkPad T14/P14s Gen 1/2-class Synaptics pass-through touchpads. The primary test hardware is a ThinkPad T14 Gen 1 (AMD), whose touchpad reports firmware id LEN2064 and whose TrackPoint is an Elan PS/2 device connected through the touchpad's pass-through port.

On this device SMBus/RMI4 is not a viable alternative. Even with psmouse.synaptics_intertouch=1 forced and the touchpad re-probed, it stays in PS/2 mode (no RMI4 device is created). The touchpad's own bandwidth isn't problem; it reports at 75-85 Hz in both modes. The bottleneck is specifically the TrackPoint: behind the pass-through port it is serviced at only 35-40 Hz, but with transparent mode enabled it reaches 75-110 Hz. The exact peak rate may vary by model, but the improvement should be consistently positive.

The transparent pass-through mode addresses exactly that PS/2 pass-through bottleneck by relaying the guest's raw byte stream directly instead of encapsulating it.

I'll follow up with a v6 that also reduces the mode-switch latency by avoiding the ACK-waiting ps2_command() calls on the escape sequence; I will send it as soon as I have tested it.

Thanks, Evan

      reply	other threads:[~2026-08-15  4:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-10 14:25 [PATCH v5] Input: synaptics - add pass-through mode for TrackPoint Evan Lawrence
2026-08-14 19:13 ` Dmitry Torokhov
2026-08-15  0:42   ` Evan Lawrence [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=20260815004214.68767-1-development@laserology.net \
    --to=development@laserology.net \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=miroslav.bendik@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox