Re: [PATCH] Add an Apple iMac9,1 DMI entry to reboot.c so the machinereboot's properly.

From: Justin P. Mattock
Date: Fri Feb 12 2010 - 05:46:23 EST


On 02/12/10 02:02, Mihai DonÈu wrote:
On Friday 12 February 2010 11:15:06 Justin P. Mattock wrote:
On 02/09/10 07:04, Justin P. Mattock wrote:
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<justinmattock@xxxxxxxxx>
---
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"),
+ },
+ },
{ }
};

so what do I have todo file a bugreport against this
to get a response from you people?

Looking at Linus' git tree, it would seem that Ingo Molnar is the "entry
point" for the patches in arch/x86/kernel/reboot.c. Maybe you should try CC-
ing him?



Thank you.. I'm not familiar with whom to send to.
(even though I've been developing to lkml
for a while I'm still a newbie).

In any case I will send to ingo(as you had mentioned)
and see what he says

Justin P. Mattock


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/