suspend/resume improved?

Ulrich Spoerlein q at uni.de
Fri Dec 10 12:54:20 PST 2004


On Fri, 10.12.2004 at 10:43:26 -0800, Nate Lawson wrote:
> >Line 444 is the culprit:
> >    ACPI_FLUSH_CPU_CACHE ();
> >
> >    Status = AcpiHwRegisterWrite (ACPI_MTX_DO_NOT_LOCK, 
> >    ACPI_REGISTER_PM1A_CONTROL, PM1AControl);
> >    if (ACPI_FAILURE (Status))
> >    {
> >        return_ACPI_STATUS (Status);
> >    }
> >
> >Putting the loop before AcpiHwRegisterWrite will enter infinite loop,
> >putting it after it -> Reset
> 
> Interesting.  If you add a "DELAY(10000);" before the register write, 
> does this help?  A more likely issue is that we need to write pm1a/b at 
> the same time.  Let me think about this and get you more info later.

It "looks" like the delay does nothing, however I noticed that all three
LEDs (num/scroll/caps lock) were lighting up for 1-2s.

I then swapped pm1a and pm1b, but nothing changed.

Ulrich Spoerlein
-- 
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20041210/6c03719a/attachment.bin


More information about the freebsd-acpi mailing list