lkml.org 
[lkml]   [2002]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [OOPS] Kernel powerdown
From
Date
On Fri, 2002-03-15 at 16:44, Udo A. Steinberg wrote:

> > Does the machine power off successfully using ACPI when the NMI watchdog is
> > not enabled?
>
> No, it never managed to power off with ACPI. It works with APM though.

Ah, that is the problem, then.

> > APM doesn't turn off the NMI afaik so why should ACPI have to?
>
> Imho the problem will most likely go away when poweroff works properly
> on my board. I can supply whatever info you need to make it work, too ;)
>
> The board is an Asus A7V.

See if the attached patch fixes it ...

Robert Love

diff -urN linux-2.4.19/drivers/acpi/hardware/hwsleep.c linux/drivers/acpi/hardware/hwsleep.c
--- linux-2.4.19/drivers/acpi/hardware/hwsleep.c Fri Mar 15 00:28:10 2002
+++ linux/drivers/acpi/hardware/hwsleep.c Fri Mar 15 16:54:57 2002
@@ -152,6 +152,15 @@
return status;
}

+ /*
+ * Broken ACPI table on ASUS A7V:
+ * it reports type 7, but poweroff is type 2
+ */
+ if (type_a == 7 && type_b == 7 && sleep_state == ACPI_STATE_S5
+ && !memcmp(acpi_gbl_DSDT->oem_id, "ASUS\0\0", 6)
+ && !memcmp(acpi_gbl_DSDT->oem_table_id, "A7V", 3)) {
+ type_a = type_b = 2;
+ }
/* run the _PTS and _GTS methods */

MEMSET(&arg_list, 0, sizeof(arg_list));
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.060 / U:2.632 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site