Subject: Re: Call for testing: ACPI standby/suspend support
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Alexander Yurchenko <grange@rt.mipt.ru>
List: tech-kern
Date: 03/09/2006 20:20:26
On Thu, Mar 09, 2006 at 12:13:24PM -0500, Steven M. Bellovin wrote:
> On 09 Mar 2006 11:41:16 -0500
> "Nathan J. Williams" <nathanw@wasabisystems.com> wrote:
> 
> > "Jared D. McNeill" <jmcneill@invisible.ca> writes:
> > 
> > > PLEASE TEST THIS CODE! It's very simple, boot a kernel with these
> > > patches single-user, and run 'apm -d -z'. Report your results. If you
> > > can, provide patches to hardware device driver powerhooks. This is
> > > probably the biggest task involved with getting ACPI suspend/resume
> > > working properly.
> > 
> > On an IBM ThinkPad X20, I get these errors from the kernel with either
> > "apm -d -S" or "apm -d -z":
> > 
> > ACPI Error (evregion-0415): No handler for Region [ECOR] (0xc0aa7dc0) [EmbeddedControl]
> > ACPI Error (exfldio-0381): Region EmbeddedControl(3) has no handler
> > ACPI Error (psparse-0626): Method parse/execution failed [\_PTS] (Node 0xc0ab0680), AE_NOT_EXIST
> > acpi: failed preparing to sleep (AE_NOT_EXIST)
> > 
> > Suggestions? Are there any ACPI dumps that would be useful?
> 
> I saw similar messages at boot time with the older version of Jared's patch on
> a Thinkpad T42:
> 
> acpi0 at mainbus0: Advanced Configuration and Power Interface
> acpi0: using Intel ACPI CA subsystem version 20060113
> acpi0: X/RSDT: OemId <IBM   ,TP-1R   ,00003130>, AslId < LTP,00000000>
> ACPI Error (evregion-0415): No handler for Region [ECOR] (0xc2d1af40) [EmbeddedControl]

ibm thinkpads have broken ecdt. you need to patch it.

> ACPI Error (exfldio-0381): Region EmbeddedControl(3) has no handler
> ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.LPC_.EC__._INI] (Node 0xc2d1b280), AE_NOT_EXIST
> acpi0: SCI interrupting at int 9
> acpi0: fixed-feature power button present
> apmdev0 at acpi0: Power Management spec V1.2
> APM get power status: unknown error code
> ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
> ACPI Error (evregion-0415): No handler for Region [ECOR] (0xc2d1af40) [EmbeddedControl]
> ACPI Error (exfldio-0381): Region EmbeddedControl(3) has no handler
> ACPI Error (dswexec-0570): [AE_NOT_CONFIGURED]: Could not resolve operands, AE_NOT_EXIST
> ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc2d1d8e0), AE_NOT_EXIST
> ACPI Error (uteval-0255): Method execution failed [\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc2d1d8e0), AE_NOT_EXIST
> ACPI Error (evregion-0415): No handler for Region [ECOR] (0xc2d1af40) [EmbeddedControl]
> ACPI Error (exfldio-0381): Region EmbeddedControl(3) has no handler
> ACPI Error (dswexec-0570): [AE_NOT_CONFIGURED]: Could not resolve operands, AE_NOT_EXIST
> ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.LPC_.EC__.BAT1._STA] (Node 0xc2d1d760), AE_NOT_EXIST
> ACPI Error (uteval-0255): Method execution failed [\_SB_.PCI0.LPC_.EC__.BAT1._STA] (Node 0xc2d1d760), AE_NOT_EXIST

-- 
   Alexander Yurchenko