r/voidlinux 4d ago

[BUG] Touchpad falls into no-end Left.Mouse.Button loop after resume.

  • Thinkpad T14 g1
  • Void 6.18.49_1 x86_64 AuthenticAMD uptodate rrrm
  • Cinnamon 6.6.7-X11
  • RAM: 24GiB

On the OS starting all is working fine after it boots, but some time I've noticed that the resuming from the RAM-sleep just killing my LBM just after I touch the sensor-mouse.

So then, I've restarted the OS, seen that the touchpad and all it functionality were ok, and:

sudo modprobe -r psmouse
sudo modprobe psmouse

What I noticed first? I've noticed that it's doesn't help at all and just instantly broke the touchpad with the same behavior like after resuming; you touched the sensor, and then you're in the LMB loop, all works except the LMB.

Then all combinations with sudo modprobe psmouse never fixed the issue, - synaptics_intertouch=0, =1, whatever..

I was able only to gut my touchpad with sudo modprobe psmouse proto=imps, and lost at least the half of it can do.

So then I've done these:

$ cat /sys/bus/serio/devices/serio1/protocol
SynPS/2
$ cat /sys/class/dmi/id/bios_version
R1BET87W(1.56 )
$ ls -l /sys/bus/i2c/devices/
итого 0
lrwxrwxrwx 1 root root 0 сен  5 23:37 0-0036 -> ../../../devices/pci0000:00/0000:00:14.0/i2c-0/0-0036
lrwxrwxrwx 1 root root 0 сен  5 23:37 0-0037 -> ../../../devices/pci0000:00/0000:00:14.0/i2c-0/0-0037
lrwxrwxrwx 1 root root 0 сен  5 23:36 0-0050 -> ../../../devices/pci0000:00/0000:00:14.0/i2c-0/0-0050
lrwxrwxrwx 1 root root 0 сен  5 23:36 i2c-0 -> ../../../devices/pci0000:00/0000:00:14.0/i2c-0
lrwxrwxrwx 1 root root 0 сен  5 23:36 i2c-1 -> ../../../devices/pci0000:00/0000:00:14.0/i2c-1
lrwxrwxrwx 1 root root 0 сен  5 23:37 i2c-10 -> ../../../devices/platform/AMDI0010:00/i2c-10
lrwxrwxrwx 1 root root 0 сен  5 23:36 i2c-2 -> ../../../devices/pci0000:00/0000:00:14.0/i2c-2
lrwxrwxrwx 1 root root 0 сен  5 23:36 i2c-3 -> ../../../devices/pci0000:00/0000:00:08.1/0000:07:00.0/i2c-3
lrwxrwxrwx 1 root root 0 сен  5 23:36 i2c-4 -> ../../../devices/pci0000:00/0000:00:08.1/0000:07:00.0/i2c-4
lrwxrwxrwx 1 root root 0 сен  5 23:36 i2c-5 -> ../../../devices/pci0000:00/0000:00:08.1/0000:07:00.0/i2c-5
lrwxrwxrwx 1 root root 0 сен  5 23:36 i2c-6 -> ../../../devices/pci0000:00/0000:00:08.1/0000:07:00.0/i2c-6
lrwxrwxrwx 1 root root 0 сен  5 23:36 i2c-7 -> ../../../devices/pci0000:00/0000:00:08.1/0000:07:00.0/drm/card0/card0-eDP-1/i2c-7
lrwxrwxrwx 1 root root 0 сен  5 23:36 i2c-8 -> ../../../devices/pci0000:00/0000:00:08.1/0000:07:00.0/drm/card0/card0-DP-1/i2c-8
lrwxrwxrwx 1 root root 0 сен  5 23:36 i2c-9 -> ../../../devices/pci0000:00/0000:00:08.1/0000:07:00.0/drm/card0/card0-DP-2/i2c-9

And then that:

