Two-finger scrolling and click-and-drag no longer works after resuming from suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Confirmed
|
Medium
|
|||
kmod (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
I own a Thinkpad T440p onto which I have had Debian 9 running without hardware issues. I have recently installed Ubuntu 17.10 final beta to test it out, but two-finger scrolling does not work at the moment. It used to work out-of-the-box from the final beta iso, but a subsequent update broke it.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 10 09:20:01 2017
HibernationDevice: RESUME=
InstallationDate: Installed on 2017-10-05 (4 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
MachineType: LENOVO 20AN00C1UK
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.169
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/31/2016
dmi.bios.vendor: LENOVO
dmi.bios.version: GLET83WW (2.37 )
dmi.board.
dmi.board.name: 20AN00C1UK
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T440p
dmi.product.name: 20AN00C1UK
dmi.product.
dmi.sys.vendor: LENOVO
In Linux Kernel Bug Tracker #196719, johannes.w.seitz (johannes.w.seitz-linux-kernel-bugs) wrote : | #53 |
In Linux Kernel Bug Tracker #196719, johannes.w.seitz (johannes.w.seitz-linux-kernel-bugs) wrote : | #54 |
Correction: The latest mainline kernel that worked for me was 4.11.9 and *not* 4.12.6. Sorry!
In Linux Kernel Bug Tracker #196719, thomas (thomas-linux-kernel-bugs) wrote : | #55 |
I have the same problem with a Thinkpad T440s. What's interesting is that scrolling still works, but now requires 3 fingers instead of 2.
In Linux Kernel Bug Tracker #196719, johannes.w.seitz (johannes.w.seitz-linux-kernel-bugs) wrote : | #56 |
Created attachment 258041
attachment-
I just tried to reproduce this. Same here! It works with three fingers
instead of two. This is so weird!
On 21 August 2017 at 21:56, <email address hidden> wrote:
> https:/
>
> Thomas Bächler (<email address hidden>) changed:
>
> What |Removed |Added
> -------
> ----------------
> CC| |<email address hidden>
>
> --- Comment #2 from Thomas Bächler (<email address hidden>) ---
> I have the same problem with a Thinkpad T440s. What's interesting is that
> scrolling still works, but now requires 3 fingers instead of 2.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
In Linux Kernel Bug Tracker #196719, dmitry.torokhov (dmitry.torokhov-linux-kernel-bugs) wrote : | #57 |
Is it still shown as "SynPS/2 Synaptics" in 4.12 or became "Synaptics TM3289-002" or similar? I.e. did it switch over to RMI from PS/2? Can you try vanilla 4.12?
In Linux Kernel Bug Tracker #196719, johannes.w.seitz (johannes.w.seitz-linux-kernel-bugs) wrote : | #58 |
It did not change, it's still listed as follows:
Device: SynPS/2 Synaptics TouchPad
Kernel: /dev/input/event15
Group: 7
Seat: seat0, default
Size: 97x67mm
Capabilities: pointer
Tap-to-click: disabled
Tap-and-drag: enabled
Tap drag lock: disabled
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: *two-finger edge
Click methods: *button-areas clickfinger
Disable-w-typing: enabled
Accel profiles: none
Rotation: n/a
In Linux Kernel Bug Tracker #196719, dmitry.torokhov (dmitry.torokhov-linux-kernel-bugs) wrote : | #59 |
Here are the changes that went into Synaptics PS/2 driver:
git log --oneline v4.11.9..v4.12.7 -- drivers/
2fef826e45c6 Input: synaptics - tell users to report when they should be using rmi-smbus
f4101ff87daf Input: synaptics - warn the users when there is a better mode
f4947d79a708 Input: synaptics - keep PS/2 around when RMI4_SMB is not enabled
2755551188d2 Input: synaptics - clear device info before filling in
f6c4442bfa08 Input: synaptics - use u8 instead of unsigned char
212baf03a30a Input: synaptics - do not abuse -1 as return value
991d29fe02a7 Input: synaptics - use BIT() and GENMASK() macros
2c6ecbba90d4 Input: synaptics - add synaptics_
e839ffab0289 Input: synaptics - add support for Intertouch devices
6c53694fb222 Input: synaptics - split device info into a separate structure
996b9eedd061 Input: synaptics - do not mix logical and bitwise operations
The one I'd looked closer at is "991d29fe02a7 Input: synaptics - use BIT() and GENMASK() macros"> Can you try reverting them one by one and see which one is at fault?
Ghislain Vaillant (ghisvail) wrote : | #1 |
- AlsaInfo.txt Edit (43.4 KiB, text/plain; charset="utf-8")
- CRDA.txt Edit (252 bytes, text/plain; charset="utf-8")
- CurrentDmesg.txt Edit (194.7 KiB, text/plain; charset="utf-8")
- Dependencies.txt Edit (3.1 KiB, text/plain; charset="utf-8")
- IwConfig.txt Edit (580 bytes, text/plain; charset="utf-8")
- JournalErrors.txt Edit (109.0 KiB, text/plain; charset="utf-8")
- Lspci.txt Edit (12.4 KiB, text/plain; charset="utf-8")
- Lsusb.txt Edit (736 bytes, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (7.9 KiB, text/plain; charset="utf-8")
- ProcCpuinfoMinimal.txt Edit (1004 bytes, text/plain; charset="utf-8")
- ProcEnviron.txt Edit (115 bytes, text/plain; charset="utf-8")
- ProcInterrupts.txt Edit (4.1 KiB, text/plain; charset="utf-8")
- ProcModules.txt Edit (7.7 KiB, text/plain; charset="utf-8")
- PulseList.txt Edit (24.2 KiB, text/plain; charset="utf-8")
- RfKill.txt Edit (196 bytes, text/plain; charset="utf-8")
- UdevDb.txt Edit (186.3 KiB, text/plain; charset="utf-8")
- WifiSyslog.txt Edit (1.4 MiB, text/plain; charset="utf-8")
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed | #2 |
This change was made by a bot.
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Ghislain Vaillant (ghisvail) wrote : Re: Two-finger scrolling no longer works with Ubuntu 17.10 | #3 |
I managed to get two-finger scrolling working after installing the Intel microcode firmware package.
No idea whether this is a true fix for it or just luck though.
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Incomplete |
Ghislain Vaillant (ghisvail) wrote : | #4 |
Sigh, and it broke again after this morning's updates and a reboot. Here is a list of the updates in question if it can be of any help:
Start-Date: 2017-10-11 09:06:14
Commandline: apt upgrade
Requested-By: ghislain (1000)
Upgrade: poppler-utils:amd64 (0.57.0-2ubuntu2, 0.57.0-2ubuntu4), libseccomp2:amd64 (2.3.1-2.1ubuntu2, 2.3.1-2.1ubuntu3), update-
End-Date: 2017-10-11 09:06:23
Since these updates, I can no longer use two-finger scrolling but still can enable edge-scrolling as a substitute.
Ghislain Vaillant (ghisvail) wrote : | #5 |
Now it's back after the latest kernel update.
Ghislain Vaillant (ghisvail) wrote : | #6 |
And it's gone again :(
Kai-Heng Feng (kaihengfeng) wrote : | #7 |
Does "synclient HorizTwoFingerS
Ghislain Vaillant (ghisvail) wrote : | #8 |
> Does "synclient HorizTwoFingerS
No, since xserver-
Kai-Heng Feng (kaihengfeng) wrote : | #9 |
Maybe try xserver-
Ghislain Vaillant (ghisvail) wrote : Re: Two-finger scrolling no longer works after resuming from suspend | #10 |
I found a reproducible setup for this bug: I can get 2-finger scrolling to work after a fresh boot, but it stops working after resuming from suspend.
summary: |
- Two-finger scrolling no longer works with Ubuntu 17.10 + Two-finger scrolling no longer works after resuming from suspend |
Kai-Heng Feng (kaihengfeng) wrote : | #11 |
Please try kernel here:
Ghislain Vaillant (ghisvail) wrote : | #12 |
I have installed your kernel:
$ uname -r
4.13.0-17-generic
Still, two-finger scrolling does not work after suspend/resume.
Kai-Heng Feng (kaihengfeng) wrote : | #13 |
You need to do a kernel bisection then.
Find the first mainline kernel release that make your touchpad cease to work in http://
Ghislain Vaillant (ghisvail) wrote : | #14 |
I suppose I should start at kernel 4.10, since it was working with kernel 4.9 on Debian Stretch.
Kai-Heng Feng (kaihengfeng) wrote : | #15 |
Make sure v4.9 is good and v4.10 is bad, then find the first version of v4.10-rc* that has this problem.
Jean Demange (jea-demange) wrote : | #16 |
The bug affects me as well, same machine. In the mean time, to avoid rebooting, you can reload the module, as super user:
modprobe -r psmouse
modprobe psmouse
This fix the problem for me.
Thorsten (thorstenr-42) wrote : | #17 |
also affects me! I am using thinkpad t440s
Thorsten (thorstenr-42) wrote : | #18 |
also occurs on fedora: https:/
Sheldon Johnson (shayolden) wrote : | #19 |
Also affects me on a Thinkpad T440 in Ubuntu 17.10
Thorsten (thorstenr-42) wrote : | #20 |
so i tested some kernels from http://
and found:
4.11.12 -- working
4.12-rc1 -- bug occurs
i tested it by installing a specific kernel and first verified that two finger scrolling is working and then tested if it is still working after a suspend/resume.
What would be the next necessary steps to identify which commit causes this bug?
Kai-Heng Feng (kaihengfeng) wrote : | #21 |
First, make sure 4.11 is working.
I can build kernel for you, but it will take a dozen iterations.
It can be much faster if you build your own kernel locally,
$ sudo apt install git
$ sudo apt build-dep linux
$ git clone git://git.
$ cd linux
$ git bisect start
$ git bisect good v4.11
$ git bisect bad v4.12-rc1
$ make localmodconfig
$ make -j`nproc` deb-pkg
Install the newly built kernel.
If the issue still happens,
$ git bisect bad
...otherwise,
$ git bisect good
Repeat to "make -j`nproc` deb-pkg" until you find the commit that causes the regression.
Willem Vermeylen (fgod1983) wrote : | #22 |
having the same issue with my t440p thinkpad after updating from 17.04 to 17.10...
can somebody please explain how i install the working kernel (4.11.12) were Thorsten was talking about? Because this bug is really annoying as this is my working laptop...
Ghislain Vaillant (ghisvail) wrote : | #23 |
@fgod1983
Download the .deb files for amd64 listed in http://
Thorsten (thorstenr-42) wrote : | #24 |
@ kaihengfeng
So i did the bisecting as you described (thanks for that!) and I hope that i did everything right. For the questions during the config i always just pressed enter so that the default choice is used.
It's the first time i did this so please be skeptical with my findings!
So after a hours of building kernels, i got the following results:
first bad commit: [0be75179df5e20
To verify the result i booted the default kernel and removed all self build kernels. Afterwards
i checkout the last good commit (according to the bisect log):
$ git checkout 523aa3586ffb1fc
and build a kernel and tested this -> is working
Then the same with the first bad commit:
$ git checkout 0be75179df5e203
again build a kernel and tested this -> not working.
What i find strange is, if i count the number of commits betweens these two hashes i get the following:
$ git rev-list 0be75179df5e203
8860
I thought bisecting would give me more precisely the wrong commit? So what are the next steps?
@ fgod1983/ghisvail
better only use the gernic parts and not the lowlatency stuff, for example i only download:
- linux-headers-
- linux-headers-
- linux-image-
into one new folder and then used
$sudo dpkg -i *.deb
in this folder. However, non default kernels mean you have to update the kernel manually, so maybe default kernel and as described above
$ sudo modprobe -r psmouse
$ sudo modprobe psmouse
is the better choice in the meantime (or use ubuntu lts)
Willem Vermeylen (fgod1983) wrote : | #25 |
the modprobe trick works (thank god), this helps a lot! I will see if i can install the kernel that does work and see how this works with all the rest of my laptop!
thanks for the info guys! I sure hope this is getting fixed soon though :)
Kai-Heng Feng (kaihengfeng) wrote : | #26 |
Thorsten,
That means something went wrong in the bisection process.
Probably the issue does not happen all the time?
Here's my suggestion:
- Instead of warm boot (reboot), always do a cold boot (shutdown then boot).
- Test with more S3 cycles before next bisect.
Thorsten (thorstenr-42) wrote : | #27 |
Hi, so i have tried it again with much more testing etc. However, i got some problems and i had to abort bisecting
so the last good commit was a71c9a1c779f
and the last bad commit was 03b22057e8ed
The amount of commits between these two hashes:
git rev-list ^a71c9a1c779f 03b22057e8ed --count
58
I checkout these two commits again manually and build the kernels again. And verified it.
Then next commit was a01cd17000a4 and this one fails to build:
CC [M] drivers/
CC [M] drivers/
LD [M] drivers/
LD drivers/
LD drivers/
LD drivers/built-in.o
GEN .version
CHK include/
UPD include/
CC init/version.o
LD init/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
kernel/built-in.o: In function `update_wall_time':
/home/.
Makefile:969: recipe for target 'vmlinux' failed
make[2]: *** [vmlinux] Error 1
scripts/
make[1]: *** [deb-pkg] Error 2
Makefile:1329: recipe for target 'deb-pkg' failed
make: *** [deb-pkg] Error 2
what i dont understand is the distances betweens these commits:
git rev-list ^a71c9a1c779f a01cd17000a4 --count
28
git rev-list ^a01cd17000a4 03b22057e8ed --count
13959
Does this make any sense? so i don't know how to get any further...
Jan Ypma (jypma) wrote : | #28 |
Also affects me (T540p) on 4.13.11-1-ARCH (arch linux default), since a recent (kernel?) upgrade. Modprobe workaround works for me.
Kai-Heng Feng (kaihengfeng) wrote : | #29 |
Checking the commits between from a71c9a1c779f to 03b22057e8ed, this one looks very suspicious.
Can you revert this commit and see if this the culprit?
commit 0ab3fa57425023f
Author: Dmitry Torokhov <email address hidden>
Date: Sun Mar 5 23:19:22 2017 -0800
Input: psmouse - implement fast reconnect option
Make use of serio's fast reconnect option and allow psmouse protocol
handler's to implement fast reconnect handlers that will be called during
system resume.
Reviewed-by: Benjamin Tissoires <email address hidden>
Signed-off-by: Dmitry Torokhov <email address hidden>
M drivers/
M drivers/
Thorsten (thorstenr-42) wrote : | #30 |
Hi, i have some problems reverting the commit. This is what i did:
$ git checkout 03b22057e8ed
$ git revert 0ab3fa57425023f
error: could not revert 0ab3fa574250... Input: psmouse - implement fast reconnect option
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
$ git status
HEAD detached at 03b22057e8ed
You are currently reverting commit 0ab3fa574250.
(fix conflicts and run "git revert --continue")
(use "git revert --abort" to cancel the revert operation)
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: drivers/
Unmerged paths:
(use "git reset HEAD <file>..." to unstage)
(use "git add <file>..." to mark resolution)
both modified: drivers/
I didn't want to mess around with kernel files and therefore tried to build a kernel prior to this commit:
git checkout 0ab3fa57425023f
however this doesn't build with the same error as above.
could you please supply us a kernel without this commit? maybe even v4.13.11? This would also allow others to check it?
Kai-Heng Feng (kaihengfeng) wrote : | #31 |
Linux kernel built with the commit:
http://
Prior to the commit:
http://
Thorsten (thorstenr-42) wrote : | #32 |
Hi, thanks for the kernels. Unfortunately both are working fine :/ Was there another commit touching the psmouse-base.c between the good and bad commit (since i couldn't revert the commit easily)?
Kai-Heng Feng (kaihengfeng) wrote : | #33 |
Use 0ab3fa57425 as good,
03b22057e8ed as bad.
Let's start a new bisection between these two commits:
http://
Thorsten (thorstenr-42) wrote : | #34 |
hi, this kernel has the bug
Brendan Desmond (brendes) wrote : | #35 |
Hi, I am running Ubuntu 17.10 GNOME with Wayland using a Thinkpad T440 as well. Installing `intel-microcode` fixed the issue immediately. I'm assuming this is proprietary code :\
André (afsverissimo) wrote : | #36 |
I can confirm that the this last kernel does not work (lp1722478-
On a Thinkpad T440s
ps. modprobe workaround also works, while installing intel-microcode does not (had it previously)
Brendan Desmond (brendes) wrote : | #37 |
Hello again, I spoke too soon. Problem went away immediately after installing `intel-microcode` but returned after suspend and resume.
Kai-Heng Feng (kaihengfeng) wrote : | #38 |
Sorry for the late reply, here's the next one,
Thorsten (thorstenr-42) wrote : | #39 |
Hi, this one is working fine for me!
Kai-Heng Feng (kaihengfeng) wrote : | #40 |
Commit 6c53694fb222374
Thorsten (thorstenr-42) wrote : | #41 |
hi, this is also working fine for me
Kai-Heng Feng (kaihengfeng) wrote : | #42 |
e839ffab028981a
commit e839ffab028981a
Author: Benjamin Tissoires <email address hidden>
Date: Thu Mar 2 14:13:53 2017 -0800
Input: synaptics - add support for Intertouch devices
Most of the Synaptics devices are connected through PS/2 and a different
bus (SMBus or HID over I2C). The secondary bus capability is indicated by
the InterTouch bit in extended capability 0x0C.
We only enable the InterTouch device to be created for the laptops
registered with the top software button property or those we know that are
functional. In the future, we might change the default to always rely on
the InterTouch bus. Currently, users can enable/disable the feature with
the psmouse parameter synaptics_
Signed-off-by: Benjamin Tissoires <email address hidden>
Signed-off-by: Dmitry Torokhov <email address hidden>
In Linux Kernel Bug Tracker #196719, kai.heng.feng (kai.heng.feng-linux-kernel-bugs) wrote : | #60 |
There's another report at Launchpad [1].
The bisection result says e839ffab028981a
[1] https:/
Kai-Heng Feng (kaihengfeng) wrote : | #43 |
Fortunately that commit introduces an extra knob, so you can use "psmouse.
Thorsten (thorstenr-42) wrote : | #44 |
hi, thanks a lot! I'm now using 4.13 with this parameter at it is working fine!
For others you have to edit the file /etc/default/grub and change the line:
GRUB_
to
GRUB_
then
Thorsten (thorstenr-42) wrote : | #45 |
(sry for the second post)
then
sudo update-grub
and reboot
Willem Vermeylen (fgod1983) wrote : | #46 |
thx for this temporary fix, it works great!
Alvaro Callejas (amartin1911) wrote : | #47 |
Thanks for this workaround. I can confirm it works on a Thinkpad T450s
Simon (simsamsom) wrote : | #48 |
Works on T440s too.
chudur-budur (kopa-shamsu) wrote : | #49 |
This bug still persists on ubuntu 18.04, I had to add this kernel parameter psmouse.
information type: | Public → Public Security |
Alessandro (castu92) wrote : | #50 |
Hi. I have this problem too on T440s with 18.04 (kernel 4.15.0-22). The previous workaround worked perfectly for me.
Scott Deagan (scott-deagan) wrote : | #51 |
I experienced the same issue on my ThinkPad T450s running Kubuntu 18.04 (two-finger scrolling stops working after opening the lid and resuming). Adding kernel parameter "psmouse.
EAB (adair-boder) wrote : | #52 |
Ubuntu 18.04 kernel 4.15.0-22-generic T440p - same problem with two-finger scrolling. Will wait until this is fixed in an update ... how long will that be?
In Linux Kernel Bug Tracker #196719, f_bugzilla (fbugzilla-linux-kernel-bugs) wrote : | #61 |
This bug is still present on 4.15.0 (Ubuntu 18.04). I haven't tested mainline yet.
I am working around the issue with the kernel parameter "psmouse.
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Süphan Barzani (suphan-barzani) wrote : Re: Two-finger scrolling no longer works after resuming from suspend | #62 |
I have a Lenovo Thinkpad L450, I experienced this bug on 4.15.0 (Ubuntu 18.04) and the kernel parameter "psmouse.
Kai-Heng Feng (kaihengfeng) wrote : | #63 |
Hi, please remove psmouse.
Ghislain Vaillant (ghisvail) wrote : | #64 |
I no longer own this laptop (Thinkpad T440p), so I am not in a position to do further testing.
Juan Navarro (j1elo) wrote : | #65 |
@kaihengfeng I can confirm that commenting out that line does indeed solve the problem.
$ cat /etc/default/grub
GRUB_DEFAULT=saved
GRUB_SAVEDEFAUL
GRUB_HIDDEN_
GRUB_TIMEOUT=10
GRUB_DISTRIBUTO
GRUB_CMDLINE_
GRUB_CMDLINE_
$ cat /etc/modprobe.
(...)
# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
# blacklist i2c_i801 <-- COMMENTED OUT
(...)
Which means that, whatever does the module 'i2c_i801' to cause suspend failures on the HP Compaq NC6000, it also in direct or indirect charge of making the two-finger scrolling work on the Lenovo Thinkpad series T400.
My system:
Lenovo Thinkpad T450s
Linux Mint 18.3 (based on Ubuntu 16.04 Xenial)
$ uname -a
Linux ThinkPad 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Georgi Georgiev (chutz) wrote : | #66 |
This bug is also present on an X1 Carbon (gen 3).
modprobe i2c-i801 after removing it from the blacklist.conf seems to solve the issue.
Séverin Lemaignan (skadge) wrote : | #67 |
I confirm that @chutz workaround (modprobing i2c-i801) fixes the problem on my X1 Carbon 3rd gen as well.
Nico Schlömer (nschloe) wrote : | #68 |
The problem is also present on the ThinkPad X280, worked around by
```
modprobe -r psmouse
modprobe psmouse
```
Robin (brobert420) wrote : | #69 |
Commenting out blacklist i2c_i801 did end with mouse not working at all after wakeup but adding psmouse.
Mark Fickett (markfickett) wrote : | #70 |
I have a Thinkpad X1 Carbon 5th gen, and am also affected. Modprobing psmouse also temporarily fixes for me (but if comes back if I close the lid of my laptop and wake it up again), and adding the synaptics_
It only started happening in the last few days, and I generally install updates whenever they are available, though I haven't been using my laptop every day (so it may have started happening in the last week or two at most). I'm surprised it did only start recently, given this bug was filed a while back.
$ uname -a
Linux x1carbon 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
$ sudo apt-get install libinput-tools & sudo libinput list-devices
Device: SynPS/2 Synaptics TouchPad
Kernel: /dev/input/event6
Group: 8
Seat: seat0, default
Size: 100x56mm
Capabilities: pointer gesture
Tap-to-click: disabled
Tap-and-drag: enabled
Tap drag lock: disabled
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: *two-finger edge
Click methods: *button-areas clickfinger
Disable-w-typing: enabled
Accel profiles: none
Rotation: n/a
antidrugue (antidrugue) wrote : | #71 |
I can also confirm that this affects the Lenovo ThinkPad Carbon 5th gen. After resuming from suspend to ram the touchpad is broken -- two-finger gesture doesn't work.
$ sudo dmidecode -t system | grep -i "system information" -A 3
System Information
Manufacturer: LENOVO
Product Name: 20HRS14W00
Version: ThinkPad X1 Carbon 5th
A temporary workaround is to reload the module "psmouse" after resume.
$ sudo modprobe -r psmouse && sudo modprobe psmouse
Disabling the blacklisting of module "i2c_i801" as suggested by kaihengfeng (thanks!) does fix the issue for good.
$ sudo sed -i 's/^blacklist\ i2c_i801/
Some other thoughts:
* Review if the fix for #16602 is still pertinent (the blacklisting of i2c_i801 was apparently added for a machine which is now almost 15 years old and wrongly refers to Ubuntu bug #10306)
* The blacklisting of i2c_i801 also break some other things, see #1475945 (blacklisting i2c_i801 breaks trackpad detection on Acer C710, plus other hardware)
* Confirm the link with kernel commit e839ffab028981a
David Chalmers (dchalmers) wrote : | #72 |
Also on ThinkPad X1 Carbon 5th
Linux x1-cosmic 4.18.0-10-generic #11-Ubuntu SMP Thu Oct 11 15:13:55 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Synaptics touchpad
xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)]
⎜ ↳ TPPS/2 ALPS TrackPoint id=12 [slave pointer (2)]
Two finger scroll reproducibly stops working after suspend.
workaround of editing /etc/defaults/grub line to
GRUB_CMDLINE_
does work.
Joseph (joseh) wrote : | #73 |
I managed to get two-finger scrolling working after installing the Intel microcode firmware package.
Stéphane Guillou (stephane-guillou) wrote : | #74 |
As the model hasn't been mentioned here yet, I thought I'd report that it also affects me on a ThinkPad X250 with Ubuntu 18.04.
The two commands in comment #16 do fix it momentarily.
Sicabol (sicabol) wrote : | #75 |
Same problem for me with Ubuntu 18.10 on ThinkPad T550. The two commands in #16 fix it till the next sleep.
Hai NGUYEN VAN (psaxl) wrote : | #76 |
Observed similar behavior on Ubuntu 18.04 with ThinkPad X280
Jani Jaakkola (jj-lousa) wrote : | #77 |
Just confirming this: This keeps happening with Thinkpad X280.
Andrew (amorris28) wrote : | #78 |
Same problem on Thinkpad X1 Carbon 5th Gen with Ubuntu 18.04
Currently using kernel 4.15.0-38-generic
Commands in comment #16 resolve the problem until next suspend.
Matteo Baldoni (baldoni) wrote : | #79 |
Same problem on Thinkpad X1 Carbon 3rd Gen with Ubuntu 18.04 and 18.10.
Currently using kernel 4.18.0-10-generic.
Commands in #16 resolve the problem for 18.10, not tested for 18.04.
Andrew (amorris28) wrote : | #80 |
This workaround in comment #72 works for me; two finger scrolling and click-and-drag work after resuming from suspend.
Add the following line to this file: `/etc/defaults/
> GRUB_CMDLINE_
Then run `update-grub`
Lungten Wangchuk (lungten) wrote : | #81 |
Another X1 Carbon 5th gen user confirming this bug, running Ubuntu 18.04.1 with kernel 4.15.0-38-generic.
So, my findings reconfirm what other users have reported:
a) post #16 works as a temporary non-persistent fix
b) posts #43 and #63 are persistent fixes
The difference between #43 and #63 is that #63 takes about 5-6 seconds more than #43 to put the computer to sleep upon closing the lid. Just my two cents.
Alex S (the-best-username-ever) wrote : | #82 |
And yet another X1 Carbon 5th gen running 4.18.0-10-generic and Ubuntu 18.10 issue present. One of #16, #43 and #63 helps to mitigate the problem. Thanks a lot to all the contributors!
Florian Geier (geier-florian) wrote : | #83 |
I can also confirm that this problem still exists with a fresh install of Ubuntu 18.10 with kernel 4.18.0.. I will try the psmouse.
Zoltan Marcsek (lord-potato) wrote : | #84 |
It affects me too, on fresh Ubuntu 18.04 on Thinkpad X240. The two finger scrolling works until suspend/resume, after that only the three-finger one, but not without glitches. The modprobe command disables both my touchpad and trackpoint.
Zoltan Marcsek (lord-potato) wrote : | #85 |
Sorry, I messed up something last time. #16 (the modprobe thing) fixes it temporarily.
आर्य (arya108) wrote : | #86 |
For Ubuntu 18.04 on ThinkPad-11e, kernel version 4.15.0-38-generic:
A) comment #44 and #45 solves the issue completely.
B) comment #16 works temporarily/
C) comment #63 "blacklist i2c_i801" does not exist in /etc/modprobe.
corentin barbu (corentin-barbu) wrote : | #87 |
Similar problem here on brand new Dell precision 7530 sold with Ubuntu 16.04...
uname -a:
Linux atlas 4.15.0-39-generic #42~16.04.1-Ubuntu SMP Wed Oct 24 17:09:54 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The two finger scrolling -and tap to click- stops working after suspend but none of the temporary or supposedly permanent fixes listed in #86 work, no "blacklist i2c_*" in /etc/modprobe.
Kai-Heng Feng (kaihengfeng) wrote : | #88 |
corentin barbu, please file a new bug as Precision 7530 uses a different touchpad.
Edgar Martinez (ewmartinez) wrote : | #89 |
Comment #44 and #45 worked fine for me. I have a Lenovo ThinkPad T440
Thaks
Evgeniy Zhabotinskiy (evg-zhabotinsky) wrote : | #90 |
Thinkpad T540p, same as comment #86: reloading psmouse fixes the problem until next suspend, setting psmouse.
Extra note: i2c_i801 isn't blacklisted, but does not load by itself either. Having it loaded (including before psmouse) seems to have no effect on multitouch getting messed up on resume.
Dan Marinescu (dmarinescu) wrote : | #91 |
Bug affects Ubuntu 18.10 on W540 as well. Confirm psmouse.
Kai-Heng Feng (kaihengfeng) wrote : | #92 |
This will be solved once LP: #1802135 is "Fix Released".
In Linux Kernel Bug Tracker #196719, admin (admin-linux-kernel-bugs) wrote : | #93 |
I can confirm this issue is still present in 18.04 with a new model W540. If anyone wants me to provide any info, please let me know what you would like. Will be glad to help.
In Linux Kernel Bug Tracker #196719, kai.heng.feng (kai.heng.feng-linux-kernel-bugs) wrote : | #94 |
Try removing "blacklist i2c_i801" from /etc/modprobe.
In Linux Kernel Bug Tracker #196719, admin (admin-linux-kernel-bugs) wrote : | #95 |
Thanks for the tip Kai-Heng Feng. It appears this resolves the issue thus far with the two finger click issue, but it seems not to recognize the two finger scroll still however I think that should probably be a different issue.
decimus (h-matthias-u) wrote : Re: Two-finger scrolling no longer works after resuming from suspend | #96 |
For Robin (brobert420), who in comment #69:
> Commenting out blacklist i2c_i801 did end with mouse not working at all after
> wakeup […]. I got an L440. Ubuntu 18.04 4.19rc1
I had the same problem with a ThinkPad T440s on Ubuntu 19.10 beta. (Just that there was no blacklist entry in /etc/modprobe.
However, when I instead use the module name with a "-" instead of "_":
modprobe i2c-i801
then it works immediately to restore two-finger scrolling, and two-finger scrolling keeps working after a suspend-and-resume cycle.
In other news, this bug is still present in Ubuntu 19.10.
decimus (h-matthias-u) wrote : | #97 |
Ok, I meant "still present in Ubuntu 19.04" in the last comment :D
Also worth mentioning: the "sudo modprobe i2c-i801" fix also restores the two-finger-tap right clicking behavior, which was also broken alongside two-finger scrolling. But there was no three-finger-
Georgi Georgiev (chutz) wrote : | #98 |
kmod (25-1ubuntu3) disco; urgency=medium
* Drop i2c_i801 from the blacklist again, things work fine with
current kernels. (LP: #1786574)
-- Timo Aaltonen <email address hidden> Thu, 04 Apr 2019 11:30:14 +0300
...
The above fixed it for me.
Brent Warner (brentmwarner) wrote : | #99 |
I have a T440s running 18.04.2 after I close the lid and reopen to continue session, the scrolling on my trackpad gets lagged and the pointer seems off. I have to to a restart to make things normal again. I followed the fix on comment #44 and #45 and after suspend my scroll completely stopped working. Any help or tips from the other users with T440s'?
Thanks,
Brent Warner (brentmwarner) wrote : | #100 |
disregard my post. Seems to work now after I rebooted. Just tested closing the lid reopening and it works fine. I'll post on here if I find any further issues. Thanks
fredm (fredm) wrote : | #101 |
The instructions in comments #44 and #45 totally solved this for me! Thank you.
Further, I think my machine is now going to sleep more reliably :)
Charney Kaye (charneykaye) wrote : | #102 |
I was not having any issue with two-finger scrolling on my T560 and kernel 4.18.0-18-generic. I was trying to resolve a separate problem, that the pointing stick pointing in the center of the keyboard wasn't functioning, and would in fact cause the touchpad to stop functioning if I attempted to use it. The pointing stick's function was restored by adding psmouse.proto=imps to my bootloader options. However, now my touchpad 1) refuses to send scroll events, and 2) refuses to stop emulating mouse clicks (even after it's been disabled in tweaks). I've attempted every fix on this thread, with no success. Some of them cause the pointing stick to stop working again.
Charney Kaye (charneykaye) wrote : | #103 |
Quick follower to my own #102, it turns out that my machine simply needed to be started twice with the bootloader option psmouse.proto=imps set. The first time shook something looks in Gnome which resulted in a notification appearing about a minute after boot, "software update made that require restart." After the restart, when I open my Mouse & Touchpad control panel, the two-finger/
Jon Danniken (jonzilla) wrote : | #104 |
Hardware: Thinkpad T440s
OS/Kernel: Kubuntu 18.04/4.
Driver: mtrack
Also experienced this bug. The temporary fix (modprobe) worked, but commenting out the "blacklist i2c_i801" line resulted in the machine not finding the touchpad on reboot.
I was able to successfully fix this issue by changing /etc/default/grub as stated in post 43.
tags: | added: cscc |
Lasha Abulashvili (webgen) wrote : | #105 |
#44 & #45 solve the issue
In Linux Kernel Bug Tracker #196719, Claudio Matsuoka (cmatsuoka) wrote : | #106 |
Just adding a quick note that I experienced this problem on a Thinkpad T480 running 18.04, after updating to 4.15.0-62-generic. Going back to 4.15.0-55-generic fixes the issue. I didn't check -58 and -60 to see how they behave, but I should do that as soon as I have time for that. Note that it may also be a different issue with the same symptoms. This is also a SynPS/2 Synaptics device.
Georgi Georgiev (chutz) wrote : | #108 |
This is getting creepier. Even though as I said in comment #66 I was able to fix this with modprobe i2c-i801, it no longer works after upgrading from 5.0.0-27-generic to 5.0.0-29-generic.
However, the fix from comment #16 works.
modprobe -r psmouse
modprobe psmouse
summary: |
- Two-finger scrolling no longer works after resuming from suspend + Two-finger scrolling and click-and-drag no longer works after resuming + from suspend |
J.Gabriels (joga) wrote : | #109 |
On my ThinkPad T580, I have the same issue. Two-finger scrolling no long works after suspend.
The problems started after the upgrade to kernel:
5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
ljetibo (ljetibo) wrote : | #110 |
ThinkPad T580, trying to fix random secondary mouse button click events had me try out the xinput-xwe-18.04 package when I noticed the same problem. Randomly timed middle button clicks had not gone away.
Launchpad Janitor (janitor) wrote : | #111 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in kmod (Ubuntu): | |
status: | New → Confirmed |
Tim Richardson (tim-richardson) wrote : | #112 |
With my T480 and the 5.0 ubuntu kernel, and the 5.3 in the proposed PPA, two finger scrolling does not work unless I specify psmouse.
or =1
either value fixes it.
clayg (clay-gerrard) wrote : | #113 |
After a reboot applied an automatic system update I applied today to my 18.04.3 LTS IBM ThinkPad X1 Carbon my mouse wasn't working!
Some comments in scripts I'd left around helped me found my way back to this bug and ...
modprobe -r i2c-i801
... fixed the immediate issue.
But I saw the "scroll doesn't work after suspend" issue again.
Right now I've un-commented the i2c_i801 in /etc/modprobe.
Mavax (maxime-raynal) wrote : | #114 |
Same issue on Ubuntu 18.04.3 (kernel 4.15.0-72) with a Lenovo Thinkpad E580.
Dan Kortschak (dan-kortschak) wrote : | #115 |
Also on 18.04.3 with 5.3.0-26-generic on a clevo p650re.
In Linux Kernel Bug Tracker #196719, benh (benh-linux-kernel-bugs) wrote : | #116 |
The bug is still present in 5.3 (from Ubuntu). I haven't had a chance to check upstream yet. Is any maintainer monitoring this ?
Aethralis (aethralis) wrote : | #117 |
I started to experience this bug now after kernel update, 4.15.0-96-generic, 18.04.4, Thinkpad-T470s.
Changed in linux (Ubuntu): | |
status: | Incomplete → Invalid |
thrantir (thrantir) wrote : | #118 |
I got this issue on Ubuntu 20.04 too... on this laptop I had a similar problem on the 19.10, the touchpad didn't work at all after resum from suspend, i used to fix that calling
sudo rmmod i2c_hid
sudo modprobe i2c_hid
and it works too on this issue on 20.04, shall we provide some more informations to solve the problem at its root?
aphid (aphid) wrote : | #119 |
thrantir's solution works for me in 20.04, is there a way to make this automatic on wake?
Owen Williams (ywwg) wrote : | #120 |
Also seeing the same behavior on 20.04
In Linux Kernel Bug Tracker #196719, jeremy9856 (jeremy9856-linux-kernel-bugs) wrote : | #121 |
I have the same problem on my Thinkpad x240 with Ubuntu 20.04
Linux E5450 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
This kernel parameter workaround "psmouse.
In Linux Kernel Bug Tracker #196719, contact.han (contact.han-linux-kernel-bugs) wrote : | #123 |
I can confirm this is still very much an issue on elementary 6 based on Ubuntu LTS 20.04, also includes jittering and jumping every so often even with the kernel peramiter workaround mentioned in other comments
In Linux Kernel Bug Tracker #196719, jb.kernel (jb.kernel-linux-kernel-bugs) wrote : | #124 |
I've submitted a fix to the input maintainers. I've been running this since the 23rd and it seems to be fine. No need to pass any params to the driver to change the protocol or anything like that.
It's yet to be reviewed but since it's a single line change I'd hope it'll get look at at some point soon.
You can test the patch yourself in your own build.
https:/
In Linux Kernel Bug Tracker #196719, contact.han (contact.han-linux-kernel-bugs) wrote : | #125 |
Created attachment 294373
attachment-
I'm also experiencing periodic jitteryness of the touchpad tracking, but I've no clue as to how to reproduce it. It seeming starts at random, and causes any sort of tracking to make the cursor jump vertically (oddly never horizontally) while being moved. This may be a hardware issue, but since I'm unable to test the patch I will have to try it when it gets merged.
28 Aralık 2020 Pazartesi tarihinde, 12:29 saatinde, <email address hidden> şöyle yazmış:
> https:/
>
> Justin Busby (<email address hidden>) changed:
>
> What |Removed |Added
> -------
> CC| |<email address hidden>
>
> --- Comment #15 from Justin Busby (<email address hidden>) ---
> I've submitted a fix to the input maintainers. I've been running this since
> the
> 23rd and it seems to be fine. No need to pass any params to the driver to
> change the protocol or anything like that.
>
> It's yet to be reviewed but since it's a single line change I'd hope it'll
> get
> look at at some point soon.
>
> You can test the patch yourself in your own build.
>
>
> https:/
>
> --
> You may reply to this email to add a comment.
>
> You are receiving this mail because:
> You are on the CC list for the bug.
In Linux Kernel Bug Tracker #196719, jb.kernel (jb.kernel-linux-kernel-bugs) wrote : | #126 |
I sometimes get the jitter too but I've yet to find a reliable way to reproduce it.
I also get low speed jitter where the packets reported to the interrupt handler don't have new x and y coords but the pressure is changing. This results in jerkiness at very low speed which I can reliably reproduce.
This looks to some extent like h/w (or rather touchpad firmware) but i need to work my way down the input stack to convince myself of that yet.
I'm trying to work through touchpad related stuff this week as i have some spare time. I'll update if i get anywhere.
In Linux Kernel Bug Tracker #196719, jeremy9856 (jeremy9856-linux-kernel-bugs) wrote : | #127 |
I don't know if it's related to the jitter you experience but with these tweaks the cursor is really precise now (read both issue as they are related)
https:/
https:/
In Linux Kernel Bug Tracker #196719, contact.han (contact.han-linux-kernel-bugs) wrote : | #128 |
2021-01-09 (土) の 09:42 +0000 に <email address hidden>
さんは書きました:
> https:/
>
> --- Comment #18 from paviluf (<email address hidden>) ---
> I don't know if it's related to the jitter you experience but with
> these tweaks
> the cursor is really precise now (read both issue as they are
> related)
>
> https:/
> https:/
>
This seem to have fixed the issue for me, but the standing issue that
it is unusable without any modification. The average user would not
bother finding out what a GRUB config is or how to add kernel boot
perameters. Doing these sorts of things so that their touchpad (and
trackpoint) doesn't permenantly fail after they wake their laptop is
not an option.
As for the libinput modifications you made in your PR, have they been
added to the systemd source? Would that fix the jitter issues for other
users out-of-the-box?
In Linux Kernel Bug Tracker #196719, jeremy9856 (jeremy9856-linux-kernel-bugs) wrote : | #129 |
The libinput modifications I made have been merge to systemd
Robert Jonsson (spamatica) wrote : | #122 |
Thinkpad T400 with non working two finger scroll here running Kubuntu 20.04, I just wanted to comment that none of the above solutions worked for me, but one that I found buried in a youtube video did get it to work! And I just can't leave it visible ONLY in a video, it's just not right.
What it boils down to is running these three xinput commands (I'm sure someone with more knowledge can say what this actually does and possibly the corresponding configuration file settings)
xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 8
xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 4
xinput --set-prop --type=int --format=8 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 1 0
tags: | added: kinetic |
kruisoc (kurisoc) wrote : | #130 |
maybe unrelated to your issue, but my touchpad stopped working properly after using a GRUB theme installation script, on a Clevo NV41MZ, Ubuntu 18 to 22
what solved the issue for me was updating the /etc/default/grub file by changing this line :
GRUB_CMDLINE_
to this:
GRUB_CMDLINE_
(then use sudo update-grub, then reboot)
After updating to Kernel Version 4.12.7 and again with 4.12.8 two finger scrolling stops working every time my Thinkpad T431s wakes from suspend. With kernel version 4.12.6 and 4.9.44 (LTS) everything works, so I suppose it's an issue with the kernel/driver.
The Trackpad is listed as "SynPS/2 Synaptics" when I do a `libinput list-devices`. I'm using the standard pre-compiled, current kernel package from Arch x64 (package `linux`). Do you need anything else from me? Any log files that would be helpful?
Thanks! Johannes