2009-11-26 05:46:55

by Keng-Yü Lin

[permalink] [raw]
Subject: [PATCH] acer-wmi: Add DMI quirk to blacklist Acer Aspire One BA01-DV/JM11-ML.

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 <[email protected]>
---
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



2009-11-30 18:30:38

by John W. Linville

[permalink] [raw]
Subject: Re: [PATCH] acer-wmi: Add DMI quirk to blacklist Acer Aspire One BA01-DV/JM11-ML.

I think this needs to go through someone else's tree...

John

On Thu, Nov 26, 2009 at 01:46:53PM +0800, Keng-Yu Lin wrote:
> 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 <[email protected]>
> ---
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>

--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.