[PATCH] platform/x86: Add Asus Wireless Radio Control driver

2016-01-05 Thread João Paulo Rechi Vita
Else { (...) } } } Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> Reviewed-by: Andy Shevchenko <andy.shevche...@gmail.com> --- MAINTAINERS | 6 +++ dri

Re: [PATCH 0/2] Asus Wireless Radio Control driver

2016-01-05 Thread João Paulo Rechi Vita
On 5 January 2016 at 08:58, Andy Shevchenko <andy.shevche...@gmail.com> wrote: > On Tue, Jan 5, 2016 at 3:25 PM, João Paulo Rechi Vita <jprv...@gmail.com> > wrote: >> This series implements the driver for the "Asus Wireless Radio Control" >> device,

[PATCH 0/2] Asus Wireless Radio Control driver

2016-01-05 Thread João Paulo Rechi Vita
the series and move the commits that drive the LED to a separate series, so this part can be merged without waiting for feedback on the new airplane mode RFKill LED trigger. Regards, Joao Paulo João Paulo Rechi Vita (2): platform/x86: Add Asus Wireless Radio Control driver asus-wireless:

[PATCH 1/2] platform/x86: Add Asus Wireless Radio Control driver

2016-01-05 Thread João Paulo Rechi Vita
Else { (...) } } } Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> --- MAINTAINERS | 6 +++ drivers/platform/x86/Kconfig | 15 +++ drivers/platform/x86/Makefile

[PATCH 2/2] asus-wireless: Add ACPI HID ATK4001

2016-01-05 Thread João Paulo Rechi Vita
As reported in https://bugzilla.kernel.org/show_bug.cgi?id=98931#c22 in the Asus UX31A the Asus Wireless Radio Control device (ASHS) uses the HID "ATK4001". Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> Reported-by: Tasev Nikola <tasev.stefano...@skynet.be> ---

Re: [PATCH 1/4] platform/x86: Add Asus Wireless Radio Control driver

2016-01-05 Thread João Paulo Rechi Vita
On 27 December 2015 at 08:21, Andy Shevchenko <andy.shevche...@gmail.com> wrote: > On Sat, Dec 26, 2015 at 4:56 PM, João Paulo Rechi Vita > <jprv...@gmail.com> wrote: >> Some Asus notebooks like the Asus E202SA and the Asus X555UB have a >> separate ACPI device for n

Re: [PATCH 4/4] asus-wireless: Toggle airplane mode LED

2016-01-05 Thread João Paulo Rechi Vita
On 27 December 2015 at 08:32, Andy Shevchenko <andy.shevche...@gmail.com> wrote: > On Sat, Dec 26, 2015 at 4:56 PM, João Paulo Rechi Vita > <jprv...@gmail.com> wrote: >> In the ASHS device we have the HSWC method, which basically calls either >> OWGD or OW

[PATCH 1/2] asus-wireless: Toggle airplane mode LED

2016-01-05 Thread João Paulo Rechi Vita
Mode", there is, when all radios are blocked. Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> --- drivers/platform/x86/Kconfig | 2 + drivers/platform/x86/asus-wireless.c | 92 +++- 2 files changed, 93 insertions(+), 1 deletion(-) d

[PATCH 2/2] asus-wmi: Create quirk for airplane_mode LED

2016-01-05 Thread João Paulo Rechi Vita
vice-versa. This commit creates a quirk to no register a RFKill switch at all for these laptops, to allow the asus-wireless driver to drive the airplane mode LED correctly. Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> --- drivers/platform/x86/as

[PATCH 0/2] asus-wireless: Drive airplane mode LED

2016-01-05 Thread João Paulo Rechi Vita
because it also tries to drive the same LED on laptops where the BIOS reports it does not save the WLAN LED state. João Paulo Rechi Vita (2): asus-wireless: Toggle airplane mode LED asus-wmi: Create quirk for airplane_mode LED drivers/platform/x86/Kconfig | 2 + drivers/platform/x86

[PATCH 1/2] asus-wireless: Toggle airplane mode LED

2016-01-05 Thread João Paulo Rechi Vita
Mode", there is, when all radios are blocked. Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> --- drivers/platform/x86/Kconfig | 2 + drivers/platform/x86/asus-wireless.c | 92 +++- 2 files changed, 93 insertions(+), 1 deletion(-) d

[PATCH 3/4] net/rfkill: Create "airplane mode" LED trigger

2015-12-26 Thread João Paulo Rechi Vita
s, the LED is ON when the state is blocked, and OFF otherwise. This commit implements such a trigger, which will be used by the asus-wrc x86 platform driver. Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> --- net/rfkill/core.c | 30 ++ 1 file changed, 30 ins

[PATCH 4/4] asus-wireless: Toggle airplane mode LED

2015-12-26 Thread João Paulo Rechi Vita
Mode", there is, when all radios are blocked. Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> --- drivers/platform/x86/Kconfig | 2 + drivers/platform/x86/asus-wireless.c | 81 2 files changed, 83 insertions(+) diff --git

[PATCH 1/4] platform/x86: Add Asus Wireless Radio Control driver

