[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Touchpad erracticly switching from "SynPS/2 Synaptics TouchPad" to "Synaptics TM2722-001"



Hi,

$ uname -a
Linux t440 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linu

I have a massive problem with my Touchpad on the Lenovo T440, which is very erratic. I have two scripts that are supposed to switch the touchpad and the trackpad when I need it:

$ cat opt/bin/touchpad-off
xinput disable "$(xinput list --name-only|grep -i Synaptics)"
xinput disable "TPPS/2 IBM TrackPoint"

$ cat opt/bin/touchpad-on
xinput enable "$(xinput list --name-only|grep -i Synaptics)"
xinput enable "TPPS/2 IBM TrackPoint"
xinput set-prop "TPPS/2 IBM TrackPoint"  "libinput Accel Speed" -0.8

I need to do this, because the touchpad changes name every now and again:

$ dmesg -T|grep Synaptics
[Wed Feb 21 09:03:42 2024] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0 [Wed Feb 21 09:03:42 2024] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input2 [Wed Feb 21 11:10:53 2024] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer: Synaptics, product: TM2722-001, fw id: 0 [Wed Feb 21 11:10:53 2024] input: Synaptics TM2722-001 as /devices/pci0000:00/0000:00:1f.3/i2c-0/0-002c/rmi4-00/input/input34

So, even running this scripts, which I bound to keyboard shortcuts, this doesn't seem to work.

Sometimes the touchpad is recognised as "∼ Synaptics TM2722-001".

See that tilde? This makes it impossible to script it and it is a real nightmare.

How do I go about and troubleshoot the whole thing?

--
Ottavio Caruso

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


Reply to: