# apply kernel patches
cd kernel
git status kernel/power/suspend.c | tail -1 | grep -q 'nothing to commit' && git apply "$MYDIR/kernel-suspend.patch"
+git status drivers/platform/x86/thinkpad_acpi.c | tail -1 | grep -q 'nothing to commit' && git apply "$MYDIR/thinkpad_acpi.patch"
cd ..
[ -e buildspec.mk ] || cp "$MYDIR/buildspec.mk" buildspec.mk
--- /dev/null
+diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
+index 26c5b11..fa34792 100644
+--- a/drivers/platform/x86/thinkpad_acpi.c
++++ b/drivers/platform/x86/thinkpad_acpi.c
+@@ -3769,6 +3769,7 @@ static void hotkey_resume(void)
+ "firmware interface\n");
+
+ tpacpi_send_radiosw_update();
++ tpacpi_input_send_tabletsw();
+ hotkey_tablet_mode_notify_change();
+ hotkey_wakeup_reason_notify_change();
+ hotkey_wakeup_hotunplug_complete_notify_change();