Linux Input Archive mirror
 help / color / mirror / Atom feed
From: Lyude Paul <lyude@redhat.com>
To: Ottavio Caruso <ottavio2006-usenet2012@yahoo.com>
Cc: Andrew Duggan <aduggan@synaptics.com>, linux-input@vger.kernel.org
Subject: Re: Why does libinput randomly calls my touchpad "SynPS/2 Synaptics" or "Synaptics TM2722-001"?
Date: Wed, 24 Apr 2024 17:12:48 -0400	[thread overview]
Message-ID: <cba77b04e244e8b373c72ae1e13defe2b1078cd6.camel@redhat.com> (raw)
In-Reply-To: <v08fjo$heo$1@ciao.gmane.io>

FWIW: You might have better luck asking on some of the linux-input
lists.... however

you got lucky because it happens I've both worked on this stack and
dealt with this exact machine haha. So I actually can answer this
(response down below):

On Tue, 2024-04-23 at 15:12 +0100, Ottavio Caruso wrote:
> Hi,
> 
> $ sudo X -version
> 
> X.Org X Server 1.21.1.7
> X Protocol Version 11, Revision 0
> Current Operating System: Linux t440 6.1.0-20-amd64 #1 SMP 
> PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64
> Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-20-amd64 
> root=UUID=42a17f43-89bb-4523-952f-b8d97bcb4a30 ro quiet
> xorg-server 2:21.1.7-3+deb12u7 (https://www.debian.org/support)
> Current version of pixman: 0.42.2
> 
> $ xinput --version
> xinput version 1.6.3
> XI version on server: 2.4
> 
> 
> 
> On my old-ish Thinkpad T440, libinput alternatively calls my touchpad
> "SynPS/2 Synaptics" or "Synaptics TM2722-001".
> 
> $ grep Synaptics  /var/log/messages
> Nov 26 09:12:38 t440 kernel: [18070.908478] psmouse serio1:
> synaptics: 
> serio: Synaptics pass-through port at isa0060/serio1/input0
> Nov 26 09:12:38 t440 kernel: [18070.947812] input: SynPS/2 Synaptics 
> TouchPad as /devices/platform/i8042/serio1/input/input35
> Nov 26 20:33:19 t440 kernel: [27221.274488] rmi4_f01 rmi4-00.fn01:
> found 
> RMI device, manufacturer: Synaptics, product: TM2722-001, fw id: 0
> Nov 26 20:33:19 t440 kernel: [27221.314747] input: Synaptics TM2722-
> 001 
> as /devices/pci0000:00/0000:00:1f.3/i2c-0/0-002c/rmi4-
> 00/input/input39
> Nov 27 19:28:05 t440 kernel: [    6.327297] psmouse serio1:
> synaptics: 
> serio: Synaptics pass-through port at isa0060/serio1/input0
> Nov 27 19:28:05 t440 kernel: [    6.366655] input: SynPS/2 Synaptics 
> TouchPad as /devices/platform/i8042/serio1/input/input2
> 
> This without even rebooting or suspending the laptop.

I don't think this has anything to do with libinput - Synaptics
touchpads from around this generation will initially get setup as a
PS/2 device during boot. But PS/2 mode is very limited (and somewhat
buggy) functionality wise, so at the first opportunity the synaptics
kernel driver will query the touchpad to figure out if it can be
supported over RMI4. If so, the driver is supposed to switch the
touchpad to that mode and discard the PS/2 device. So - it sounds like
what's happening is that is broken for some reason.

FWIW: I added linux-input to this thread along with our synaptics
contact: Andrew Duggan.

> 
> I have some scripts that disable or enable the touchpad (especially
> when 
> I use the mouse) and I have to use tricks to accommodate this.
> 
> Why does this happen in the first place? How can I troubleshoot it?
> 
> Thanks.
> 

-- 
Cheers,
 Lyude Paul (she/her)
 Software Engineer at Red Hat


       reply	other threads:[~2024-04-24 21:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <v08fjo$heo$1@ciao.gmane.io>
2024-04-24 21:12 ` Lyude Paul [this message]
2024-05-14 10:30   ` Why does libinput randomly calls my touchpad "SynPS/2 Synaptics" or "Synaptics TM2722-001"? Ottavio Caruso

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=cba77b04e244e8b373c72ae1e13defe2b1078cd6.camel@redhat.com \
    --to=lyude@redhat.com \
    --cc=aduggan@synaptics.com \
    --cc=linux-input@vger.kernel.org \
    --cc=ottavio2006-usenet2012@yahoo.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).