Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #63407 > unrolled thread

Bug#922666: linux-image-4.19.0-2-amd64: Trackpad and trackpoint stop working after suspend

Started byTollef Fog Heen <tfheen@err.no>
First post2019-02-19 06:50 +0100
Last post2019-09-12 02:40 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#922666: linux-image-4.19.0-2-amd64: Trackpad and trackpoint stop working after suspend Tollef Fog Heen <tfheen@err.no> - 2019-02-19 06:50 +0100
    Processed: confirmed bug report "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-09-12 02:40 +0200
    Bug#922666: confirmed bug report Antoine Beaupré <anarcat@debian.org> - 2019-09-12 02:40 +0200

#63407 — Bug#922666: linux-image-4.19.0-2-amd64: Trackpad and trackpoint stop working after suspend

FromTollef Fog Heen <tfheen@err.no>
Date2019-02-19 06:50 +0100
SubjectBug#922666: linux-image-4.19.0-2-amd64: Trackpad and trackpoint stop working after suspend
Message-ID<xt6s2-1cV-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: src:linux
Version: 4.19.16-1
Severity: normal

After resuming from a suspend, the trackpoint and trackpad on my
Thinkpad X1 carbon stops working.  If I poke the touchpad, I get a
series of:

[ 7192.255201] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 7192.291304] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 7192.938759] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 7192.943708] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 7192.944854] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 7192.952492] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 7192.955009] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 7192.955011] psmouse serio1: issuing reconnect request

in the kernel log, and it eventually recovers, but only the trackpad.

When it recovers, the X log also looks like it sees the trackpoint, but
fails to enable it:

