trackpad looses sync and hangs -- 16.10 worked, 17.10 does not

Bug #1736017 reported by P
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I run Ubuntu 17.10 (Kubuntu) on a Thinkpad Yoga260 notebook. The trackpad hangs regularly, typically after a few minutes of use. dmesg reports "lost sync bytes".

Interestingly, this error already occurred in 16.04 (there are many reports about this, e.g. https://askubuntu.com/questions/922092/lifebook-e546-touchpad-on-ubuntu-16-04), but my notebook works fine with 16.10 which I used for about a year without any problems. Now that I updated it to 17.10 it occurs again. Both 16.10 and 17.10 are now installed in parallel, but the error only manifests when I boot into the latter.

I have tried proto=imps and proto=bare (module psmouse), but this does not make a difference.

I report this here because this might be some kind of regression (or coincidence).

Output from dmesg:

The trackpad detected es one from elantech:
[ 1.952397] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x4d1f04)
[ 1.967272] psmouse serio1: elantech: Synaptics capabilities query result 0x80, 0x14, 0x0c.
[ 1.982603] psmouse serio1: elantech: Elan sample query result 04, 01, 85

[ 802.847308] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 802.854537] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 802.862926] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 802.870528] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 802.877890] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 802.877899] psmouse serio1: issuing reconnect request
[ 805.772533] psmouse serio1: elantech: PS/2 packet [54 80 80 36 00 00]
[ 1008.218685] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 1008.226641] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 1008.234590] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 1008.242843] psmouse serio1: elantech: PS/2 packet [75 31 52 96 44 19]
[ 1008.242851] psmouse serio1: Touchpad at isa0060/serio1/input0 - driver resynced.
[ 1008.251339] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 1008.258971] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 1008.265958] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 1008.273071] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 1008.280932] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
[ 1008.280940] psmouse serio1: issuing reconnect request

etc...
---
ApportVersion: 2.20.7-0ubuntu3.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pascal 1282 F.... pulseaudio
DistroRelease: Ubuntu 17.10
HibernationDevice: RESUME=UUID=cb84af7b-bfe3-432a-a69a-6a448b1f667a
InstallationDate: Installed on 2017-12-01 (2 days ago)
InstallationMedia: Kubuntu 17.10 "Artful Aardvark" - Release amd64 (20171017.1)
MachineType: LENOVO 20FES2N100
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-17-generic.efi.signed root=UUID=c07aafe2-3841-467a-becb-e8173c55fac4 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-17-generic N/A
 linux-backports-modules-4.13.0-17-generic N/A
 linux-firmware 1.169
Tags: artful
Uname: Linux 4.13.0-17-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 09/30/2017
dmi.bios.vendor: LENOVO
dmi.bios.version: N1GET82W (1.61 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20FES2N100
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN1GET82W(1.61):bd09/30/2017:svnLENOVO:pn20FES2N100:pvrThinkPadYoga260:rvnLENOVO:rn20FES2N100:rvrNotDefined:cvnLENOVO:ct31:cvrNone:
dmi.product.family: ThinkPad Yoga 260
dmi.product.name: 20FES2N100
dmi.product.version: ThinkPad Yoga 260
dmi.sys.vendor: LENOVO
---
ApportVersion: 2.20.7-0ubuntu3.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pascal 1282 F.... pulseaudio
DistroRelease: Ubuntu 17.10
HibernationDevice: RESUME=UUID=cb84af7b-bfe3-432a-a69a-6a448b1f667a
InstallationDate: Installed on 2017-12-01 (2 days ago)
InstallationMedia: Kubuntu 17.10 "Artful Aardvark" - Release amd64 (20171017.1)
MachineType: LENOVO 20FES2N100
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-17-generic.efi.signed root=UUID=c07aafe2-3841-467a-becb-e8173c55fac4 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-17-generic N/A
 linux-backports-modules-4.13.0-17-generic N/A
 linux-firmware 1.169
Tags: artful
Uname: Linux 4.13.0-17-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 09/30/2017
dmi.bios.vendor: LENOVO
dmi.bios.version: N1GET82W (1.61 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20FES2N100
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN1GET82W(1.61):bd09/30/2017:svnLENOVO:pn20FES2N100:pvrThinkPadYoga260:rvnLENOVO:rn20FES2N100:rvrNotDefined:cvnLENOVO:ct31:cvrNone:
dmi.product.family: ThinkPad Yoga 260
dmi.product.name: 20FES2N100
dmi.product.version: ThinkPad Yoga 260
dmi.sys.vendor: LENOVO

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1736017

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: artful
Revision history for this message
P (pggl) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
P (pggl) wrote : CRDA.txt

apport information

Revision history for this message
P (pggl) wrote : CurrentDmesg.txt

apport information

Revision history for this message
P (pggl) wrote : IwConfig.txt

apport information

Revision history for this message
P (pggl) wrote : JournalErrors.txt

apport information

Revision history for this message
P (pggl) wrote : Lspci.txt

apport information

Revision history for this message
P (pggl) wrote : Lsusb.txt

apport information

Revision history for this message
P (pggl) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
P (pggl) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
P (pggl) wrote : ProcEnviron.txt

apport information

Revision history for this message
P (pggl) wrote : ProcInterrupts.txt

apport information

Revision history for this message
P (pggl) wrote : ProcModules.txt

apport information

Revision history for this message
P (pggl) wrote : RfKill.txt

apport information

Revision history for this message
P (pggl) wrote : UdevDb.txt

apport information

Revision history for this message
P (pggl) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
P (pggl) wrote : AlsaInfo.txt

apport information

Revision history for this message
P (pggl) wrote : CRDA.txt

apport information

Revision history for this message
P (pggl) wrote : CurrentDmesg.txt

apport information

Revision history for this message
P (pggl) wrote : IwConfig.txt

apport information

Revision history for this message
P (pggl) wrote : JournalErrors.txt

apport information

Revision history for this message
P (pggl) wrote : Lspci.txt

apport information

Revision history for this message
P (pggl) wrote : Lsusb.txt

apport information

Revision history for this message
P (pggl) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
P (pggl) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
P (pggl) wrote : ProcEnviron.txt

apport information

Revision history for this message
P (pggl) wrote : ProcInterrupts.txt

apport information

Revision history for this message
P (pggl) wrote : ProcModules.txt

apport information

Revision history for this message
P (pggl) wrote : RfKill.txt

apport information

Revision history for this message
P (pggl) wrote : UdevDb.txt

apport information

Revision history for this message
P (pggl) wrote : WifiSyslog.txt

apport information

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

We can perform a kernel bisect to identify the commit that introduced the regression. Before we do that, can you test the latest mainline kernel:

Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.15 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc2

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-bisect
Revision history for this message
P (pggl) wrote :

I tried the newest daily, linux-headers-4.15.0-999-generic_4.15.0-999.201712052100_amd64.deb, and the bug is gone !

Would be great if that part would be packported to 17.10

penalvch (penalvch)
tags: added: kernel-fixed-upstream latest-bios-1.61
removed: kernel psmouse
Revision history for this message
penalvch (penalvch) wrote :

P, the next step is to fully reverse commit bisect from kernel 4.13 to 4.15-rc2 in order to identify the last bad kernel commit, followed immediately by the first good one. This will allow for a review of the fix commit to be included into Ubuntu. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

Please note, finding adjacent kernel versions is not fully reverse commit bisecting.

It is most helpful that after the fix commit (not kernel version) has been identified, this report is marked Status Confirmed.

Thank you for your understanding.

tags: added: regression-release
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.