Suspend immediately resumes on MSI laptop (nVidia chipset)

Bug #291300 reported by Jim Louvau
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: linux-image-2.6.27-7-generic

MS-16332 (M677 Crystal) laptop. NVIDIA C51MV + MCP51M chipset. AMD dual-core Turion64.
Suspend and hibernate both worked fine under Hardy. After upgrading to Intrepid I noticed that while hibernate still seems to work fine, suspend immediately resumes spontaneously.

Revision history for this message
Jim Louvau (jlouvau) wrote :
Revision history for this message
Jim Louvau (jlouvau) wrote :
Revision history for this message
Jim Louvau (jlouvau) wrote :
Revision history for this message
Geoff Goehle (goehle) wrote :

I just upgraded to Intrepid and am also having this problem. (Although on the plus side, before Intrepid I wasn't able to resume from suspend at all!) My computer immediately resumes after suspend.

Revision history for this message
Geoff Goehle (goehle) wrote :
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Antonio (sozonnik) wrote :

I want to confirm this bug in Interpid, kernel 2.6.27-7, upgrade from Hardy.

Revision history for this message
Antonio (sozonnik) wrote :
Revision history for this message
Antonio (sozonnik) wrote :
Revision history for this message
Antonio (sozonnik) wrote :
Revision history for this message
Antonio (sozonnik) wrote :
Revision history for this message
Chisel Wright (chisel) wrote :

I'm suffering the same on an Asus F3Tc.

Suspend/resume was working as expected on Hardy; now on Intrepid it suspends, appears to be suspended for 1-2 seconds, then the disk light comes to life and the laptop resumes itself.

Revision history for this message
Chris Hutt (chrishutt) wrote :

I just posted against this bug https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/128315

It highlights an issue between hardware config and OS and may aid a fix?

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Antonio (sozonnik) wrote :

I want to notice that I managed to fix this problem by unloading ehci_hcd and uhci_hcd modules manually before suspend. To made it automatic I just add SUSPEND_MODULES="ehci_hcd uhci_hcd" to /usr/lib/pm-utils/defaults.

Revision history for this message
Geoff Goehle (goehle) wrote :

Just to elaborate on the above. I found that Antonio's advice (thanks!) only worked for me if I also removed the ohci_hcd module. Also, the /usr/lib/pm-utils/defaults file says not to edit it manually. You can, and it works fine, but I imagine that the following method is more compatible with the update process. All you do is create a file in /etc/pm/config.d with the configuration line you need. So in my case I created a file

/etc/pm/config.d/usb_suspend_workaround

with the line

SUSPEND_MODULES="ehci_hcd uhci_hcd ohci_hcd usbcore"

(Actually, I didn't include uhci_hcd and usbcore but they may help this be a more general solution). Now suspend works fine.

** The only caveat, and it might help you from being confused, is that this disables the ability for your kernel to listen to usb devices. I.E. You can't resume from suspend using the keyboard. You'll have to use your computers power button or whatever.

P.S. If some more talented person wanted to write a single command in one of those nifty code boxes which creates the appropriate file, that would be cool. Sudo doesn't interact with echo and > like I hoped it would and I'm too lazy to figure it out.

Revision history for this message
Jim Louvau (jlouvau) wrote :

FYI I just installed the Jaunty beta and the problem still exists there. I haven't tried the workaround yet but I suspect it's the same issue and will work.

Revision history for this message
Geoff Goehle (goehle) wrote :

I just installed Jaunty and not only is the problem still there, but the workaround I described above isn't doing anything.

Revision history for this message
scott (scosant) wrote :

I also had this problem on a new Jaunty installation and followed Geoff Goehle's advice. Suspend/resume works correctly on a system with an evga 750i FTW.

Revision history for this message
Geoff Goehle (goehle) wrote :

The reason the workaround is no longer working around seems to be that ehci_hcd, uhci, etc... are not loaded into the kernel and don't appear under lsmod. I don't know which drivers replaced them, though...

Revision history for this message
mehturt (mehturt) wrote :

I see the same problem on my new PC. However, the PC suspends fine for the 1st time after boot, but resumes immediately after each consequent suspend.
Maybe the *hci modules are now built into the kernel? Just guessing..

Revision history for this message
qiuyao (qiuyaoboy) wrote :

Same problem on my laptop.
My laptop : Asus X50M , nvidia C51MV + MCP51M chipset. AMD Turion64 mk36.
My OS :Ubuntu karmic 64bit with full update.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers