[PATCH] Reboot through the BIOS on newer HP laptops
From: Matthew Garrett
Date: Thu Nov 24 2005 - 00:20:46 EST
Newer HP laptops (nc4200, nc6xxx, nc8xxx) hang on reboot with a standard
configuration. Passing reboot=b makes them work. This patch adds a DMI
quirk that defaults them to this mode, and doesn't appear to have any
adverse affects on older HPs.
Signed-off-by: Matthew Garrett <mjg59@xxxxxxxxxxxxx>
--- a/arch/i386/kernel/reboot.c.orig 2005-09-20 18:54:50.000000000 +0100
+++ a/arch/i386/kernel/reboot.c 2005-09-20 18:58:11.000000000 +0100
@@ -135,6 +135,14 @@
DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge 2400"),
},
},
+ { /* HP laptops have weird reboot issues */
+ .callback = set_bios_reboot,
+ .ident = "HP Laptop",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq"),
+ },
+ },
{ }
};
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/