Re: [PATCH v4 2/2] platform/x86: acer-wmi: add another KEY_WLAN keycode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 08, 2017 at 07:51:41AM -0600, Daniel Drake wrote:
> From: Chris Chiu <chiu@xxxxxxxxxxxx>
> 
> Now that we have informed the firmware that the RF Button driver is
> active, laptops such as the Acer TravelMate P238-M will generate
> a WMI key event with code 0x86 when the Fn+F3 airplane mode key is
> pressed.
> 
> Add this keycode to the table so that it is converted to an appropriate
> input event.
> 
> Signed-off-by: Chris Chiu <chiu@xxxxxxxxxxxx>
> Signed-off-by: Daniel Drake <drake@xxxxxxxxxxxx>

Reviewed-by: Lee, Chun-Yi <jlee@xxxxxxxx>


Thanks for your patches!

Joey Lee

> ---
>  drivers/platform/x86/acer-wmi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> v3: split off this change from the original patch
> 
> diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
> index 3795d3f..0568c1a 100644
> --- a/drivers/platform/x86/acer-wmi.c
> +++ b/drivers/platform/x86/acer-wmi.c
> @@ -128,6 +128,7 @@ static const struct key_entry acer_wmi_keymap[] __initconst = {
>  	{KE_KEY, KEY_TOUCHPAD_OFF, {KEY_TOUCHPAD_OFF} },
>  	{KE_IGNORE, 0x83, {KEY_TOUCHPAD_TOGGLE} },
>  	{KE_KEY, 0x85, {KEY_TOUCHPAD_TOGGLE} },
> +	{KE_KEY, 0x86, {KEY_WLAN} },
>  	{KE_END, 0}
>  };
>  
> -- 
> 2.9.3
> 



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux