linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Reboot through the BIOS on newer HP laptops
Date: Thu, 24 Nov 2005 05:21:07 +0000	[thread overview]
Message-ID: <20051124052107.GA28070@srcf.ucam.org> (raw)

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

             reply	other threads:[~2005-11-24  5:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-24  5:21 Matthew Garrett [this message]
2005-11-24  7:26 ` [PATCH] Reboot through the BIOS on newer HP laptops Alistair John Strachan
2005-11-24  7:29   ` Matthew Garrett
2005-11-27  4:33 ` Andrew Morton
2005-11-27 11:56   ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051124052107.GA28070@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).