linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] acer-wmi: Add DMI quirk to blacklist Acer Aspire One BA01-DV/JM11-ML.
@ 2009-11-26  5:46 Keng-Yu Lin
  2009-11-30 18:24 ` John W. Linville
  0 siblings, 1 reply; 2+ messages in thread
From: Keng-Yu Lin @ 2009-11-26  5:46 UTC (permalink / raw)
  To: linux-wireless; +Cc: Keng-Yu Lin

The two Acer Aspire One models should be blacklisted to prevent from
reporting rfkill is enabled since it's hardware controlled.

Signed-off-by: Keng-Yu Lin <keng-yu.lin@canonical.com>
---
 drivers/platform/x86/acer-wmi.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 454970d..b39766c 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -241,6 +241,20 @@ static struct dmi_system_id __devinitdata acer_blacklist[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "AOA150"),
 		},
 	},
+	{
+		.ident = "Acer Aspire One (BA01-DV)",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "AO531h"),
+		},
+	},
+	{
+		.ident = "Acer Aspire One (JM11-ML)",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "AO751h"),
+		},
+	},
 	{}
 };
 
-- 
1.6.3.3


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

end of thread, other threads:[~2009-11-30 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-26  5:46 [PATCH] acer-wmi: Add DMI quirk to blacklist Acer Aspire One BA01-DV/JM11-ML Keng-Yu Lin
2009-11-30 18:24 ` John W. Linville

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