Closing the lid on my powerbook fails to sleep. I don't have the full log, but the adb driver is apparently failing to respond to the sleep call. Is this a known problem?
It's probably not ADB, ADB just happen to be the last to be woken back up after the failure. It's generally a USB problem (as most PM issues are ...)
Yeah, I don't have the dmesg handy, but adb was the last thing I saw on the screen. When I get home I'll try to get the complete output and post it here. I'll also see if rmmoding the USB drivers before I close the lid helps. Jesse
Here's the relevant part of the logs after a suspend attempt. Looks like hci_usb is the problem. If I rmmod it prior to closing the lid, sleep works correctly. hci_usb 1-1:1.1: no suspend? hci_usb 1-1:1.0: no suspend? Could not suspend device 1-1: error -16 adb: starting probe task... adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f ADB keyboard at 2, handler 1 ADB mouse at 3, handler set to 4 (trackpad) adb: finished probe task... Driver sleep failed Sleep rejected by devices
The hci_usb driver lacks a suspend method. A workaround is to add 'hid2hci --tohid; sleep 1' in the sleep) section and 'hid2hci' in the wakeup) section of /etc/power/pwrctl-local.
A new kernel update has been released (Version: 2.6.18-1.2200.fc5) based upon a new upstream kernel release. Please retest against this new kernel, as a large number of patches go into each upstream release, possibly including changes that may address this problem. This bug has been placed in NEEDINFO state. Due to the large volume of inactive bugs in bugzilla, if this bug is still in this state in two weeks time, it will be closed. Should this bug still be relevant after this period, the reporter can reopen the bug at any time. Any other users on the Cc: list of this bug can request that the bug be reopened by adding a comment to the bug. In the last few updates, some users upgrading from FC4->FC5 have reported that installing a kernel update has left their systems unbootable. If you have been affected by this problem please check you only have one version of device-mapper & lvm2 installed. See bug 207474 for further details. If this bug is a problem preventing you from installing the release this version is filed against, please see bug 169613. If this bug has been fixed, but you are now experiencing a different problem, please file a separate bug for the new problem. Thank you.
Recent FC6 kernels seem to suspend/resume just fine (though they're awfully verbose when they do it but that's another issue altogether).