ACPI suspend problems revisited: USB & 1394 modules?

From: Robert Hancock
Date: Mon May 22 2006 - 03:05:41 EST


I reported a problem with ACPI suspend on a Compaq Presario X1050 laptop a while ago:

http://bugzilla.kernel.org/show_bug.cgi?id=6075

Essentially when coming out of suspend I get ACPI execution errors like:

ACPI: read EC, IB not empty
ACPI Exception (evregion-0409): AE_TIME, Returned by Handler for
[EmbeddedControl] [20060127]
ACPI Exception (dswexec-0458): AE_TIME, While resolving operands for
[AE_NOT_CONFIGURED] [20060127]
ACPI Error (psparse-0517): Method parse/execution failed
[\_SB_.C046.C059.C0EA.C11D] (Node dfea0280), AE_TIME
ACPI Error (psparse-0517): Method parse/execution failed [\_WAK] (Node
c14dc500), AE_TIME

After this point, the battery status is no longer reported, the keyboard starts losing keypresses and the mouse pointer tends to freeze up for a while and then unstick. What ACPI seems to be having problems with is that the ACPI Embedded Controller seems to be in a wacked-out state where it appears to not process its input. As well, the keyboard/PS2 controller is messed up and keeps losing sync. Since these are apparently usually the same physical hardware, this isn't too surprising to see both problems.

Another user mentioned recently. that removing USB and IEEE1394 modules prevented the problem on his HP laptop. For me, if the ohci_hcd, ehci_hcd and ohci1394 modules are removed, suspend indeed appears to work. I haven't tested all possible combinations, but it seems that if any of those are loaded, the problem shows up. I've seen a number of suspend scripts people have written that remove at least the USB modules before suspend and reload them afterwards, but this seems like a rather brutal hack.

I can possibly imagine some BIOS SMM code causing problems on the USB side, but I'm not sure how the 1394 module could be involved here..

Does anyone have any ideas as to how I could help debug this further?

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/