]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
save and restore adaptive keyboard mode for suspend and,resume
authorShuduo Sang <shuduo.sang@canonical.com>
Thu, 27 Mar 2014 10:06:25 +0000 (18:06 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sun, 6 Apr 2014 16:58:14 +0000 (12:58 -0400)
commit330947b84382479459e5296a0024c670367b0b57
treed6ac43bcab6bd149656452c6fbb397552ec69cbe
parent3a9d20bda1d6daae9d81a4cc4cc67238c5574d31
save and restore adaptive keyboard mode for suspend and,resume

Dan Aloni has submitted a patch to set adaptive mode to function mode
when system resume back. Thanks Dan. :)

Following patch can make it to be restored to previous mode like What
Windows does.

Thanks,
Shuduo

>From 0ca960138518ceab23110141a0d7c0cafd54a859 Mon Sep 17 00:00:00 2001
From: Shuduo Sang <shuduo.sang@canonical.com>
Date: Thu, 27 Mar 2014 17:51:24 +0800
Subject: [PATCH] save and restore adaptive keyboard mode for suspend and
 resume

The mode of adaptive keyboard on X1 Carbon need be saved first before
suspend then it can be restored after resume. Otherwise it will be
unusable.

Signed-off-by: Bruce Ma <bruce.ma@canonical.com>
Signed-off-by: Shuduo Sang <shuduo.sang@canonical.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/thinkpad_acpi.c