X86 platform drivers
 help / color / mirror / Atom feed
From: Carlos Corbacho <carlos@strangeworlds.co.uk>
To: Joey Lee <jlee@novell.com>
Cc: vpivaini@cs.helsinki.fi, platform-driver-x86@vger.kernel.org
Subject: Re: acer-wmi is unnecessarily loaded on a Lenovo Ideapad S12
Date: Thu, 30 Dec 2010 10:04:29 +0000	[thread overview]
Message-ID: <201012301004.29531.carlos@strangeworlds.co.uk> (raw)
In-Reply-To: <4D1B53FB020000230002621B@novprvlin0050.provo.novell.com>

On Wednesday 29 December 2010 04:30:03 Joey Lee wrote:

[..]

> Maybe Wistron is the ODM (or OEM) to manufacture Lenovo Ideapad S12 ?
> Anyway,
> I added this Ideapad S12 to blacklist in acer-wmi driver because it must
> supported by ideapad-laptop driver.
> 
> I also added Cc. to Carlos Corbacho, need his review.

I suspect this is the same as all the Acer netbooks - they provide a dummy WMI 
interface which doesn't actually do anything. It would be nicer if there were 
a more generic way to do this, but this will do for now (I may try to play 
around with my Aspire One and see if I can figure out some way to detect the 
dummy interface, without needing to resort to DMI).

[..]

> From: Lee, Chun-Yi <jlee@novell.com>
> Date: Wed, 29 Dec 2010 00:17:23 +0800
> Subject: [PATCH] Add Lenovo Ideapad S12 to acer blacklist
> 
> The Lenovo Ideapad S12's _WDG have GUID that matches with AMW0, it causes
> acer-wmi driver auto-probe when system boot but there already have
> ideapad-laptop driver to support Ideapad serial.
> So, add Lenovo Ideapad S12 to acer blacklist to disable it.
> 
> Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
> Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>

Acked-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
> ---
>  drivers/platform/x86/acer-wmi.c |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/platform/x86/acer-wmi.c
> b/drivers/platform/x86/acer-wmi.c index 28288ad..387ac7c 100644
> --- a/drivers/platform/x86/acer-wmi.c
> +++ b/drivers/platform/x86/acer-wmi.c
> @@ -310,6 +310,17 @@ static struct dmi_system_id __devinitdata
> acer_blacklist[] = { DMI_MATCH(DMI_PRODUCT_NAME, "AOA150"),
>  		},
>  	},
> +	/*
> +	 * The Lenovo Ideapad S12 have GUID that matches with AMW0 - disable it.
> +	 * There already have ideapad-laptop driver to support Ideapad serial.
> +	 */
> +	{
> +		.ident = "Lenovo Ideapad S12",
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "20021,2959"),
> +		},
> +	},
>  	{}
>  };

  parent reply	other threads:[~2010-12-30 10:04 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-29  4:30 acer-wmi is unnecessarily loaded on a Lenovo Ideapad S12 Joey Lee
2010-12-29 22:12 ` Ville-Pekka Vainio
2010-12-30 10:04 ` Carlos Corbacho [this message]
2011-01-03 20:49   ` Matthew Garrett
2011-03-02  8:53     ` Joey Lee
2011-03-02 21:09       ` Carlos Corbacho
2011-03-03  3:17         ` Ike Panhc
2011-03-03  6:50           ` Joey Lee
2011-03-03  7:11             ` Ike Panhc
2011-03-03  7:29               ` Joey Lee
2011-03-03  7:23         ` Joey Lee
2011-03-10  6:23           ` Ozan Çağlayan
2011-03-10  6:36             ` Joey Lee
2011-03-10  6:58               ` Ozan Çağlayan
2011-03-10  7:45                 ` Joey Lee
2011-03-10  7:52                   ` Ozan Çağlayan
2011-03-04 23:59         ` Matthew Garrett
2011-03-06  2:53           ` Joey Lee
  -- strict thread matches above, loose matches on Subject: below --
2010-12-31  9:10 Joey Lee
2010-12-29 23:41 Joey Lee
2010-12-28 15:36 Joey Lee
2010-12-28 17:28 ` Ville-Pekka Vainio
2010-12-28 12:31 Ville-Pekka Vainio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201012301004.29531.carlos@strangeworlds.co.uk \
    --to=carlos@strangeworlds.co.uk \
    --cc=jlee@novell.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=vpivaini@cs.helsinki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox