[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 Reported-by: Tasev Nikola --- drivers/platform/x86/asus-wrc.c | 1 + 1 file changed, 1 insertion(+)

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

2015-12-15 Thread João Paulo Rechi Vita
For platform drivers to be able to correctly drive the "Airplane Mode" indicative LED there needs to be a RFKill LED trigger tied to the global state of RFKILL_TYPE_ALL (instead of to a specific RFKill) and that works in an inverted manner of regular RFKill LED triggers, that is, the LED is ON when

[RFC 0/4] Asus Wireless Radio Control driver

2015-12-15 Thread João Paulo Rechi Vita
This series is a request for comments on the driver for the "Asus Wireless Radio Control" device, as named on the vendor website, which handles notifications from the airplane mode hotkey and drives the airplane mode indicator LED. This device appears in the DSDT as "ASHS". When the airplane mode

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

2015-12-15 Thread João Paulo Rechi Vita
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

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

2015-12-15 Thread João Paulo Rechi Vita
In the ASHS device we have the HSWC method, which basically calls either OWGD or OWGS, depending on its parameter: Device (ASHS) { Name (_HID, "ATK4002") // _HID: Hardware ID Method (HSWC, 1, Serialized) { If

Re: [PATCH] Keyboard backlight control for some Vaio Fit models

2015-12-15 Thread Darren Hart
On Mon, Dec 14, 2015 at 09:12:32PM -0800, Mattia Dongili wrote: > SVF1521P6EW, SVF1521DCXW, SVF13N1L2ES and likely most SVF*. > do not expose separate timeout controls in auto mode. > > Signed-off-by: Dominik Matta > Signed-off-by: Mattia Dongili > --- > drivers/platform/x86/sony-laptop.c | 65

"special" key when Lenovo Yoga 900 in tablet mode

2015-12-15 Thread Nish Aravamudan
So the Lenovo Yoga 900 has 4 "modes" (laptop, tent, stand and tablet). In tablet mode, it appears that the following is printed roughly every second: atkbd serio0: Unknown key pressed (translated set 2, code 0xbf on isa0060/serio0). atkbd serio0: Use 'setkeycodes e03f ' to make it known. ideapad_l

[PATCH] ideapad: Report hard block off if it is never on

2015-12-15 Thread Ike Panhc
Hardware radio switch is rare on recently ideapad and some of them reported radio hardware blocked by error. With more and more ideapads available in market to maintain the dmi table becomes a never-finished job. Therefore I am thinking an easy way to detect by response from hardware. This patch w