public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@infradead.org>
To: "João Paulo Rechi Vita" <jprvita@gmail.com>
Cc: "Corentin Chary" <corentin.chary@gmail.com>,
	andy.shevchenko@gmail.com, platform-driver-x86@vger.kernel.org,
	acpi4asus-user@lists.sourceforge.net,
	linux-kernel@vger.kernel.org,
	"João Paulo Rechi Vita" <jprvita@endlessm.com>
Subject: Re: [PATCH] platform/x86: Add Asus Wireless Radio Control driver
Date: Tue, 5 Jan 2016 09:26:23 -0800	[thread overview]
Message-ID: <20160105172623.GG4219@malice.jf.intel.com> (raw)
In-Reply-To: <1452010613-4673-1-git-send-email-jprvita@endlessm.com>

On Tue, Jan 05, 2016 at 11:16:53AM -0500, João Paulo Rechi Vita wrote:
> Some Asus notebooks like the Asus E202SA and the Asus X555UB have a
> separate ACPI device for notifications from the airplane mode hotkey.
> This device is called "Wireless Radio Control" in Asus websites and ASHS
> in the DSDT, and its ACPI _HID is ATK4002 in the two models mentioned
> above.
> 
> For these models, when the airplane mode hotkey (Fn+F2) is pressed, a
> query 0x0B is started in the Embedded Controller, and all this query does
> is a notify ASHS with the value 0x88 (for acpi_osi >= "Windows 2012"):
> 
> 	Scope (_SB.PCI0.SBRG.EC0)
> 	{
> 		(...)
> 		Method (_Q0B, 0, NotSerialized)  // _Qxx: EC Query
> 		{
> 			If ((MSOS () >= OSW8))
> 			{
> 				Notify (ASHS, 0x88) // Device-Specific
> 			}
> 			Else
> 			{
> 				(...)
> 			}
> 		}
> 	}
> 
> Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

Queued to testing, thanks!

-- 
Darren Hart
Intel Open Source Technology Center

  reply	other threads:[~2016-01-05 17:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-05 13:25 [PATCH 0/2] Asus Wireless Radio Control driver João Paulo Rechi Vita
2016-01-05 13:26 ` [PATCH 1/2] platform/x86: Add " João Paulo Rechi Vita
2016-01-05 13:50   ` Andy Shevchenko
2016-01-05 16:16     ` [PATCH] " João Paulo Rechi Vita
2016-01-05 17:26       ` Darren Hart [this message]
2016-01-05 13:26 ` [PATCH 2/2] asus-wireless: Add ACPI HID ATK4001 João Paulo Rechi Vita
2016-01-05 17:27   ` Darren Hart
2016-01-05 13:58 ` [PATCH 0/2] Asus Wireless Radio Control driver Andy Shevchenko
2016-01-05 16:18   ` João Paulo Rechi Vita
2016-01-05 17:18   ` Darren Hart

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=20160105172623.GG4219@malice.jf.intel.com \
    --to=dvhart@infradead.org \
    --cc=acpi4asus-user@lists.sourceforge.net \
    --cc=andy.shevchenko@gmail.com \
    --cc=corentin.chary@gmail.com \
    --cc=jprvita@endlessm.com \
    --cc=jprvita@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /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