xorg-server SRU Justification
When a laptop is suspended, X disables the input devices. If X believes the hardware has a button press when the device is disabled, it will not release the button on resume and device enabling. With tap to click turned out, the volatile mix of the touchpad and the LCD screen on lid closure can cause this problem on suspend/resume.
A one-line patch from upstream has been added to xorg-server 1.11.4-0ubuntu11. The patch can be seen in the SRU debdiff. It simply releases the buttons when an input device is disabled.
The same one-line patch for the development fix has been made to xorg-server 1.11.4-0ubuntu10.2. Please see the attached xorg-server SRU debdiff.
Close and open the lid to perform a suspend resume cycle on a MacBook Air. Repeat multiple times. Note that there will be issues until an SRU for xserver-xorg-input-synaptics is available too.
Very minimal. The one-line change releases the buttons when an input device is disabled. It is a trivial fix.
xserver-xorg-input-synaptics SRU Justification
When a laptop is suspended, X disables the input devices. The entire state of the device needs to be reset when the device is disabled so that it works properly when re-enabled. Without this fix, the trackpad may do odd things like behave as though there are active touches that no longer exist. This can manifest as scrolling with one finger, no cursor motion, and right clicking instead of left clicking.
Upstream 1.6.0 has two patches that fix this specific issue, among other bug fixes. This has been uploaded to Quantal.
The Quantal 1.6.0 update has been uploaded for Precise and is identical to the Quantal package other than the Precise SRU version. The only changes from the previous package to the 1.6.0 package are various bug fixes.
Close and open the lid to perform a suspend resume cycle on a MacBook Air. Repeat multiple times. Ensure the trackpad continues to function properly.`
Minimal. The fixes for this patch are small and well-contained. The fixes for other issues in the upstream 1.6.0 release are also small and well-contained.
Original Bug Report
I started seeing this immediately after installing updates that included xserver-xorg-input-synaptics from 188.8.131.521-0ubuntu2 to 184.108.40.2062-0ubuntu1 and rebooting.
When I initiate a suspend by closing the lid, after resuming the touchpad no longer works at all. I can see a stream of events by switching to a vt and running input events, and if I restart the display manager the touchpad starts working again. I do not see this issue if I initiate suspend from the menu, only when closing the lid.
DistroRelease: Ubuntu 12.04
Package: xserver-xorg-input-synaptics 220.127.116.112-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
Date: Thu Mar 29 23:01:23 2012
DistUpgraded: Fresh install
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64+mac (20111208)
MachineType: Apple Inc. MacBookAir4,1
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz root=UUID=f4af0efe-df4b-4d74-8995-7081cf79889c ro
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.vendor: Apple Inc.
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.vendor: Apple Inc.
dmi.chassis.vendor: Apple Inc.
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:0.9.7.2-0ubuntu4
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2