[kernel/f16] Fix MacBookAir4, 1 keymap, see http://thread.gmane.org/gmane.linux.kernel.input/21462/focus=21626
Bastien Nocera
hadess at fedoraproject.org
Tue Sep 20 09:57:09 UTC 2011
commit 1340c63c42c1dc3b9054263e8d742239995ade96
Author: Bastien Nocera <hadess at hadess.net>
Date: Tue Sep 20 10:56:56 2011 +0100
Fix MacBookAir4,1 keymap, see http://thread.gmane.org/gmane.linux.kernel.input/21462/focus=21626
add-macbookair41-keyboard.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/add-macbookair41-keyboard.patch b/add-macbookair41-keyboard.patch
index cb8c71d..bd5afda 100644
--- a/add-macbookair41-keyboard.patch
+++ b/add-macbookair41-keyboard.patch
@@ -59,7 +59,7 @@ diff -uNr linux/drivers/hid/hid-apple.c patched/drivers/hid/hid-apple.c
table = macbookair_fn_keys;
+ else if (hid->product >= USB_DEVICE_ID_APPLE_WELLSPRING6A_ANSI &&
+ hid->product <= USB_DEVICE_ID_APPLE_WELLSPRING6A_JIS)
-+ table = macbookair_fn_keys;
++ table = apple_fn_keys;
else if (hid->product < 0x21d || hid->product >= 0x300)
table = powerbook_fn_keys;
else
More information about the scm-commits
mailing list