Enabling wakeup on the USB Root Controller prevents computer from suspending
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Steps to reproduce:
1) As root: # echo enabled > /sys/bus/
2) Attempt to suspend computer.
Expected results:
Computer should suspend.
Observed results
Computer goes into suspend then immediately wakes up. There is nothing informative in /var/log/
Background:
This bug was discovered by a udev script that I wrote to allow waking my computer up from suspension by attached USB devices. This is the script:
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}
A recent regression meant that this now prevents the computer from suspending as above. This script now writes "enabled" to both /sys/bus/
More information:
$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/2p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M
|__ Port 1: Dev 5, If 0, Class=HID, Driver=usbhid, 1.5M
|__ Port 5: Dev 3, If 0, Class='
|__ Port 5: Dev 3, If 1, Class='
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: pm-utils 1.4.1-9
ProcVersionSign
Uname: Linux 3.5.0-27-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Fri Apr 12 16:32:39 2013
InstallationDate: Installed on 2012-12-16 (116 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
MarkForUpload: True
PackageArchitec
SourcePackage: pm-utils
UpgradeStatus: Upgraded to quantal on 2013-01-31 (71 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.