Re: Resume on Apple Mac Mini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 17, 2006 at 05:35:51PM -0700, Linus Torvalds wrote:

> The thing that does work is to literally just set the SCI_ENABLE bit:
> 
> 	acpi_set_register(ACPI_BITREG_SCI_ENABLE, 1, ACPI_MTX_DO_NOT_LOCK);
> 
> after resume, _not_ the "acpi_enable()".

The ACPI spec says:

"If this is an S2 or S3 wake, then the BIOS restores minimum context of 
the system before jumping to the waking vector. This includes:

...

ACPI registers. SCI_EN bit must be set. All event status/enable bits 
(PM1x_STS, PM1x_EN, GPEx_STS and GPEx_EN) must not be changed by BIOS."

So it seems like either we're doing something slightly wrong on putting 
machines to sleep which is resulting in them waking up without SCI_EN 
being set, or Windows unconditionally enables it and some hardware is 
just broken. Either way, it doesn't seem likely that it'll cause any 
harm.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux