From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754647Ab0BIPC5 (ORCPT ); Tue, 9 Feb 2010 10:02:57 -0500 Received: from mail-vw0-f46.google.com ([209.85.212.46]:40990 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753907Ab0BIPCz (ORCPT ); Tue, 9 Feb 2010 10:02:55 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=oQj1CC18kVv5GewqC9ENEABuOeEW/vyRn1krJrHjs7leX9Kea5vXqoVIsFcW/qEIjQ 4MZRd4Fj7bHHTEcdauSOScJq8UG8nwOiLA6bOMrTcVe4B5DqwZWL4g9/EAr5mXX+QCR4 Iv74O9B+EfFDn0K0zm5xFKgA7Tv9U4jnYMg6E= Message-ID: <4B717980.2030802@gmail.com> Date: Tue, 09 Feb 2010 07:04:32 -0800 From: "Justin P. Mattock" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091114 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: linux-kernel Subject: Re: [PATCH] Add an Apple iMac9,1 DMI entry to reboot.c so the machine reboot's properly. References: <1265484976-13414-1-git-send-email-justinmattock@gmail.com> In-Reply-To: <1265484976-13414-1-git-send-email-justinmattock@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Whats the status if this patch? > On the iMac9,1 sudo /sbin/reboot results in > a black screen. Adding this DMI entry gets the > machine to reboot cleanly as it should. > > > Signed-off-by: Justin P. Mattock > --- > arch/x86/kernel/reboot.c | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c > index 704bddc..2de6645 100644 > --- a/arch/x86/kernel/reboot.c > +++ b/arch/x86/kernel/reboot.c > @@ -461,6 +461,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = { > DMI_MATCH(DMI_PRODUCT_NAME, "Macmini3,1"), > }, > }, > + { /* Handle problems with rebooting on Apple iMac9,1 */ > + .callback = set_pci_reboot, > + .ident = "Apple iMac9,1", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."), > + DMI_MATCH(DMI_PRODUCT_NAME, "iMac9,1"), > + }, > + }, > { } > }; >