Bug 1557

Summary: resuming from S1 will hang, if CONFIG_USB_EHCI_HCD get configured.
Product: ACPI Reporter: Luming Yu (luming.yu)
Component: Power-Sleep-WakeAssignee: Luming Yu (luming.yu)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.0-test9 Subsystem:
Regression: --- Bisected commit-id:
Attachments: a patch for fixing this issue

Description Luming Yu 2003-11-18 22:31:03 UTC
Distribution:
RH

Hardware Environment:
ASUS M2400 laptop

Software Environment:
2.6.0-test9

Problem Description:
If CONFIG_USB_EHCI_HCD get configured, "echo -n 1 > /proc/acpi/sleep" can work,
but resuming from S1 will hang 

Steps to reproduce:
echo -n 1 > /proc/acpi/sleep, then press power button
hang after message below:
PCI: Setting latency timer of device 0000:00:1d.2 to 64
ehci_hcd 0000:00:1d.7: resume from state D0
Comment 1 Luming Yu 2003-11-18 22:34:39 UTC
Created attachment 1473 [details]
a patch for fixing this issue

We need check whether the device has PM capability, before we actually do PM
work.
Comment 2 Len Brown 2004-05-04 07:45:32 UTC
i see that gregkh accepted this fix into 2.6.6 april 22.  closing. 
Comment 3 David Brownell 2004-05-06 19:42:09 UTC
Note that this patch is just a bandage.  There are some issues in 
the generic usbcore PCI code, and also in EHCI's suspend/resume. 
When those get fixed, this patch will likely get removed.