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> --- 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