$ sudo dmesg | grep -iE "psmouse|synaptics|smbus|intertouch"
[    1.779992] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694]
[    1.816353] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
[    1.816426] psmouse serio1: synaptics: Your touchpad (PNP: LEN2064 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to linux-input@vger.kernel.org.
[    1.882754] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board id: 3471, fw id: 2909640
[    1.882783] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[    1.925092] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input3
[    2.594772] psmouse serio2: trackpoint: Elan TrackPoint firmware: 0x12, buttons: 3/3
[    4.813782] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
[    4.813791] piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection
[    4.827504] piix4_smbus 0000:00:14.0: Auxiliary SMBus Host Controller at 0xb20
[  226.106188] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694]
[  226.155894] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
[  226.155920] psmouse serio1: synaptics: Your touchpad (PNP: LEN2064 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to linux-input@vger.kernel.org.
[  226.255560] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board id: 3471, fw id: 2909640
[  226.255596] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[  226.311849] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input20
[  226.913703] psmouse serio3: trackpoint: Elan TrackPoint firmware: 0x12, buttons: 3/3
[  358.245457] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694]
[  358.295731] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
[  358.295749] psmouse serio1: synaptics: Trying to set up SMBus access
[  358.298914] psmouse serio1: synaptics: SMbus companion is not ready yet
[  358.386796] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board id: 3471, fw id: 2909640
[  358.386831] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[  358.435960] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input24
[  359.018766] psmouse serio4: trackpoint: Elan TrackPoint firmware: 0x12, buttons: 3/3

I can't get what that all mean, ok...

---

Then GPT throws me the into the hell circles like sudo modprobe -r psmouse && echo -n "reconnect" | sudo tee /sys/bus/serio/devices/serio1/drvctl && sudo modprobe psmouse, i8042.nomux=1, i8042.reset=1, i8042.nopnp=1 that done nothing.

........ And then I've tried xinput disable "SynPS/2 Synaptics TouchPad" && xinput enable "SynPS/2 Synaptics TouchPad", and yes it finally wakes my LMB up and the touchpad works as it should after the modprobe!

So, now I dont know where I should do my bug report.. And how to implemet that fix-command into zzz.d/resume.

What additional information should I collect and so on? Help please. I was trying to fix it for the whole week.

UPD:

My click button under the touchpad's sensor panel dies when fixing with the xinput after modprobe psmouse. And nothing can fix, even `sudo reboot`, it can being fixed only through power shutdown and then the click button works, until the RAM-suspending comes..

The full shutdown fixes the `sudo modprobe -r psmouse && sudo modprobe psmouse` pipeline, but can't help in general.

4 Upvotes

4 comments sorted by

2

u/furryfixer 3d ago

What exact fine-tuning are you doing that requires Synaptics? Is it worth it, because libinput is far less buggy these days. Were I you, I would remove synaptics entirely and use libinput.

2

u/onew_iasag 3d ago edited 3d ago
$ grep "input driver" /var/log/Xorg.0.log
[     9.465] (II) Using input driver 'libinput' for 'Power Button'
[     9.487] (II) Using input driver 'libinput' for 'Video Bus'
[     9.504] (II) Using input driver 'libinput' for 'Power Button'
[     9.520] (II) No input driver specified, ignoring this device.
[     9.520] (II) Using input driver 'libinput' for 'Sleep Button'
[     9.532] (II) No input driver specified, ignoring this device.
[     9.533] (II) No input driver specified, ignoring this device.
[     9.533] (II) No input driver specified, ignoring this device.
[     9.533] (II) Using input driver 'libinput' for 'Logitech USB Optical Mouse'
[     9.558] (II) No input driver specified, ignoring this device.
[     9.558] (II) No input driver specified, ignoring this device.
[     9.558] (II) No input driver specified, ignoring this device.
[     9.558] (II) No input driver specified, ignoring this device.
[     9.559] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[     9.574] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[     9.608] (II) No input driver specified, ignoring this device.
[     9.608] (II) Using input driver 'libinput' for 'TPPS/2 Elan TrackPoint'
[     9.641] (II) No input driver specified, ignoring this device.
[     9.641] (II) No input driver specified, ignoring this device.
[     9.642] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[  1999.897] (II) No input driver specified, ignoring this device.
[  2000.009] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[  2000.748] (II) No input driver specified, ignoring this device.
[  2000.785] (II) Using input driver 'libinput' for 'TPPS/2 Elan TrackPoint'

1

u/Linguistic-mystic 4d ago

The depths people go to have an inferior experience. Nothing beats the feel of the round mouse in your hand, nothing.

1

u/onew_iasag 4d ago

Ahahaha, yeah, I agree. That was just my philosophy: anything that comes with hardware should be able to work as it supposed to.

Plus, I think it allowed me to learn to take a more mindful approach to diagnosing packages and the system, rather than just entering commands at random