Re: [PATCH 1/1] ideapad-laptop: Handle Yoga in tablet mode

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

 



On Fri, Apr 01, 2016 at 11:02:49PM +0200, Christian Hesse wrote:
> From: Christian Hesse <mail@xxxxxxxx>
> 
> When Lenovo Yoga 700 is flipped to tablet mode it emmits event 10. Let's
> send touchpad key codes so software can disable touchpad.
> 
> Signed-off-by: Christian Hesse <mail@xxxxxxxx>
> Signed-off-by: Michael Gisbers <michael@xxxxxxxxxx>

Queued, thanks.

> ---
>  drivers/platform/x86/ideapad-laptop.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
> index be3bc2f..1d49db1 100644
> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -809,6 +809,7 @@ static void ideapad_acpi_notify(acpi_handle handle, u32 event, void *data)
>  			case 6:
>  				ideapad_input_report(priv, vpc_bit);
>  				break;
> +			case 10:
>  			case 5:
>  				ideapad_sync_touchpad_state(priv);
>  				break;
> -- 
> 2.8.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux