All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Reboot through the BIOS on newer HP laptops
@ 2005-11-24  5:21 Matthew Garrett
  2005-11-24  7:26 ` Alistair John Strachan
  2005-11-27  4:33 ` Andrew Morton
  0 siblings, 2 replies; 5+ messages in thread
From: Matthew Garrett @ 2005-11-24  5:21 UTC (permalink / raw)
  To: linux-kernel

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@srcf.ucam.org>

--- 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@srcf.ucam.org

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

end of thread, other threads:[~2005-11-27 15:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-24  5:21 [PATCH] Reboot through the BIOS on newer HP laptops Matthew Garrett
2005-11-24  7:26 ` Alistair John Strachan
2005-11-24  7:29   ` Matthew Garrett
2005-11-27  4:33 ` Andrew Morton
2005-11-27 11:56   ` Matthew Garrett

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.