All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ideapad-laptop: Handle Yoga in tablet mode
@ 2016-04-01 21:02 Christian Hesse
  2016-05-05 23:42 ` Darren Hart
  0 siblings, 1 reply; 19+ messages in thread
From: Christian Hesse @ 2016-04-01 21:02 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: Darren Hart, Ike Panhc, Michael Gisbers, Christian Hesse

From: Christian Hesse <mail@eworm.de>

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@eworm.de>
Signed-off-by: Michael Gisbers <michael@gisbers.de>
---
 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

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-06-06 16:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01 21:02 [PATCH 1/1] ideapad-laptop: Handle Yoga in tablet mode Christian Hesse
2016-05-05 23:42 ` Darren Hart
2016-05-16 16:04   ` João Paulo Rechi Vita
2016-05-19  9:17     ` Maxim Mikityanskiy
2016-05-24 20:32       ` João Paulo Rechi Vita
2016-05-25  6:26         ` Maxim Mikityanskiy
2016-05-25 16:03           ` João Paulo Rechi Vita
2016-05-26 19:44             ` Maxim Mikityanskiy
2016-05-31 22:43               ` João Paulo Rechi Vita
2016-05-31 23:21                 ` [PATCH] ideadpad: Runtime check for hw touchpad control João Paulo Rechi Vita
2016-05-31 23:25                   ` João Paulo Rechi Vita
2016-05-31 23:27                     ` João Paulo Rechi Vita
2016-06-01  4:37                   ` Maxim Mikityanskiy
2016-06-02 14:30                     ` João Paulo Rechi Vita
2016-06-01  4:37                 ` [PATCH 1/1] ideapad-laptop: Handle Yoga in tablet mode Maxim Mikityanskiy
2016-06-02 14:38                   ` João Paulo Rechi Vita
2016-06-02 18:10                     ` Maxim Mikityanskiy
2016-06-06 16:25                       ` João Paulo Rechi Vita
2016-05-27 18:51         ` Darren Hart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.