All of lore.kernel.org
 help / color / mirror / Atom feed
* acpi poweroff
@ 2005-05-09 20:17 André Pereira de Almeida
  2005-05-11 16:29 ` Yu, Luming
  0 siblings, 1 reply; 4+ messages in thread
From: André Pereira de Almeida @ 2005-05-09 20:17 UTC (permalink / raw)
  To: linux-kernel

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: acpi poweroff
  2005-05-09 20:17 acpi poweroff André Pereira de Almeida
@ 2005-05-11 16:29 ` Yu, Luming
  2005-05-11 19:17   ` André Pereira de Almeida
  0 siblings, 1 reply; 4+ messages in thread
From: Yu, Luming @ 2005-05-11 16:29 UTC (permalink / raw)
  To: André Pereira de Almeida; +Cc: linux-kernel

This is a clue to track down to the root.
What's your machine model and kernel version?
Thanks,
Luming
On 2005.05.09 17:17:24 -0300, André Pereira de Almeida wrote:
> 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 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: acpi poweroff
  2005-05-11 16:29 ` Yu, Luming
@ 2005-05-11 19:17   ` André Pereira de Almeida
  2005-05-11 19:24     ` André Pereira de Almeida
  0 siblings, 1 reply; 4+ messages in thread
From: André Pereira de Almeida @ 2005-05-11 19:17 UTC (permalink / raw)
  To: Yu, Luming; +Cc: linux-kernel

Yu, Luming wrote:

>This is a clue to track down to the root.
>What's your machine model and kernel version?
>Thanks,
>Luming
>On 2005.05.09 17:17:24 -0300, André Pereira de Almeida wrote:
>  
>
>>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 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
>>
>/
>  
>
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é.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: acpi poweroff
  2005-05-11 19:17   ` André Pereira de Almeida
@ 2005-05-11 19:24     ` André Pereira de Almeida
  0 siblings, 0 replies; 4+ messages in thread
From: André Pereira de Almeida @ 2005-05-11 19:24 UTC (permalink / raw)
  To: Yu, Luming; +Cc: linux-kernel

André Pereira de Almeida wrote:

> Yu, Luming wrote:
>
>> This is a clue to track down to the root.
>> What's your machine model and kernel version?
>> Thanks,
>> Luming
>> On 2005.05.09 17:17:24 -0300, André Pereira de Almeida wrote:
>>  
>>
>>> 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?
>>>
>> /
>>  
>>
> 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é

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-11 19:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-09 20:17 acpi poweroff André Pereira de Almeida
2005-05-11 16:29 ` Yu, Luming
2005-05-11 19:17   ` André Pereira de Almeida
2005-05-11 19:24     ` André Pereira de Almeida

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.