[PATCH] Reboot through the BIOS on newer HP laptops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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 | [email protected]
-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux