linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] x86/reboot/quirks: add ASUS EeeBook X205TA/W reboot quirk
@ 2017-03-05 18:16 Matjaz Hegedic
  2017-03-06 10:53 ` [tip:x86/urgent] x86/reboot/quirks: Add " tip-bot for Matjaz Hegedic
  0 siblings, 1 reply; 2+ messages in thread
From: Matjaz Hegedic @ 2017-03-05 18:16 UTC (permalink / raw)
  To: tglx, mingo, hpa; +Cc: x86, linux-kernel, Matjaz Hegedic

Without the parameter reboot=a, ASUS EeeBook X205TA/W will hang
when it should reboot. This adds the appropriate quirk, thus
fixing the problem.

Signed-off-by: Matjaz Hegedic <matjaz.hegedic@gmail.com>
---
 arch/x86/kernel/reboot.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index e244c19..067f981 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -223,6 +223,22 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "P4S800"),
 		},
 	},
+	{	/* Handle problems with rebooting on ASUS EeeBook X205TA */
+		.callback = set_acpi_reboot,
+		.ident = "ASUS EeeBook X205TA",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "X205TA"),
+		},
+	},
+	{	/* Handle problems with rebooting on ASUS EeeBook X205TAW */
+		.callback = set_acpi_reboot,
+		.ident = "ASUS EeeBook X205TAW",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "X205TAW"),
+		},
+	},
 
 	/* Certec */
 	{       /* Handle problems with rebooting on Certec BPC600 */
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip:x86/urgent] x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk
  2017-03-05 18:16 [PATCH v2] x86/reboot/quirks: add ASUS EeeBook X205TA/W reboot quirk Matjaz Hegedic
@ 2017-03-06 10:53 ` tip-bot for Matjaz Hegedic
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Matjaz Hegedic @ 2017-03-06 10:53 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: matjaz.hegedic, hpa, mingo, linux-kernel, tglx

Commit-ID:  3b3e78552d3077ec70d2640e629e07e3ab416a6a
Gitweb:     http://git.kernel.org/tip/3b3e78552d3077ec70d2640e629e07e3ab416a6a
Author:     Matjaz Hegedic <matjaz.hegedic@gmail.com>
AuthorDate: Sun, 5 Mar 2017 19:16:44 +0100
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 6 Mar 2017 11:47:43 +0100

x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk

Without the parameter reboot=a, ASUS EeeBook X205TA/W will hang
when it should reboot. This adds the appropriate quirk, thus
fixing the problem.

Signed-off-by: Matjaz Hegedic <matjaz.hegedic@gmail.com>
Link: http://lkml.kernel.org/r/1488737804-20681-1-git-send-email-matjaz.hegedic@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
 arch/x86/kernel/reboot.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 01c9cda..4194d6f 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -231,6 +231,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "X205TAW"),
 		},
 	},
+	{	/* Handle problems with rebooting on ASUS EeeBook X205TAW */
+		.callback = set_acpi_reboot,
+		.ident = "ASUS EeeBook X205TAW",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "X205TAW"),
+		},
+	},
 
 	/* Certec */
 	{       /* Handle problems with rebooting on Certec BPC600 */

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-06 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-05 18:16 [PATCH v2] x86/reboot/quirks: add ASUS EeeBook X205TA/W reboot quirk Matjaz Hegedic
2017-03-06 10:53 ` [tip:x86/urgent] x86/reboot/quirks: Add " tip-bot for Matjaz Hegedic

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).