mouse does not work correctly after suspend

Bug #1386127 reported by Erki Hallingu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Afer waking from suspend mouse does not work correctly. I'm able to move pointer but am not able to move, resize or select windows with mouse.

WORKAROUND: sudo rmmod psmouse ; sudo modprobe psmouse

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: xorg 1:7.7+7ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
Uname: Linux 3.16.0-23-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Mon Oct 27 12:28:24 2014
DistUpgraded: Fresh install
DistroCodename: utopic
DistroVariant: ubuntu
DkmsStatus: vboxhost, 4.3.18, 3.16.0-23-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Fujitsu Limited. Device [10cf:15e9]
InstallationDate: Installed on 2014-10-24 (2 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: FUJITSU LIFEBOOK S761
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-23-generic.efi.signed root=UUID=cc6f31be-38e2-4958-96cd-fa3c122fa5ca ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/14/2012
dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
dmi.bios.version: Version 1.12
dmi.board.name: FJNB22E
dmi.board.vendor: FUJITSU
dmi.board.version: A1
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU
dmi.chassis.version: LIFEBOOK S761
dmi.modalias: dmi:bvnFUJITSU//PhoenixTechnologiesLtd.:bvrVersion1.12:bd03/14/2012:svnFUJITSU:pnLIFEBOOKS761:pvr10601186096:rvnFUJITSU:rnFJNB22E:rvrA1:cvnFUJITSU:ct10:cvrLIFEBOOKS761:
dmi.product.name: LIFEBOOK S761
dmi.product.version: 10601186096
dmi.sys.vendor: FUJITSU
version.compiz: compiz 1:0.9.12+14.10.20140918-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.56-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.3.0-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.3.0-0ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.16.0-1ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.4.0-2ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.914-1~exp1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2
xserver.bootTime: Mon Oct 27 11:46:51 2014
xserver.configfile: default
xserver.errors: SynPS/2 Synaptics TouchPad: Read error 19
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 14164
 vendor SEC
xserver.version: 2:1.16.0-1ubuntu1

Revision history for this message
Erki Hallingu (erkiha) wrote :
Revision history for this message
Erki Hallingu (erkiha) wrote :

I'm able to fix mouse by:

sudo rmmod psmouse;sudo modprobe psmouse

Revision history for this message
Erki Hallingu (erkiha) wrote :

I was able to fix (workaround) the issue with following /etc/pm/sleep.d script:

#!/bin/sh

# restart psmouse after waking from suspend

. "${PM_FUNCTIONS}"

restart_mouse()
{
        rmmod psmouse
        modprobe psmouse
}

case "$1" in
        thaw|resume)
                restart_mouse
                ;;
esac

penalvch (penalvch)
tags: added: bios-outdated-1.14
Changed in xorg (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Erki Hallingu (erkiha) wrote :

Unfortunately this did not help. Still exactly the same symptoms, after syspend mouse moves but unable to move or interact with windows.

reenabled my pm script and everything works OK again. So still psmouse needs reload after suspend.

I'm also currently using ubuntu 15.04 with all updates applied, so it has not changed anything.

Changed in xorg (Ubuntu):
status: Incomplete → New
Revision history for this message
Erki Hallingu (erkiha) wrote :

erki@siil:~$ sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
Version 1.14
04/26/2013
erki@siil:~$

Revision history for this message
penalvch (penalvch) wrote :

Erki Hallingu, could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-3.XY-rcZ

Where XY and Z are numbers corresponding to the kernel version.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-3.XY-rcZ

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-1.14
removed: bios-outdated-1.14
tags: added: vivid
affects: xorg (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Low → Medium
status: New → Incomplete
description: updated
Revision history for this message
Erki Hallingu (erkiha) wrote :

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-rc1-vivid/
erki@siil:~$ uname -a
Linux siil 4.0.0-040000rc1-generic #201502222235 SMP Mon Feb 23 03:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Tested with kernel shown above. It makes no difference, still same issue.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Erki Hallingu, could you please provide the missing information following https://wiki.ubuntu.com/DebuggingKernelSuspend ?

As well, did this problem not occur in a release prior to 14.10?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Erki Hallingu (erkiha) wrote :

I have seen occasional mouse crashers also before with fujitsu and dell laptops. Do not remember when exactly this suspend issue started.

Revision history for this message
Erki Hallingu (erkiha) wrote :
Revision history for this message
Erki Hallingu (erkiha) wrote :
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Erki Hallingu, just to clarify, regarding just the laptop scoped to this report (LIFEBOOK S761), not any others, could you please advise which prior release(s) specifically the problem was reproducible in?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Erki Hallingu (erkiha) wrote :

in 14.10 and 15.04 which I tested and got the same result.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Erki Hallingu, for regression testing purposes, could you please test 14.04.1 (not 14.04.2) via http://releases.ubuntu.com/14.04.1/ and advise to the results?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Erki Hallingu (erkiha) wrote :

Did testing:
14.04.1 -- suspend/resume works ok
14.04.2 -- mouse does not work after resume from suspend
14.10 -- mouse does not work after resume from suspend

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Erki Hallingu, the next step is to fully commit bisect from kernel 3.13 to 3.16 in order to identify the last good kernel commit, followed immediately by the first bad one. This will allow for a more expedited analysis of the root cause of your issue. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

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

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

tags: added: needs-bisect regression-release
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
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.

Other bug subscribers

Remote bug watches

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