Bug 753465 - psmouse kernel code causes failure to resume from suspend
Summary: psmouse kernel code causes failure to resume from suspend
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 20
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-12 18:34 UTC by Matt Hirsch
Modified: 2014-11-14 00:56 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-14 00:56:36 UTC
Type: ---


Attachments (Terms of Use)
dmesg from 3.9.6-200.fc18.x86_64 pre suspend (61.70 KB, text/plain)
2013-07-08 04:35 UTC, Matt Hirsch
no flags Details
lsmod from 3.9.6-200.fc18.x86_64 pre suspend (3.22 KB, text/plain)
2013-07-08 04:36 UTC, Matt Hirsch
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 235315 0 None None None Never

Description Matt Hirsch 2011-11-12 18:34:01 UTC
Description of problem:

On an Acer Extensa 4620Z (same as Acer 2310) laptop, when I suspend the laptop using a stock Fedora kernel, and then attempt to resume, the laptop loses power. If I recompile the kernel with psmouse built as a module, rather than built into the kernel, and then unload the psmouse module before suspending, the problem does not occur.


Version-Release number of selected component (if applicable): 
kernel-3.1.0-7.fc16.x86_64


How reproducible:
always

Steps to Reproduce:
1. suspend Acer Extensa 4620Z laptop running Fedora (eg. close the lid)
2. press power button to resume laptop
  
Actual results:
Laptop turns on briefly, spins up disk, then powers off

Expected results:
Normal resume

Additional info:
This has been a very longstanding bug (at least since 2008). I finally did some googling and found an Ubuntu bug report (attached). Ubuntu compiles psmouse as a module, but Fedora ships it built into the kernel. I rebuilt the kernel with the PS/2 mouse subsystem built as a module, and was able to use the fix described in that report, which is, create a file under /etc/pm/config.d that contains the following line:

SUSPEND_MODULES="psmouse";

This only works in Fedora once you have recompiled the kernel with psmouse as a module.

Comment 1 Dave Jones 2012-03-22 16:57:13 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 2 Dave Jones 2012-03-22 17:01:18 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 3 Dave Jones 2012-03-22 17:12:28 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 4 Matt Hirsch 2012-03-23 00:01:20 UTC
Unfortunately, kernel-3.3.0-4.fc16 does not solve this problem. It still needs to be recompiled with psmouse as a module, and that module needs to be removed on suspend.

Comment 5 Dave Jones 2012-10-23 15:24:34 UTC
# Mass update to all open bugs.

Kernel 3.6.2-1.fc16 has just been pushed to updates.
This update is a significant rebase from the previous version.

Please retest with this kernel, and let us know if your problem has been fixed.

In the event that you have upgraded to a newer release and the bug you reported
is still present, please change the version field to the newest release you have
encountered the issue with.  Before doing so, please ensure you are testing the
latest kernel update in that release and attach any new and relevant information
you may have gathered.

If you are not the original bug reporter and you still experience this bug,
please file a new report, as it is possible that you may be seeing a
different problem. 
(Please don't clone this bug, a fresh bug referencing this bug in the comment is sufficient).

Comment 6 Matt Hirsch 2012-10-26 00:51:42 UTC
This bug is still present with kernel-3.6.2-4.fc17.x86_64.

Comment 7 Matt Hirsch 2013-02-18 04:50:58 UTC
This bug is still present with kernel-3.7.7-201.fc18.x86_64.

Comment 8 Josh Boyer 2013-07-05 17:57:09 UTC
Are you still seeing this with 3.9.y kernels?  If so, can you attach the output of both dmesg and lsmod?

Comment 9 Matt Hirsch 2013-07-08 04:34:46 UTC
Yes, it's still true in 3.9 kernels. Without psmouse built as a module, and placed in a pm quirk, it still fails to return from suspend. I'm attaching a dmesg and lsmod for 3.9.6-200.fc18.x86_64 (pre-suspend).

Every couple months I rebuild the latest stock fedora kernel for this laptop. The only thing I change in the kernel config is 

CONFIG_MOUSE_PS2=y to CONFIG_MOUSE_PS2=m.

With the above setting, and the pm quirk from two years ago up at the top, things seem to work.

Comment 10 Matt Hirsch 2013-07-08 04:35:45 UTC
Created attachment 770247 [details]
dmesg from 3.9.6-200.fc18.x86_64 pre suspend

Comment 11 Matt Hirsch 2013-07-08 04:36:20 UTC
Created attachment 770248 [details]
lsmod from 3.9.6-200.fc18.x86_64 pre suspend

Comment 12 Justin M. Forbes 2013-10-18 20:57:07 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 18 kernel bugs.

Fedora 18 has now been rebased to 3.11.4-101.fc18.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 19, and are still experiencing this issue, please change the version to Fedora 19.

If you experience different issues, please open a new bug report for those.

Comment 13 Matt Hirsch 2013-10-26 22:22:33 UTC
I verified that this bug still exists for kernel-3.11.6-200.fc19.x86_64.

Comment 14 Justin M. Forbes 2014-01-03 22:03:22 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 19 kernel bugs.

Fedora 19 has now been rebased to 3.12.6-200.fc19.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 20, and are still experiencing this issue, please change the version to Fedora 20.

If you experience different issues, please open a new bug report for those.

Comment 15 Matt Hirsch 2014-01-24 10:42:29 UTC
On Fedora 20 now, this bug exists in 3.12.8-300.fc20.x86_64.

Comment 16 Justin M. Forbes 2014-02-24 13:51:12 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 20 kernel bugs.

Fedora 20 has now been rebased to 3.13.4-200.fc20.  Please test this kernel update and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you experience different issues, please open a new bug report for those.

Comment 17 Matt Hirsch 2014-02-28 05:02:59 UTC
Same issue occurs with 3.13.4-200.fc20.

Comment 18 Justin M. Forbes 2014-05-21 19:36:53 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 20 kernel bugs.

Fedora 20 has now been rebased to 3.14.4-200.fc20.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you experience different issues, please open a new bug report for those.

Comment 19 Matt Hirsch 2014-06-01 05:48:34 UTC
I retested with 3.14.4-200, same problem. I rebuilt with psmouse as a module and, as before, it fixed the problem.

Comment 20 adesst 2014-07-13 19:11:57 UTC
I've update my kernel to 3.14.4-200. In my Lenovo thinkpad E430

The suspend/resume works great, if i unplug my logitech USB keyboard & mouse receiver.

I think the receiver of my cordless mouse might be sending "noise-input", which triggered the resume.

Comment 21 adesst 2014-07-13 19:13:51 UTC
Sorry the update of my kernel is to 
3.14.8-100.fc19.x86_64 #1 SMP Mon Jun 16 21:53:59 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Comment 22 Justin M. Forbes 2014-11-13 15:54:48 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 20 kernel bugs.

Fedora 20 has now been rebased to 3.17.2-200.fc20.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 21, and are still experiencing this issue, please change the version to Fedora 21.

If you experience different issues, please open a new bug report for those.

Comment 23 Matt Hirsch 2014-11-13 23:13:32 UTC
Well, the bug outlasted the hardware. I no longer have this laptop.


Note You need to log in before you can comment on or make changes to this bug.