kernel: psmouse serio2: Failed to reset mouse on synaptics-pt/serio0: -5
kernel: psmouse serio2: trackpoint: Elan TrackPoint firmware: 0x06, buttons: 3/3
kernel: input: TPPS/2 Elan TrackPoint as /devices/platform/i8042/serio1/serio2/input/input39
/usr/lib/gdm3/gdm-x-session[1912]: (II) config/udev: Adding input device TPPS/2 Elan TrackPoint (/dev/input/mouse1)
/usr/lib/gdm3/gdm-x-session[1912]: (II) No input driver specified, ignoring this device.
/usr/lib/gdm3/gdm-x-session[1912]: (II) This device may have been added with another device file.
/usr/lib/gdm3/gdm-x-session[1912]: (II) config/udev: Adding input device TPPS/2 Elan TrackPoint (/dev/input/event6)
/usr/lib/gdm3/gdm-x-session[1912]: (**) TPPS/2 Elan TrackPoint: Applying InputClass "libinput pointer catchall"
/usr/lib/gdm3/gdm-x-session[1912]: (II) Using input driver 'libinput' for 'TPPS/2 Elan TrackPoint'
/usr/lib/gdm3/gdm-x-session[1912]: (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 65 paused 0
/usr/lib/gdm3/gdm-x-session[1912]: (**) TPPS/2 Elan TrackPoint: always reports core events
/usr/lib/gdm3/gdm-x-session[1912]: (**) Option "Device" "/dev/input/event6"
/usr/lib/gdm3/gdm-x-session[1912]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[1912]: (II) event6  - TPPS/2 Elan TrackPoint: is tagged by udev as: Mouse Pointingstick
/usr/lib/gdm3/gdm-x-session[1912]: (II) event6  - TPPS/2 Elan TrackPoint: device is a pointer
/usr/lib/gdm3/gdm-x-session[1912]: (II) event6  - TPPS/2 Elan TrackPoint: device removed
/usr/lib/gdm3/gdm-x-session[1912]: (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input39/event6"
/usr/lib/gdm3/gdm-x-session[1912]: (II) XINPUT: Adding extended input device "TPPS/2 Elan TrackPoint" (type: MOUSE, id 12)
/usr/lib/gdm3/gdm-x-session[1912]: (**) Option "AccelerationScheme" "none"
/usr/lib/gdm3/gdm-x-session[1912]: (**) TPPS/2 Elan TrackPoint: (accel) selected scheme none/0
/usr/lib/gdm3/gdm-x-session[1912]: (**) TPPS/2 Elan TrackPoint: (accel) acceleration factor: 2.000
/usr/lib/gdm3/gdm-x-session[1912]: (**) TPPS/2 Elan TrackPoint: (accel) acceleration threshold: 4
/usr/lib/gdm3/gdm-x-session[1912]: (II) event6  - TPPS/2 Elan TrackPoint: is tagged by udev as: Mouse Pointingstick
/usr/lib/gdm3/gdm-x-session[1912]: (II) event6  - TPPS/2 Elan TrackPoint: device is a pointer
kernel: psmouse serio2: Failed to enable mouse on synaptics-pt/serio0

-- Package-specific info:

[toc] | [next] | [standalone]


#65091 — Processed: confirmed bug report

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-09-12 02:40 +0200
SubjectProcessed: confirmed bug report
Message-ID<yFljs-6Ej-13@gated-at.bofh.it>
In reply to#63407
Processing control commands:

> forcemerge 922666 928189
Bug #922666 [src:linux] linux-image-4.19.0-2-amd64: Trackpad and trackpoint stop working after suspend
Bug #928189 [src:linux] linux-image-4.19.0-4-amd64: After resume trackpad of Lenovo Helix (tablet with keyboard dock) doesn't work
Severity set to 'normal' from 'important'
Marked as found in versions linux/4.19.16-1.
Bug #922666 [src:linux] linux-image-4.19.0-2-amd64: Trackpad and trackpoint stop working after suspend
Marked as found in versions linux/4.19.28-2.
Merged 922666 928189
> severity 922666 important
Bug #922666 [src:linux] linux-image-4.19.0-2-amd64: Trackpad and trackpoint stop working after suspend
Bug #928189 [src:linux] linux-image-4.19.0-4-amd64: After resume trackpad of Lenovo Helix (tablet with keyboard dock) doesn't work
Severity set to 'important' from 'normal'
Severity set to 'important' from 'normal'
> tags 922666 +patch +confirmed
Bug #922666 [src:linux] linux-image-4.19.0-2-amd64: Trackpad and trackpoint stop working after suspend
Bug #928189 [src:linux] linux-image-4.19.0-4-amd64: After resume trackpad of Lenovo Helix (tablet with keyboard dock) doesn't work
Added tag(s) patch.
Added tag(s) patch.
Bug #922666 [src:linux] linux-image-4.19.0-2-amd64: Trackpad and trackpoint stop working after suspend
Bug #928189 [src:linux] linux-image-4.19.0-4-amd64: After resume trackpad of Lenovo Helix (tablet with keyboard dock) doesn't work
Added tag(s) confirmed.
Added tag(s) confirmed.

-- 
922666: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922666
928189: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928189
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#65092 — Bug#922666: confirmed bug report

FromAntoine Beaupré <anarcat@debian.org>
Date2019-09-12 02:40 +0200
SubjectBug#922666: confirmed bug report
Message-ID<yFljs-6Ej-5@gated-at.bofh.it>
In reply to#63407
Control: forcemerge 922666 928189
Control: severity 922666 important
Control: tags 922666 +patch +confirmed

I also see a regression with touchpads and trackpoint on a Thinkpad E431
after upgrading from Debian stretch to buster. My research indicates
this is a kernel regression, as yet to be fixed.

This is the result of my research, as available online at:

https://anarc.at/services/upgrades/buster/#touchpad-trackpoint-freeze-after-sleep

On a Thinkpad E431, the entire mouse interface (touch, trackpoint)
freezes after sleep. Keyboard still works but not mouse until a
reboot.

There's [bug 922666][] in Debian buster, without a fix. It also says
it eventually recovers, which is not our experience. Possible dupe is
[bug 928189][].

[bug 928189]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928189
[bug 922666]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922666

There's also [bug 1791427][] in Ubuntu 18.04 that seems related, and
which proposes the following workarounds:

 * In gsettings: `org.gnome.desktop.peripherals.touchpad click-method disabled`

 * A .service file:

        # /etc/systemd/system/touchpad-sleep.service
        # restore touchpad on suspend

        [Unit]
        Description=Restore Touchpad on suspend
        Before=sleep.target
        StopWhenUnneeded=yes

        [Service]
        #Type=oneshot
        Type=idle
        RemainAfterExit=yes
        ExecStart=/bin/bash -c 'echo "0000:00:1f.4" > /sys/bus/pci/drivers/i801_smbus/unbind'
        ExecStop=/bin/bash -c 'echo "0000:00:1f.4" > /sys/bus/pci/drivers/i801_smbus/bind'

        [Install]
        WantedBy=sleep.target

 * "Maybe try xserver-xorg-input-evdev instead of xserver-xorg-input-libinput?"

 * reloading `psmouse`:
 
        sudo modprobe -r psmouse
        sudo modprobe psmouse

 * "`modprobe i2c-i801` after removing it from the `blacklist.conf` seems to solve the issue."

 * whatever this is:
 
        # echo 1 > /sys/devices/rmi4-00/nosleep

 * "Anyone who still affected by touchpad issues after S3. Please
   switch back to suspend-to-idle in BIOS if s2idle is
   supported. ThinkPad Carbon 6th and Yoga 3rd do support
   suspend-to-idle in BIOS->config->power menu."

[bug 1791427]: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1791427

There's also [bug 1442699][] in Fedora, which suggests those
workarounds:

 * another module reload:
 
        sudo rmmod i2c_hid
        sudo modprobe i2c_hid

 * "Just updated to kernel-4.12.5-300.fc26.x86_64 in updates-testing
   and this issue seems to have been resolved (for me)."

 * another `/proc` hack:
 
        echo -n "reconnect" >  /sys/bus/serio/devices/serio1/drvctl

 * "The `psmouse.synaptics_intertouch=0` workaround still works for me."

[bug 1442699]: https://bugzilla.redhat.com/show_bug.cgi?id=1442699

Also related is this [libinput bug][] that's closed as "not our bug"
because they claim it's a bug in the kernel.

[libinput bug]: https://bugs.freedesktop.org/show_bug.cgi?id=103149

There are [two][] [patches][] on the Linux kernel which apparently fix the
issue, still pending approval:

[two]: https://lkml.org/lkml/2019/2/20/700
[patches]: https://lkml.org/lkml/2019/2/20/701

Possibly related: https://lkml.org/lkml/2016/8/18/134

[5.1rc7][] shipped two fixes against the `synaptics-rmi4` module. A
[pull request][] has been merged in mainline with two other fixes on
the module./ [5.0.11][] also has fixes on the module. It's clearly a
regression from Debian stretch (kernel 4.9) since it was working fine
before.

Possibly related, [two-finger scrolling bug in Ubuntu][], which
identifies [this commit][] as the source of the regression. [Upstream
kernel bug][], still open.

[5.1rc7]: https://lkml.org/lkml/2019/4/28/270
[pull request]: https://lkml.org/lkml/2019/7/12/19
[5.0.11]: https://lkml.org/lkml/2019/5/2/287
[Upstream kernel bug]: https://bugzilla.kernel.org/show_bug.cgi?id=196719
[this commit]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e839ffab028981ac77f650faf8c84f16e1719738
[two-finger scrolling bug in Ubuntu]: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1722478

I haven't tried any of those workarounds. I hope this helps!

-- 
Si les triangles avaient un Dieu, ils lui donneraient trois côtés.
                        - Montesquieu, Lettres persanes

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web