From c3d90048f0786b8af71da33d1b7e21f8563ae85b Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sep 20 2011 09:57:18 +0000 Subject: Fix MacBookAir4,1 keymap, see http://thread.gmane.org/gmane.linux.kernel.input/21462/focus=21626 --- 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