Re: [PATCH] x86: Aspire One Happy2 reboots only with the kbd method

From: Don Zickus
Date: Thu Jun 21 2012 - 10:30:14 EST


On Thu, Jun 21, 2012 at 03:32:03PM +0200, Uros Vampl wrote:
> Add a quirk to make the Acer Aspire One Happy2 reboot properly. For
> reference, discussion at the Arch forums:
> https://bbs.archlinux.org/viewtopic.php?id=143716
>
> Signed-off-by: UroÅ Vampl <mobile.leecher@xxxxxxxxx>

Seems fine by me based on the thread above. Not sure if there is another
callback that should be tried first before using BOOT_KBD. Probably
doesn't matter.

Acked-by: Don Zickus <dzickus@xxxxxxxxxx>

>
> --- linux-3.4.3.orig/arch/x86/kernel/reboot.c 2012-06-17 20:21:44.000000000 +0200
> +++ linux-3.4.3/arch/x86/kernel/reboot.c 2012-06-21 15:16:15.003430778 +0200
> @@ -317,6 +317,14 @@
> DMI_MATCH(DMI_PRODUCT_NAME, "AOA110"),
> },
> },
> + { /* Handle reboot issue on Acer Aspire One Happy2 */
> + .callback = set_kbd_reboot,
> + .ident = "Acer Aspire One Happy2",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "AOHAPPY2"),
> + },
> + },
> { }
> };
>
--
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/