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

Trever L. Adams
2001-04-05T20:39:45Z

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