Skip to contentSkip to conversation

x86: add Dell OptiPlex 780 reboot quirk

PATCH New Pascal de Bruijn 1 participant 1 message Jul 1, 2013 x86

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 x86: add Dell OptiPlex 780 reboot quirk

Quoted 1 line

From 34ee5e25f01c4791b26e400c509761264a70dd99 Mon Sep 17 00:00:00 2001

From: Pascal de Bruijn <[email protected]>
Date: Wed, 27 Mar 2013 14:19:53 +0000
Subject: [PATCH 2/3] x86: add Dell OptiPlex 780 reboot quirk

Dell OptiPlex 780 hangs on reboot unless reboot=bios is used. Add quirk to reboot through the BIOS.

---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
arch/x86/kernel/reboot.c +8 -0
index 6961e77..0dfed0f 100644
@@ -301,6 +301,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 760"),
 		},
 	},
+	{	/* Handle problems with rebooting on Dell OptiPlex 780 */
+		.callback = set_bios_reboot,
+		.ident = "Dell OptiPlex 780",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 780"),
+		},
+	},
 	{	/* Handle problems with rebooting on Dell 2400's */
 		.callback = set_bios_reboot,
 		.ident = "Dell PowerEdge 2400",
Signature · 1 line
1.7.0.4