machine no longer wakes from sleep on 12.04

Bug #994105 reported by ill
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

after upgrading to 12.04, the machine no longer wakes from sleep using an mce remote control.

$ cat /etc/rc.local
echo enabled >> /sys/bus/usb/devices/2-1/power/wakeup
echo enabled >> /sys/bus/usb/devices/2-2/power/wakeup
echo enabled >> /sys/bus/usb/devices/2-4/power/wakeup
echo enabled >> /sys/bus/usb/devices/usb2/power/wakeup
echo enabled >> /sys/bus/usb/devices/1-1/power/wakeup
echo enabled >> /sys/bus/usb/devices/1-4/power/wakeup
echo enabled >> /sys/bus/usb/devices/1-3/power/wakeup
echo enabled >> /sys/bus/usb/devices/2-4/power/wakeup

echo USB0 >> /proc/acpi/wakeup
echo USB1 >> /proc/acpi/wakeup
echo USB2 >> /proc/acpi/wakeup

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0

The philips ehome receiver is the device that is supposed to wake the machine:
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 003: ID 046d:0807 Logitech, Inc. Webcam B500
Bus 001 Device 005: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 002 Device 002: ID 0471:0815 Philips (or NXP) eHome Infrared Receiver
Bus 001 Device 006: ID 152e:2507 LG (HLDS) PL-2507 IDE Controller
Bus 001 Device 007: ID 06a3:5f0d Saitek PLC
Bus 001 Device 008: ID 1241:1037 Belkin
---
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Tags: precise
Uname: Linux 3.5.0-030500rc6-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
---
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Tags: precise
Uname: Linux 3.5.0-030500-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/994105/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in linux.

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://help.ubuntu.com/community/ReportingBugs.

affects: ubuntu → linux (Ubuntu)
tags: added: kernel-bug precise resume
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 994105

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
ill (illumilore) wrote :

apport-collect doesn't work:

You are not the reporter or subscriber of this problem report, or the report is a duplicate or already closed.

Please create a new report using "apport-bug".

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Marja Erwin (marja-e) wrote :

I use 11.04 on a Vaio E-series.

I had no trouble waking the machine from sleep until the latest kernel update. I can no longer wake the machine from sleep and have to use a hard reboot instead. Due to arm injuries, I'm supposed to take frequent breaks, and the computer goes to sleep during these breaks.

Anyway, I think the kernel update may be part of the problem.

Revision history for this message
Marja Erwin (marja-e) wrote :

In my case, the problem went away. I'm not sure why.

Revision history for this message
penalvch (penalvch) wrote :

ill, thank you for reporting this and helping make Ubuntu better. Please create a new bug report by executing the following via the Terminal and feel free to subscribe me to it:
ubuntu-bug linux

Thanks!

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

Marja Erwin, if you are having a problem in Ubuntu, please file a new report by executing the following via the Terminal and feel free to subscribe me to it:
ubuntu-bug linux

Thanks!

Revision history for this message
Alex Jones (alex.jones) wrote :

I had the same problem: in 11.10, I was using an MCE remote control to wake the machine from suspend, having added the line "echo USB0 >> /proc/acpi/wakeup" to /etc/rc.local. After upgrading to 12.04, this line no longer had any effect, although I could still manually enter "sudo sh -c 'echo USB0 >> /proc/acpi/wakeup'" at the terminal to activate wake from suspend.

For anyone else with this issue, the thread at http://ubuntuforums.org/showthread.php?t=1968487 gave a fix which worked for me; it involves editing the file /etc/udev/rules.d/90-keyboardwakeup.rules.

Revision history for this message
penalvch (penalvch) wrote :

Adam Bull, if you are having a problem in Ubuntu, please file a new report by executing the following via the Terminal and feel free to subscribe me to it:
ubuntu-bug linux

Thanks!

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

ill, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please provide the information following https://wiki.ubuntu.com/DebuggingKernelSuspend ?

As well, could you please test for this with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

If this does not work as mentioned in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/994105/comments/4 , could you please file a new report by executing the following at a terminal, and feel free to subscribe me to it:
ubuntu-bug linux

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested and remove the tag:
needs-upstream-testing

This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the text:
needs-upstream-testing

If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested.

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested.

Please let us know your results. Thank you for your understanding.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

