Skip to contentSkip to conversation

P1-AH2 suspend ordering patch

PATCH Michel Lespinasse 1 participant 1 message Jan 2, 2009 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

The following patch (over 2.6.28) makes suspend/resume work on ASUS P1-AH2 systems:

acpi/sleep/main.c renamed from acpi/sleep/main.c.orig +8 -0
@@ -363,6 +363,14 @@
 		},
 	},
 	{
+	.callback = init_old_suspend_ordering,
+	.ident = "ASUS P1-AH2",
+	.matches = {
+		DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTek Computer INC."),
+		DMI_MATCH(DMI_BOARD_NAME, "M2N8L"),
+		},
+	},
+	{
 	.callback = init_set_sci_en_on_resume,
 	.ident = "Apple MacBook 1,1",
 	.matches = {

(The M2N8L motherboard is, as far as I know, only found in the P1-AH2 barebones systems. It has a special shape and would not fit in any standard system anyway).

Please apply into all appropriate trees...

Cheers,

Signature · 2 lines
Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.