2015-12-26 Thread João Paulo Rechi Vita
Else { (...) } } } Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> --- MAINTAINERS | 6 ++ drivers/platform/x86/Kconfig | 15 + drivers/platform/x86/Makefile

[RFCv2 0/4] Asus Wireless Radio Control driver

2015-12-26 Thread João Paulo Rechi Vita
ch to linux-wireless for feedback and integration later today. Regards, Joao Paulo João Paulo Rechi Vita (4): platform/x86: Add Asus Wireless Radio Control driver asus-wireless: Add ACPI HID ATK4001 net/rfkill: Create "airplane mode" LED trigger asus-wireless: Toggle a

Re: [PATCH 2/4] asus-wrc: Add ACPI HID ATK4001

2015-12-20 Thread João Paulo Rechi Vita
On 19 December 2015 at 01:40, Darren Hart <dvh...@infradead.org> wrote: > On Tue, Dec 15, 2015 at 10:30:40AM -0500, João Paulo Rechi Vita wrote: >> As reported in https://bugzilla.kernel.org/show_bug.cgi?id=98931#c22 in >> the Asus UX31A the "Asus Wireless Radio C

Re: [RFC 0/4] Asus Wireless Radio Control driver

2015-12-20 Thread João Paulo Rechi Vita
On 19 December 2015 at 03:00, Darren Hart <dvh...@infradead.org> wrote: > On Tue, Dec 15, 2015 at 10:30:38AM -0500, João Paulo Rechi Vita wrote: >> This series is a request for comments on the driver for the "Asus Wireless >> Radio Control" device, as named on th

Re: [PATCH 1/4] platform/x86: Add Asus Wireless Radio Control driver

2015-12-20 Thread João Paulo Rechi Vita
On 19 December 2015 at 02:23, Darren Hart <dvh...@infradead.org> wrote: > On Tue, Dec 15, 2015 at 10:30:39AM -0500, João Paulo Rechi Vita wrote: > > ... > >> +static void asus_wrc_notify(struct acpi_device *device, u32 event) >> +{ >> + struct asus_wrc_

Re: [PATCH 1/4] platform/x86: Add Asus Wireless Radio Control driver

2015-12-20 Thread João Paulo Rechi Vita
On 19 December 2015 at 01:39, Darren Hart <dvh...@infradead.org> wrote: > On Tue, Dec 15, 2015 at 10:30:39AM -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

Re: [PATCH 3/4] net/rfkill: Create "airplane mode" LED trigger

2015-12-18 Thread João Paulo Rechi Vita
On 18 December 2015 at 19:22, Darren Hart <dvh...@infradead.org> wrote: > On Tue, Dec 15, 2015 at 10:30:41AM -0500, João Paulo Rechi Vita wrote: >> For platform drivers to be able to correctly drive the "Airplane Mode" >> indicative LED there needs to be a RFKill

Re: [PATCH 1/1] asus-wireless: New driver for asus wireless button

2015-12-18 Thread João Paulo Rechi Vita
expected? In one of the systems I have access to there is a conflict with asus-wmi (Asus re-used the previous WLAN LED id for this one) and the LED is inverted. Thanks and best regards, -- João Paulo Rechi Vita http://about.me/jprvita -- To unsubscribe from this list: send the line "unsubscri

[PATCH 3/4] net/rfkill: Create "airplane mode" LED trigger

2015-12-15 Thread João Paulo Rechi Vita
s, the LED is ON when the state is blocked, and OFF otherwise. This commit implements such a trigger, which will be used by the asus-wrc x86 platform driver. Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> --- net/rfkill/core.c | 30 ++ 1 file changed, 30 ins

[RFC 0/4] Asus Wireless Radio Control driver

2015-12-15 Thread João Paulo Rechi Vita
ix the mentioned bug report. Regards, Joao Paulo. João Paulo Rechi Vita (4): platform/x86: Add Asus Wireless Radio Control driver asus-wrc: Add ACPI HID ATK4001 net/rfkill: Create "airplane mode" LED trigger asus-wrc: Toggle airplane mode LED MAINTAINERS

[PATCH 1/4] platform/x86: Add Asus Wireless Radio Control driver

2015-12-15 Thread João Paulo Rechi Vita
Else { (...) } } } Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> --- MAINTAINERS | 6 ++ drivers/platform/x86/Kconfig| 15 + drivers/platform/x86/Makefile | 1 +

[PATCH 4/4] asus-wrc: Toggle airplane mode LED

2015-12-15 Thread João Paulo Rechi Vita
Mode", there is, when all radios are blocked. Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> --- drivers/platform/x86/asus-wrc.c | 81 + 1 file changed, 81 insertions(+) diff --git a/drivers/platform/x86/asus-wrc.c b/drivers/platf

[PATCH 2/4] asus-wrc: Add ACPI HID ATK4001

2015-12-15 Thread João Paulo Rechi Vita
As reported in https://bugzilla.kernel.org/show_bug.cgi?id=98931#c22 in the Asus UX31A the "Asus Wireless Radio Control" device (ASHS) uses the HID "ATK4001". Signed-off-by: João Paulo Rechi Vita <jprv...@endlessm.com> Reported-by: Tasev Nikola <tasev.stefano...@sky