Bug 1557 - resuming from S1 will hang, if CONFIG_USB_EHCI_HCD get configured.
Summary: resuming from S1 will hang, if CONFIG_USB_EHCI_HCD get configured.
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Sleep-Wake (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Luming Yu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 22:31 UTC by Luming Yu
Modified: 2004-05-06 19:42 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.0-test9
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
a patch for fixing this issue (584 bytes, patch)
2003-11-18 22:34 UTC, Luming Yu
Details | Diff

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. 

Note You need to log in before you can comment on or make changes to this bug.