Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

Justin P. Mattock

unread,
Feb 6, 2010, 2:40:01 PM2/6/10
to
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 <justin...@gmail.com>
---
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"),
+ },
+ },
{ }
};

--
1.6.5.GIT

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

Justin P. Mattock

unread,
Feb 9, 2010, 10:10:02 AM2/9/10
to
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<justin...@gmail.com>
> ---
> 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"),
> + },
> + },
> { }
> };
>

--

Justin P. Mattock

unread,
Feb 12, 2010, 4:20:02 AM2/12/10
to


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

Justin P. Mattock

Mihai Donțu

unread,
Feb 12, 2010, 5:10:02 AM2/12/10
to

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?

--
Mihai Donțu

Justin P. Mattock

unread,
Feb 12, 2010, 5:50:02 AM2/12/10
to
On 02/09/10 07:04, Justin P. Mattock wrote:

Hello Ingo.. this fixes a reboot issue
with the apple iMac9,1 machines.

Justin P. Mattock

Justin P. Mattock

unread,
Feb 12, 2010, 5:50:02 AM2/12/10
to


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

0 new messages