Synaptic touchpad very slow after suspend/resume

Bug #373690 reported by Damien Cassou
60
This bug affects 9 people
Affects Status Importance Assigned to Milestone
XOrg-Driver-Synaptics
Confirmed
High
linux (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: xserver-xorg-input-synaptics

Often, when I resume the computer after a suspend, my mouse cursor (moved using the touchpad) doesn't react properly. Using an USB mouse solves the problem. The cursor is very slow and some click events are lost.

I can reproduce if necessary.

xserver-xorg-input-synaptics:
  Installed: 0.99.3-2ubuntu4-mactel1
  Candidate: 0.99.3-2ubuntu4-mactel1
  Version table:
 *** 0.99.3-2ubuntu4-mactel1 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     0.99.3-2ubuntu4 0
        500 http://fr.archive.ubuntu.com jaunty/main Packages

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=70d3c014-ae85-46f4-af1c-67e607655bb2
MachineType: Apple Inc. MacBook4,1
Package: linux-image-2.6.28-11-generic 2.6.28-11.42
ProcCmdLine: root=UUID=95867fa9-6a8a-4be3-8097-d9e512d5441d ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
SourcePackage: linux

Revision history for this message
Damien Cassou (cassou) wrote :

Binary package hint: xserver-xorg-input-synaptics

Often, when I resume the computer after a suspend, my mouse cursor (moved using the touchpad) doesn't react properly. Using an USB mouse solves the problem. The cursor is very slow and some click events are lost.

I can reproduce if necessary.

xserver-xorg-input-synaptics:
  Installed: 0.99.3-2ubuntu4-mactel1
  Candidate: 0.99.3-2ubuntu4-mactel1
  Version table:
 *** 0.99.3-2ubuntu4-mactel1 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     0.99.3-2ubuntu4 0
        500 http://fr.archive.ubuntu.com jaunty/main Packages

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=70d3c014-ae85-46f4-af1c-67e607655bb2
MachineType: Apple Inc. MacBook4,1
Package: linux-image-2.6.28-11-generic 2.6.28-11.42
ProcCmdLine: root=UUID=95867fa9-6a8a-4be3-8097-d9e512d5441d ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
SourcePackage: linux

Revision history for this message
Damien Cassou (cassou) wrote :
Revision history for this message
Damien Cassou (cassou) wrote :

I have a Macbook 4.1.

Changed in xorg-driver-synaptics:
status: Unknown → Confirmed
Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

Please attach your Xorg.log and the output of synclient -l before and after
suspend.

Revision history for this message
In , Damien Cassou (cassou) wrote :

Created an attachment (id=25690)
Result of synclient -l when touchpad is working

Revision history for this message
In , Damien Cassou (cassou) wrote :

Created an attachment (id=25691)
Xorg.log when touchpad is working

Revision history for this message
In , Damien Cassou (cassou) wrote :

Created an attachment (id=25692)
Result of synclient -l when touchpad is NOT working

Revision history for this message
In , Damien Cassou (cassou) wrote :

Created an attachment (id=25693)
Xorg.log when touchpad is NOT working

Revision history for this message
Martin Blais (blaism) wrote :

I have had a similar problem, though I'm not sure it has to do with xorg.
I get kernel error messages in /var/log/messages every time this happens, something like this (not always the same stack trace):

Jun 30 05:47:41 tangerine kernel: [ 608.220360] Pid: 7017, comm: pm-suspend Tainted: P 2.6.28-11-generic #42-Ubuntu
Jun 30 05:47:41 tangerine kernel: [ 608.220361] Call Trace:
Jun 30 05:47:41 tangerine kernel: [ 608.220364] [<c0139ab0>] warn_slowpath+0x60/0x80
Jun 30 05:47:41 tangerine kernel: [ 608.220367] [<c01537fa>] ? down_trylock+0x2a/0x40
Jun 30 05:47:41 tangerine kernel: [ 608.220369] [<c013a10d>] ? try_acquire_console_sem+0xd/0x30
Jun 30 05:47:41 tangerine kernel: [ 608.220373] [<c02c7290>] ? kobject_put+0x20/0x50
Jun 30 05:47:41 tangerine kernel: [ 608.220376] [<c0500ac6>] ? printk+0x18/0x1a
Jun 30 05:47:41 tangerine kernel: [ 608.220378] [<c0164fd0>] suspend_test_finish+0x80/0x90
Jun 30 05:47:41 tangerine kernel: [ 608.220380] [<c01650a6>] suspend_devices_and_enter+0xc6/0x160
Jun 30 05:47:41 tangerine kernel: [ 608.220382] [<c0500ac6>] ? printk+0x18/0x1a
Jun 30 05:47:41 tangerine kernel: [ 608.220384] [<c0165329>] enter_state+0xc9/0x100
Jun 30 05:47:41 tangerine kernel: [ 608.220386] [<c01653dd>] state_store+0x7d/0xc0
Jun 30 05:47:41 tangerine kernel: [ 608.220388] [<c0165360>] ? state_store+0x0/0xc0
Jun 30 05:47:41 tangerine kernel: [ 608.220390] [<c02c7154>] kobj_attr_store+0x24/0x30
Jun 30 05:47:41 tangerine kernel: [ 608.220393] [<c020ab02>] sysfs_write_file+0x92/0xf0
Jun 30 05:47:41 tangerine kernel: [ 608.220396] [<c01bdab8>] vfs_write+0x98/0x110
Jun 30 05:47:41 tangerine kernel: [ 608.220398] [<c020aa70>] ? sysfs_write_file+0x0/0xf0
Jun 30 05:47:41 tangerine kernel: [ 608.220399] [<c01bdbed>] sys_write+0x3d/0x70
Jun 30 05:47:41 tangerine kernel: [ 608.220402] [<c0103f6b>] sysenter_do_call+0x12/0x2f
Jun 30 05:47:41 tangerine kernel: [ 608.220403] ---[ end trace a50b6a42b0033182 ]---
Jun 30 05:47:41 tangerine kernel: [ 608.220721] Restarting tasks ... done.
Jun 30 05:47:41 tangerine kernel: [ 608.488524] usb 3-1: USB disconnect, address 4
Jun 30 05:47:41 tangerine kernel: [ 608.728165] usb 3-1: new full speed USB device using uhci_hcd and address 5

Revision history for this message
Damien Cassou (cassou) wrote :

I confirm, I have a stack trace too.

Jul 16 14:58:08 luz kernel: [19043.784323] ------------[ cut here ]------------
Jul 16 14:58:08 luz kernel: [19043.784325] WARNING: at /build/buildd/linux-2.6.28/kernel/power/main.c:177 suspend_test_finish+0x80/0x90()
Jul 16 14:58:08 luz kernel: [19043.784326] Component: resume devices
Jul 16 14:58:08 luz kernel: [19043.784327] Modules linked in: i915 drm binfmt_misc btusb bridge stp bnep vboxnetflt vboxdrv ppdev parport_pc sbp2 lp parport snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device intel_agp snd soundcore isight_firmware iTCO_wdt iTCO_vendor_support video ieee80211_crypt_tkip agpgart joydev snd_page_alloc applesmc hid_apple output led_class pcspkr appletouch wl(P) ieee80211_crypt input_polldev usbhid ohci1394 ieee1394 sky2 fbcon tileblit font bitblit softcursor
Jul 16 14:58:08 luz kernel: [19043.784355] Pid: 32716, comm: pm-suspend Tainted: P 2.6.28-13-generic #45-Ubuntu
Jul 16 14:58:08 luz kernel: [19043.784356] Call Trace:
Jul 16 14:58:08 luz kernel: [19043.784360] [<c0139ab0>] warn_slowpath+0x60/0x80
Jul 16 14:58:08 luz kernel: [19043.784363] [<c015381a>] ? down_trylock+0x2a/0x40
Jul 16 14:58:08 luz kernel: [19043.784365] [<c013a10d>] ? try_acquire_console_sem+0xd/0x30
Jul 16 14:58:08 luz kernel: [19043.784368] [<c02c74a0>] ? kobject_put+0x20/0x50
Jul 16 14:58:08 luz kernel: [19043.784371] [<c04fcbf6>] ? printk+0x18/0x1a
Jul 16 14:58:08 luz kernel: [19043.784374] [<c0164ff0>] suspend_test_finish+0x80/0x90
Jul 16 14:58:08 luz kernel: [19043.784376] [<c01650c6>] suspend_devices_and_enter+0xc6/0x160
Jul 16 14:58:08 luz kernel: [19043.784378] [<c04fcbf6>] ? printk+0x18/0x1a
Jul 16 14:58:08 luz kernel: [19043.784380] [<c0165349>] enter_state+0xc9/0x100
Jul 16 14:58:08 luz kernel: [19043.784382] [<c01653fd>] state_store+0x7d/0xc0
Jul 16 14:58:08 luz kernel: [19043.784384] [<c0165380>] ? state_store+0x0/0xc0
Jul 16 14:58:08 luz kernel: [19043.784386] [<c02c7364>] kobj_attr_store+0x24/0x30
Jul 16 14:58:08 luz kernel: [19043.784389] [<c020aba2>] sysfs_write_file+0x92/0xf0
Jul 16 14:58:08 luz kernel: [19043.784392] [<c01bdad8>] vfs_write+0x98/0x110
Jul 16 14:58:08 luz kernel: [19043.784394] [<c020ab10>] ? sysfs_write_file+0x0/0xf0
Jul 16 14:58:08 luz kernel: [19043.784396] [<c01bdc0d>] sys_write+0x3d/0x70
Jul 16 14:58:08 luz kernel: [19043.784398] [<c0103f6b>] sysenter_do_call+0x12/0x2f
Jul 16 14:58:08 luz kernel: [19043.784400] ---[ end trace 89ae7eeb74151c0f ]---

Bryce Harrington (bryce)
tags: added: jaunty
Revision history for this message
Harm van Bakel (hvbakel) wrote :

This problem still occurs in Karmic, and seems to be linked to using an external mouse. If I suspend the computer when a USB mouse is connected, and resume with the mouse disconnected, the trackpad cursor becomes very slow and I also loose trackpad scrolling. A restart of the X server only doesn't resolve the problem, only a full reboot. If I resume with the mouse connected and then disconnect the mouse afterwards, things keep working normally.

Revision history for this message
In , Damien Cassou (cassou) wrote :

I propose 50€ to fix this bug: http://www.cofundos.org/project.php?id=178

Revision history for this message
Jurjen de Vries (ubuntu-raceman) wrote :

I've the same problem with Karmic (9.10) on my Dell Latitude E6500 with synaptics.

It do not happen always. 3/4 of the time my touchpad is working okay after suspend, and 1/4 of the times it is very slow after suspend.
My workaround is to suspend my laptop again, and bring it back. Most of the times the touchpad is fast again.

I hope this bug is fixed soon. If I can help with some log details etc, please send me instructions what you like to know and how and where I can find it.

Revision history for this message
Damien Cassou (cassou) wrote :

This report is similar to issue #400413 and upstream https://bugzilla.kernel.org/show_bug.cgi?id=14718.

I propose 50€ for the one who fix this bug: http://www.cofundos.org/project.php?id=178. You can add money if you want to.

Revision history for this message
madbiologist (me-again) wrote :

This might be fixed upstream in kernel 2.6.35-rc5. From the changelog:

commit 04a08885c36dc2f4663900d007b9d71a7e7f2b92
Author: Dmitry Torokhov
Date: Thu May 13 00:42:23 2010 -0700

    Input: psmouse - reset all types of mice before reconnecting

    commit ef110b24e28f36620f63dab94708a17c7e267358 upstream.

    Synaptics hardware requires resetting device after suspend to ram
    in order for the device to be operational. The reset lives in
    synaptics-specific reconnect handler, but it is not being invoked
    if synaptics support is disabled and the device is handled as a
    standard PS/2 device (bare or IntelliMouse protocol).

    Let's add reset into generic reconnect handler as well.

    Signed-off-by: Dmitry Torokhov
    Cc: Tim Gardner
    Signed-off-by: Greg Kroah-Hartman

Revision history for this message
madbiologist (me-again) wrote :

Oops, that should be kernel 2.6.32.16. Sorry for the confusion.

Revision history for this message
Damien Cassou (cassou) wrote :

@madbiologist: This patch is included in the kernel of lucid but the bug still exists.

Revision history for this message
madbiologist (me-again) wrote :

Oops, you're right. It was accepted into lucid-proposed on 11th June 2010. Sorry to hear it didn't help you.

Revision history for this message
Gursimran singh (simar) wrote :

The bug watch says that the bug is confirmed, so setting the status as confirmed..

Changed in xserver-xorg-input-synaptics (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
status: Incomplete → New
status: New → Confirmed
Changed in xorg-driver-synaptics:
importance: Unknown → High
Changed in xorg-driver-synaptics:
importance: High → Unknown
Changed in xorg-driver-synaptics:
importance: Unknown → High
Revision history for this message
Sergio Callegari (callegar) wrote :

I see the same but on a DELL E6500 with maverick.

When the touchpad is slow, the touchpad is managed as a mouse, not as a touchpad. For instance it is not possibile to scroll by using the border of the touchpad.

Interestingly, suspending and resuming again often does the trick of waking up the touchpad.

Revision history for this message
Rémi Mélisson (remi-melisson) wrote :

You can reload psmouse module after a wake-up in order to resolve the problem.
It's just a work around but it could really be helpfull...

$ sudo rmmod psmouse && sudo modprobe psmouse

Revision history for this message
Ahmed Shams (ashams) wrote :

Hello, Thank you for taking time to report this bug. As there're many updates since reporting this bug, would you please update to the latest kernel available to your release then check if it's still there. Thanks.

Changed in xserver-xorg-input-synaptics (Ubuntu):
status: Confirmed → Incomplete
affects: xserver-xorg-input-synaptics (Ubuntu) → linux (Ubuntu)
Revision history for this message
Martin Blais (blaism) wrote :

I've moved on to 11.04 since then and I haven't seen the bug in a long while.
In fact, I don't think I've seen the bug at all in that version.
As far as I'm concerned it's irrelevant to me now.

Revision history for this message
Rémi Mélisson (remi-melisson) wrote :

I'm currently using the 11.10 Ubuntu (3.0.0-12) and it still occurs sometimes.

Another tip about this problem :
http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint#Reactivate_Scrolling_after_suspend.2Fresume

Revision history for this message
Sergio Callegari (callegar) wrote :

Bug is still there in kernel 3.0.0-14 (latest oneiric kernel)

Not always, but quite often, the touchpad is unaccelerated and the tapping, smart scrolling functions are not working.
Reloading the psmouse kernel module fixes the issue.

Ahmed Shams (ashams)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jim Chatman (alienmindgame) wrote :

I'm not completely certain that my problem is exactly the same, but I can find nothing else that better describes my problem. Here's what's going on:

When I click objects once, nothing happens. I usually end up clicking everything twice or more, and it's the more that turns into a problem as it usually takes me somewhere I'd rather not be.

I read above where it happens to the one user after suspend. I'll have to check to see if that's the case with me, too, but initially I think not.

Also, I thought at first that this was a Google Chrome issue, but it happens as often not in the browser as in it.

I'm using Ubuntu 12.04, Unity 3D, anything else needed, let me know.

Thank you, in advance!

Revision history for this message
Jim Chatman (alienmindgame) wrote :

Sorry for the slow response.

This problem has been resolved.

Revision history for this message
penalvch (penalvch) wrote :

Damien Cassou, thank you for taking the time to report this bug and trying to help make Ubuntu better. However, the Mactel PPA is not a software package provided by the official Ubuntu repositories. Because of this the Ubuntu project can not support or fix your particular bug. Please report this bug to the provider of the software package. Thanks!

If you are interested in learning more about software repositories and Ubuntu the following pages should be informative:

1. http://www.ubuntu.com/project/about-ubuntu/components - information about Ubuntu repositories
2. https://help.ubuntu.com/community/Repositories - information regarding managing repositories

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

Other bug subscribers

Remote bug watches

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