tags: added: needs-kernel-logs needs-upstream-testing
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
ill (illumilore)
tags: added: apport-collected
description: updated
ill (illumilore)
tags: added: kernel-bug-exists-upstream
Revision history for this message
ill (illumilore) wrote :
Download full text (53.3 KiB)

I followed all of the instructions, and it still happens

[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.5.0-030500-generic (apw@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201207211835 SMP Sat Jul 21 22:35:55 UTC 2012
[ 0.000000] Command line: BOOT_IMAGE=/@/boot/vmlinuz-3.5.0-030500-generic root=UUID=d1b86751-29b4-4068-bebb-3d662aa6d99b ro rootflags=subvol=@ quiet splash xbmc=autostart vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007fedffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000007fee0000-0x000000007fee2fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000007fee3000-0x000000007feeffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000007fef0000-0x000000007fefffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000f0000000-0x00000000f3ffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000ffffffff] reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.4 present.
[ 0.000000] DMI: System manufacturer System Product Name/M2N-SLI DELUXE, BIOS ASUS M2N-SLI DELUXE ACPI BIOS Revision 5001 02/04/2010
[ 0.000000] e820: update [mem 0x00000000-0x0000ffff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] No AGP bridge found
[ 0.000000] e820: last_pfn = 0x7fee0 max_arch_pfn = 0x400000000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF uncachable
[ 0.000000] C0000-C7FFF write-protect
[ 0.000000] C8000-FFFFF uncachable
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 0000000000 mask FF80000000 write-back
[ 0.000000] 1 base 007FF00000 mask FFFFF00000 uncachable
[ 0.000000] 2 disabled
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] original variable MTRRs
[ 0.000000] reg 0, base: 0GB, range: 2GB, type WB
[ 0.000000] reg 1, base: 2047MB, range: 1MB, type UC
[ 0.000000] total RAM covered: 2047M
[ 0.000000] Found optimal setting for mtrr clean up
[ 0.000000] gran_size: 64K chunk_size: 2M num_reg: 2 lose cover RAM: 0G
[ 0.000000] New variable MTRRs
[ 0.000000] reg 0, base: 0GB, range: 2GB, type WB
[ 0.000000] reg 1, base: 2047MB, range: 1MB, type UC
[ 0.000000] found SMP MP-table at [mem 0x000f5a40-0x000f5a4f] mapped at [ffff8800000f5a40]
[ 0.000000] initial memory mapped: [mem 0x00000000-0x1fffffff]
[ 0.000000] Base memory trampo...

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

ill, for some reason the apport-collect did not take. Could you please execute the following via a terminal, and subscribe me to it:
ubuntu-bug linux

Thank you for your understanding.

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

When I do that, a window comes up and says collecting problem information, but then it will eventually freeze and lock up (unless the bar is supposed to stop moving and then take 20 minutes to collect information. so that doesn't work.

Revision history for this message
penalvch (penalvch) wrote :

ill, could you please use a Live CD environment and try the apport-collect?

ill (illumilore)
description: updated
Revision history for this message
ill (illumilore) wrote :

I am running 3.5, but it happens on 3.2 as well. Suspend worked fine on whatever kernel that 11.10 was on, so the problem started happening between that kernel and 3.2.

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 994105

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
ill (illumilore) wrote :

That is what I just did.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :
tags: added: bot-stop-nagging
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
ill (illumilore) wrote :

Why livecd environment instead of the installed one?

Revision history for this message
ill (illumilore) wrote :

The livecd won't give you any new information about the machine?

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

Why do you keep marking this incomplete? I've added the apport collect info already.

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

ill, none of the action items in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/994105/comments/11 were performed.

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

I already ran the apport collect, and it added successfully, and I added the tags.

tags: added: kernel-bug-exists-upstream-3.5.1
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

ill, unfortunately, no apport-collect attachments are attached to this report. We would need the attachments provided from apport-collect'ing to this report.

Could you please do this again as previously requested?

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

I can't run ubuntu-bug linux, as it says that the upstream mainline kernel that you told me to try, is not supported.

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

ill, one may not apport-collect while booted into the mainline kernel. Could you please reboot into the kernel that came with Ubuntu and perform the actions requested previously?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
ill (illumilore) wrote :
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.