Skip to contentSkip to conversation

acpi poweroff

DISCUSSION André Pereira de Almeida 2 participants 4 messages May 9, 2005 – May 11, 2005

lore
Share & tools
lore
#0 lore raw

When I try to poweroff my computer, it reboots.
The only way to turn it off is to change

acpi_sleep_prepare(ACPI_STATE_S5);

to

acpi_sleep_prepare(ACPI_STATE_S4);

in the function acpi_power_off in the file drivers/acpi/sleep/poweroff.c. I think it's a buggy acpi controller.
What's the side effect of this change?

#1 lore raw

This is a clue to track down to the root.
What's your machine model and kernel version?
Thanks,
Luming

Quoted 17 lines · André Pereira de Almeida

When I try to poweroff my computer, it reboots.
The only way to turn it off is to change

acpi_sleep_prepare(ACPI_STATE_S5);

to

acpi_sleep_prepare(ACPI_STATE_S4);

in the function acpi_power_off in the file drivers/acpi/sleep/poweroff.c. I think it's a buggy acpi controller.
What's the side effect of this change?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 25 lines · Luming

This is a clue to track down to the root.
What's your machine model and kernel version?
Thanks,
Luming

Quoted 9 lines · André Pereira de Almeida

When I try to poweroff my computer, it reboots.
The only way to turn it off is to change

acpi_sleep_prepare(ACPI_STATE_S5);

to

acpi_sleep_prepare(ACPI_STATE_S4);

Quoted 9 lines

in the function acpi_power_off in the file drivers/acpi/sleep/poweroff.c. I think it's a buggy acpi controller.
What's the side effect of this change?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml

Quoted 3 lines

/

It is a AMD Athlon XP 1700+ processor with a Asus A7S266 Motherboard. If it is of any help, the header of de ACPI's FADT says:
OEMID: ASUS OEM Table ID: A7S266VM
OEM Revision: 1.0B
Creator ID: MSFT
Creator Revision: 1011
André.

#3 lore raw
Quoted 25 lines · André Pereira de Almeida
Quoted 14 lines · Luming

This is a clue to track down to the root.
What's your machine model and kernel version?
Thanks,
Luming

Quoted 7 lines · André Pereira de Almeida

When I try to poweroff my computer, it reboots.
The only way to turn it off is to change

acpi_sleep_prepare(ACPI_STATE_S5);

to

Quoted 9 lines
Quoted 6 lines

acpi_sleep_prepare(ACPI_STATE_S4);

in the function acpi_power_off in the file drivers/acpi/sleep/poweroff.c. I think it's a buggy acpi controller.
What's the side effect of this change?

/

Quoted 6 lines

It is a AMD Athlon XP 1700+ processor with a Asus A7S266 Motherboard. If it is of any help, the header of de ACPI's FADT says:
OEMID: ASUS OEM Table ID: A7S266VM
OEM Revision: 1.0B
Creator ID: MSFT
Creator Revision: 1011
André.

Sory, I forgot the kernel version: 2.6.12-rc3-mm3, but It's also happens in 2.6.11.8, 2.6.12-rc3 and 2.6.12-rc4 André