linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aaron Lu <aaron.lu@intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: ACPI Devel Mailing List <linux-acpi@vger.kernel.org>,
	Jeffery To <jeffery.to@gmail.com>,
	Wouter Depypere <wouter.depypere@ugent.be>,
	Len Brown <lenb@kernel.org>
Subject: Re: [PATCH] ACPI / blacklist: disable Win8 mode for ThinkPad X201 and Latitude E6230
Date: Fri, 06 Dec 2013 14:18:41 +0800	[thread overview]
Message-ID: <52A16C41.9020203@intel.com> (raw)
In-Reply-To: <52A15F72.1050408@intel.com>

Forgot to CC Len Brown, sorry.

-Aaron

On 12/06/2013 01:24 PM, Aaron Lu wrote:
> Both ThinkPad X201 and Latitude E6230 have problems under Win8 mode,
> so blacklist Win8 mode for them.
> 
> Reference: https://bugzilla.kernel.org/show_bug.cgi?id=60697
> Reported-and-tested-by: Jeffery To <jeffery.to@gmail.com>
> Reported-and-tested-by: Wouter Depypere <wouter.depypere@ugent.be>
> Cc: 3.8 and above <stable@vger.kernel.org>
> Signed-off-by: Aaron Lu <aaron.lu@intel.com>
> ---
>  drivers/acpi/blacklist.c | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
> index 05ee8f61bfb5..97a8e395f72e 100644
> --- a/drivers/acpi/blacklist.c
> +++ b/drivers/acpi/blacklist.c
> @@ -324,6 +324,32 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
>  	},
>  
>  	/*
> +	 * The bluetooth functionality is unconditionally enabled
> +	 * after a S3 cycle on Thinkpad X201 under Win8 mode.
> +	 */
> +	{
> +	.callback = dmi_disable_osi_win8,
> +	.ident = "ThinkPad X201",
> +	.matches = {
> +		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X201"),
> +		},
> +	},
> +
> +	/*
> +	 * The hardware switch for enable/disable wifi on
> +	 * Dell Latitude E6230 is broken under Win8 mode.
> +	 */
> +	{
> +	.callback = dmi_disable_osi_win8,
> +	.ident = "Dell Latitude E6230",
> +	.matches = {
> +		     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> +		     DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6230"),
> +		},
> +	},
> +
> +	/*
>  	 * BIOS invocation of _OSI(Linux) is almost always a BIOS bug.
>  	 * Linux ignores it, except for the machines enumerated below.
>  	 */
> 


  reply	other threads:[~2013-12-06  6:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-06  5:24 [PATCH] ACPI / blacklist: disable Win8 mode for ThinkPad X201 and Latitude E6230 Aaron Lu
2013-12-06  6:18 ` Aaron Lu [this message]
2013-12-09 16:58 ` Matthew Garrett
2013-12-10  3:05   ` Aaron Lu
2013-12-10 17:01     ` Matthew Garrett
2013-12-11  0:26       ` Aaron Lu

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=52A16C41.9020203@intel.com \
    --to=aaron.lu@intel.com \
    --cc=jeffery.to@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=wouter.depypere@ugent.be \
    /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;
as well as URLs for NNTP newsgroup(s).