When trying to suspend, computer goes into suspend mode for a second and wakes up immediately afterwards. This was tested in Ubuntu 12.04 using upstream kernel. I used linux-image-3.5.0-030500rc2-generic_3.5.0-030500rc2.201206082235_amd64. Bug has also been created on the launchpad (no. 1013372): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1013372 I've also added dmesg log to this message. If needed, I can execute additional testing and provide more data.
Created attachment 73811 [details] dmesg log
[ 64.126851] sd 2:0:0:0: [sda] Stopping disk [ 64.137661] ACPI handle has no context! [ 66.671983] PM: suspend of devices complete after 2647.842 msecs This seems to go through all the device parts properly in both directions.
I retested using newest kernel (linux-image-3.5.0-999-generic_3.5.0-999.201206260421_amd64) and I'm still experiencing the same issue. The problem is that computer wakes up without user intervention after a second or two. There are no error messages but computer just comes on immediately. I have no idea where should I look for issue. Can you please provide some hints where to look or what to provide (which logs) in order to try to identify where the problem is?
I can confirm this issue as well. This issue is not present with my 3.4.6 kernel, only 3.5.0. Additionally, my hardware does not appear to ever power down. While it does suspend and resume successfully, it does not stay in a suspended state. If any information or logs are needed from my system, just let me know.
Hi Elvis, I think you can try disable all wakeup devices before entering S3. You can see which devices are enabled for wakeup by: # cd /proc/acpi # cat wakeup Device S-state Status Sysfs node PS2K S3 *enabled pnp:00:08 EHC1 S3 *enabled pci:0000:00:1d.0 EHC2 S3 *enabled pci:0000:00:1a.0 HDEF S4 *disabled pci:0000:00:1b.0 GLAN S4 *enabled pci:0000:00:19.0 RP01 S4 *disabled pci:0000:00:1c.0 PXSX S4 *disabled RP02 S4 *disabled PXSX S4 *disabled RP03 S4 *disabled pci:0000:00:1c.2 PXSX S4 *disabled ... ... And disable them like this: # echo PS2K > wakeup Make sure all of them are disabled, and then see if system resumes automatically, thanks.
Hi Elvis, Care to give it a test?