Last active
November 11, 2015 16:15
-
-
Save tmacedo/016a3d0fae9e3d87a1dd to your computer and use it in GitHub Desktop.
macbook.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c | |
--- a/drivers/hid/hid-apple.c 2014-12-07 23:21:05.000000000 +0100 | |
+++ b/drivers/hid/hid-apple.c 2015-04-16 16:18:35.009726041 +0200 | |
@@ -535,6 +535,8 @@ | |
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7_JIS), | |
.driver_data = APPLE_HAS_FN | APPLE_RDESC_JIS }, | |
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_ANSI), | |
+ .driver_data = APPLE_HAS_FN }, | |
+ { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_NEW), | |
.driver_data = APPLE_HAS_FN }, | |
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_ISO), | |
.driver_data = APPLE_HAS_FN | APPLE_ISO_KEYBOARD }, | |
diff -Naur a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c | |
--- a/drivers/hid/hid-core.c 2015-04-16 16:19:35.459725090 +0200 | |
+++ a/drivers/hid/hid-core.c 2015-04-16 16:18:35.009726041 +0200 | |
@@ -1746,6 +1746,7 @@ | |
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7_ISO) }, | |
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7_JIS) }, | |
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_ANSI) }, | |
+ { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_NEW) }, | |
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_ISO) }, | |
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_JIS) }, | |
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING8_ANSI) }, | |
diff -Naur a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h | |
--- a/drivers/hid/hid-ids.h 2015-04-16 16:19:35.459725090 +0200 | |
+++ b/drivers/hid/hid-ids.h 2015-04-16 16:18:35.009726041 +0200 | |
@@ -122,6 +122,7 @@ | |
#define USB_DEVICE_ID_APPLE_WELLSPRING5A_ISO 0x0253 | |
#define USB_DEVICE_ID_APPLE_WELLSPRING5A_JIS 0x0254 | |
#define USB_DEVICE_ID_APPLE_WELLSPRING7A_ANSI 0x0259 | |
+#define USB_DEVICE_ID_APPLE_WELLSPRING7A_NEW 0x0273 | |
#define USB_DEVICE_ID_APPLE_WELLSPRING7A_ISO 0x025a | |
#define USB_DEVICE_ID_APPLE_WELLSPRING7A_JIS 0x025b | |
#define USB_DEVICE_ID_APPLE_WELLSPRING6A_ANSI 0x0249 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment