Bug 42915
Summary: | regression: ehci breaks suspend - ASUS U30SD | ||
---|---|---|---|
Product: | Drivers | Reporter: | Laurent Dinclaux (laurent) |
Component: | USB | Assignee: | Greg Kroah-Hartman (greg) |
Status: | NEEDINFO --- | ||
Severity: | high | CC: | aaron.lu, alan, lenb, rui.zhang, stern, tianyu.lan |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.launchpad.net/ubuntu/+source/linux/+bug/945246 | ||
Kernel Version: | Subsystem: | ||
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 56331 |
Description
Laurent Dinclaux
2012-03-12 23:12:47 UTC
video resume is handled by the i915 graphics driver. Can you find which version of the i915 first broke? How do I find that ? All I can tell is that I switched from Oneiric when Precise Beta1 went out and I noticed the issue straight away. The issue is still there in 3.3 final and in the ubuntu 12.04 3.2.0-20 kernel. Also, on suspend, when the screen goes black (with backlight still on) the laptop starts to get hot and fan speed is at its maximum. If I forget the issue and let the laptop suspend itself, the battery gets empty really fast. I can provide any log do any test you want. Prior kernels werebattery eaters, 3.3 is perfect but there is that damn suspend issue .... I found a workaround. I think that mlay help a lot! Just create and edit the file /etc/pm/sleep.d/20_custom-ehci_hcd and paste in this content: https://gist.github.com/2212526 and make the file executable. Suspend then works like a charm. The workaround stopped working. Removing it doesn't solve the issue. The workaround works again, this may have been messed up by a specific update. 3.5 and 3.6rc have some relevant USB fixes for this area including some firmware bug workarounds. Please try 3.6 when it comes out and report the results. ping ... Hi Laurent, Do you still have this problem? Yes, I still need my workaround on ubuntu 12.10. Looks like the workaround script is try to unbind any pci devices the ehci/xhci host controller driver has bound, that would be the pci host controller device for usb 2.0/3.0. Please follow the document pm-basic-debugging.txt available here: https://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt to do the devices test, in short, you can do the following(as root): # cd /sys/power # echo devices > pm_test # echo mem > state And see what happened, please attach dmesg after you've done this. Thanks. BTW, please try to use an upstream mainline kernel. If you can build kernel, then please use the latest Linus' git tree. If not, please follow this link and get a mainline kernel to test, thanks. https://wiki.ubuntu.com/Kernel/MainlineBuilds Hello Laurent, Is there any update? Thanks. Hi Alan (Stern): This is ehci suspend/resume bug. Please take care. There's nothing to be done until we hear back from Laurent. |