Apple Magic Trackpad freezes every few minutes on Lenovo Thinkpad P15s Gen2i running Ubuntu Lunar (23.04)
Summary
I recently started using an Apple Magic Trackpad (model A1339) on my Lenovo ThinkPad P15s Gen 2i with Ubuntu Lunar (23.04) installed. I noticed that roughly every few minutes or so, the trackpad would become unresponsive, and then the bluetooth manager would report a disconnect and a reconnect. I looked at the syslog and saw messages related to "Touch jump detected and discarded" and a URL indicating that I should report this issue.
Steps to reproduce
Unfortunately, I have not been able to find the exact way to reproduce this since it happens every few minutes. It occurs when I'm doing simple mouse movements with a single finger and when I'm trying to do complex activity, like selecting text.
Required information
- libinput version: libinput10:amd64 (1.22.1-1ubuntu0.1)
- hardware information: Lenovo ThinkPad P15s Gen 2
-
libinput record
output: touchpad.yml -
libinput debug-events --verbose
output: touchpad-debug-events.txt - syslog entries: syslog.txt
- udevadm info: udevadminfo.txt
- lshw info: lshw.txt
Ubuntu Mouse and Touchpad Settings
- Pointer Speed: midpoint between Slow and Fast
- Mouse Acceleration: Enabled (the default)
- Scroll Direction: Natural
- Tap To Click: Enabled
- Scrolling Method: Two Finger
- Scrolling Direction: Natural
modalias content
rlott@rlott-ThinkPad-P15s-Gen-2i:~$ cat /sys/class/dmi/id/modalias
dmi:bvnLENOVO:bvrN34ET56W(1.56):bd05/10/2023:br1.56:efr1.42:svnLENOVO:pn20W600ELUS:pvrThinkPadP15sGen2i:rvnLENOVO:rn20W600ELUS:rvrSDK0T76538WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20W6_BU_Think_FM_ThinkPadP15sGen2i
touchpad-edge-detector results
rlott@rlott-ThinkPad-P15s-Gen-2i:~/git/stash/MAG/txsunrpc$ sudo touchpad-edge-detector 130x110 /dev/input/event20
Touchpad System Administrator’s Trackpad on /dev/input/event20
Move one finger around the touchpad to detect the actual edges
Kernel says: x [-2909..3167], y [-2456..2565]
Touchpad sends: x [-2909..3031], y [-2445..2484] |^[^C
Touchpad size as listed by the kernel: 132x111mm
User-specified touchpad size: 130x110mm
Calculated ranges: 5940/4929
Suggested udev rule:
# <Laptop model description goes here>
evdev:input:b0005v05ACp030E*
EVDEV_ABS_00=-2909:3031:46
EVDEV_ABS_01=-2445:2484:45
EVDEV_ABS_35=-2909:3031:46
EVDEV_ABS_36=-2445:2484:45