diff options
author | João Paulo Rechi Vita <jprvita@gmail.com> | 2016-01-05 16:16:53 (GMT) |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2016-01-20 01:35:46 (GMT) |
commit | f6a6bbae0471fdfb824a86d1808eae33e8819254 (patch) | |
tree | 0cf526582eba31b0d5d596efd93f3909f4bdf0c8 /kernel/up.c | |
parent | f5b3f66548b72f8ab77fea5867bd45ad91ed2143 (diff) | |
download | linux-f6a6bbae0471fdfb824a86d1808eae33e8819254.tar.xz |
platform/x86: Add Asus Wireless Radio Control driver
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>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions