Re: 2.4.3 (and possibly 2.4.2) don't enter S5 (ACPI) on shutdown

Trever L. Adams (trever_Adams@bigfoot.com)
Thu, 05 Apr 2001 16:36:22 -0400


Grover, Andrew wrote:

>> From: Trever L. Adams [mailto:trever_Adams@bigfoot.com]
>> 2.4.3 no longer shuts down automatically with S5.
>>
>> [2.] Full description of the problem/report:
>>
>> 2.4.3 no longer shuts down automatically with S5. I have an Athlon
>> based system using the FIC-SD11 motherboard. In 2.4.1 and possibly
>> 2.4.2 the system used to shut down just fine.
>
>
> This is the most likely culprit. Trevor please let me know if this does it:
>
> --- linux/drivers/acpi/hardware/hwsleep.c.orig Fri Feb 9 11:45:58 2001
> +++ linux/drivers/acpi/hardware/hwsleep.c Thu Apr 5 12:11:54 2001
> @@ -179,8 +179,6 @@
>
> acpi_hw_register_write(ACPI_MTX_LOCK, PM1_a_CONTROL, PM1_acontrol);
> acpi_hw_register_write(ACPI_MTX_LOCK, PM1_b_CONTROL, PM1_bcontrol);
> - acpi_hw_register_write(ACPI_MTX_LOCK, PM1_CONTROL,
> - (1 << acpi_hw_get_bit_shift (SLP_EN_MASK)));
>
> enable();

Thank you Andrew. This fixed it perfectly. I wish I understood what

the different PM controls were, but it sure did the trick.

I do have a question that you might be able to answer.

Since I left the 2.2.x series of kernels, my harddrives never spin down
now. I do not know what else doesn't sleep. This is the case with APM
(on a box that doesn't crash from it) as well as ACPI. What could be
the cause? I would like the system to go to sleep as much as possible
when it is idle.

TrevEr Adams

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/